Hooks
static bool BeforeCvPlayer_getAveragePopulation(const CvPlayer* self, int& result);static void AfterCvPlayer_getAveragePopulation(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getAveragePopulation(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getAveragePopulation>(host, &BeforeCvPlayer_getAveragePopulation);CivRegisterAfter<CivHooks::CvPlayer_getAveragePopulation>(host, &AfterCvPlayer_getAveragePopulation);CivRegisterReplace<CivHooks::CvPlayer_getAveragePopulation>(host, &ReplaceCvPlayer_getAveragePopulation);