Bazaar developer reference

CvCity::getPlotCultureCostModifier() const

Defined in
CvCity.cpp, line 9019
Class
CvCity
Hook name
CivHooks::CvCity_getPlotCultureCostModifier

Hooks

static bool BeforeCvCity_getPlotCultureCostModifier(const CvCity* self, int& result);static void AfterCvCity_getPlotCultureCostModifier(const CvCity* self, int& result);static int ReplaceCvCity_getPlotCultureCostModifier(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getPlotCultureCostModifier>(host, &BeforeCvCity_getPlotCultureCostModifier);CivRegisterAfter<CivHooks::CvCity_getPlotCultureCostModifier>(host, &AfterCvCity_getPlotCultureCostModifier);CivRegisterReplace<CivHooks::CvCity_getPlotCultureCostModifier>(host, &ReplaceCvCity_getPlotCultureCostModifier);

Code

9019int CvCity::getPlotCultureCostModifier() const9020{9021	VALIDATE_OBJECT9022	return m_iPlotCultureCostModifier;9023}

Calls