Bazaar developer reference

CvCity::getFeatureProduction() const

Defined in
CvCity.cpp, line 9315
Class
CvCity
Hook name
CivHooks::CvCity_getFeatureProduction

Hooks

static bool BeforeCvCity_getFeatureProduction(const CvCity* self, int& result);static void AfterCvCity_getFeatureProduction(const CvCity* self, int& result);static int ReplaceCvCity_getFeatureProduction(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getFeatureProduction>(host, &BeforeCvCity_getFeatureProduction);CivRegisterAfter<CivHooks::CvCity_getFeatureProduction>(host, &AfterCvCity_getFeatureProduction);CivRegisterReplace<CivHooks::CvCity_getFeatureProduction>(host, &ReplaceCvCity_getFeatureProduction);

Code

9315int CvCity::getFeatureProduction() const9316{9317	VALIDATE_OBJECT9318	return m_iFeatureProduction;9319}

Calls

Called by