Hooks
static bool BeforeCvPlayer_GetCapitalUnhappinessMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetCapitalUnhappinessMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetCapitalUnhappinessMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCapitalUnhappinessMod>(host, &BeforeCvPlayer_GetCapitalUnhappinessMod);CivRegisterAfter<CivHooks::CvPlayer_GetCapitalUnhappinessMod>(host, &AfterCvPlayer_GetCapitalUnhappinessMod);CivRegisterReplace<CivHooks::CvPlayer_GetCapitalUnhappinessMod>(host, &ReplaceCvPlayer_GetCapitalUnhappinessMod);