Bazaar developer reference

CvCity::getExtraProductionDifference(int) const

Defined in
CvCity.cpp, line 5890
Class
CvCity
Hook name
CivHooks::CvCity_getExtraProductionDifference

Hooks

static bool BeforeCvCity_getExtraProductionDifference(const CvCity* self, int iExtra, int& result);static void AfterCvCity_getExtraProductionDifference(const CvCity* self, int iExtra, int& result);static int ReplaceCvCity_getExtraProductionDifference(int (*original)(const CvCity*, int), const CvCity* self, int iExtra);CivRegisterBefore<CivHooks::CvCity_getExtraProductionDifference>(host, &BeforeCvCity_getExtraProductionDifference);CivRegisterAfter<CivHooks::CvCity_getExtraProductionDifference>(host, &AfterCvCity_getExtraProductionDifference);CivRegisterReplace<CivHooks::CvCity_getExtraProductionDifference>(host, &ReplaceCvCity_getExtraProductionDifference);

Code

5890int CvCity::getExtraProductionDifference(int iExtra) const5891{5892	VALIDATE_OBJECT5893	return getExtraProductionDifference(iExtra, getProductionModifier());5894}

Calls

Called by