Hooks
static bool BeforeCvCity_getMaxFoodKeptPercent(const CvCity* self, int& result);static void AfterCvCity_getMaxFoodKeptPercent(const CvCity* self, int& result);static int ReplaceCvCity_getMaxFoodKeptPercent(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getMaxFoodKeptPercent>(host, &BeforeCvCity_getMaxFoodKeptPercent);CivRegisterAfter<CivHooks::CvCity_getMaxFoodKeptPercent>(host, &AfterCvCity_getMaxFoodKeptPercent);CivRegisterReplace<CivHooks::CvCity_getMaxFoodKeptPercent>(host, &ReplaceCvCity_getMaxFoodKeptPercent);