Hooks
static bool BeforeCvPlayer_GetCityCountUnhappinessMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetCityCountUnhappinessMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetCityCountUnhappinessMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCityCountUnhappinessMod>(host, &BeforeCvPlayer_GetCityCountUnhappinessMod);CivRegisterAfter<CivHooks::CvPlayer_GetCityCountUnhappinessMod>(host, &AfterCvPlayer_GetCityCountUnhappinessMod);CivRegisterReplace<CivHooks::CvPlayer_GetCityCountUnhappinessMod>(host, &ReplaceCvPlayer_GetCityCountUnhappinessMod);