Bazaar developer reference

CvCity::getFoodKept() const

Defined in
CvCity.cpp, line 9222
Class
CvCity
Hook name
CivHooks::CvCity_getFoodKept

Hooks

static bool BeforeCvCity_getFoodKept(const CvCity* self, int& result);static void AfterCvCity_getFoodKept(const CvCity* self, int& result);static int ReplaceCvCity_getFoodKept(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getFoodKept>(host, &BeforeCvCity_getFoodKept);CivRegisterAfter<CivHooks::CvCity_getFoodKept>(host, &AfterCvCity_getFoodKept);CivRegisterReplace<CivHooks::CvCity_getFoodKept>(host, &ReplaceCvCity_getFoodKept);

Code

9222int CvCity::getFoodKept() const9223{9224	VALIDATE_OBJECT9225	return m_iFoodKept;9226}

Calls

Called by