Hooks
static bool BeforeCvPlayer_GetHappinessPerXPopulation(const CvPlayer* self, int& result);static void AfterCvPlayer_GetHappinessPerXPopulation(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetHappinessPerXPopulation(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetHappinessPerXPopulation>(host, &BeforeCvPlayer_GetHappinessPerXPopulation);CivRegisterAfter<CivHooks::CvPlayer_GetHappinessPerXPopulation>(host, &AfterCvPlayer_GetHappinessPerXPopulation);CivRegisterReplace<CivHooks::CvPlayer_GetHappinessPerXPopulation>(host, &ReplaceCvPlayer_GetHappinessPerXPopulation);