Bazaar developer reference

CvCity::getOverflowProduction() const

Defined in
CvCity.cpp, line 9262
Class
CvCity
Hook name
CivHooks::CvCity_getOverflowProduction

Hooks

static bool BeforeCvCity_getOverflowProduction(const CvCity* self, int& result);static void AfterCvCity_getOverflowProduction(const CvCity* self, int& result);static int ReplaceCvCity_getOverflowProduction(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getOverflowProduction>(host, &BeforeCvCity_getOverflowProduction);CivRegisterAfter<CivHooks::CvCity_getOverflowProduction>(host, &AfterCvCity_getOverflowProduction);CivRegisterReplace<CivHooks::CvCity_getOverflowProduction>(host, &ReplaceCvCity_getOverflowProduction);

Code

9262int CvCity::getOverflowProduction() const9263{9264	VALIDATE_OBJECT9265	return m_iOverflowProduction / 100;9266}

Calls

Called by