Hooks
static bool BeforeCvDllCity_GetFoodTurnsLeft(const CvDllCity* self, int& result);static void AfterCvDllCity_GetFoodTurnsLeft(const CvDllCity* self, int& result);static int ReplaceCvDllCity_GetFoodTurnsLeft(int (*original)(const CvDllCity*), const CvDllCity* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetFoodTurnsLeft::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetFoodTurnsLeft);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetFoodTurnsLeft::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetFoodTurnsLeft);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetFoodTurnsLeft::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetFoodTurnsLeft);