Hooks
static bool BeforeCvPlayer_SetHappinessPerXPopulation(CvPlayer* self, int iValue);static void AfterCvPlayer_SetHappinessPerXPopulation(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetHappinessPerXPopulation(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetHappinessPerXPopulation>(host, &BeforeCvPlayer_SetHappinessPerXPopulation);CivRegisterAfter<CivHooks::CvPlayer_SetHappinessPerXPopulation>(host, &AfterCvPlayer_SetHappinessPerXPopulation);CivRegisterReplace<CivHooks::CvPlayer_SetHappinessPerXPopulation>(host, &ReplaceCvPlayer_SetHappinessPerXPopulation);