Bazaar developer reference

CvDllCity::FoodDifference(bool) const

Defined in
CvDllCity.cpp, line 158
Class
CvDllCity
Hook name
CivHooks::CvDllCity_FoodDifference

Hooks

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

Code

158int CvDllCity::FoodDifference(bool bBottom) const159{160	return m_pCity->foodDifference(bBottom);161}

Calls