Bazaar developer reference

CvCity::getPlotBuyCostModifier() const

Defined in
CvCity.cpp, line 9035
Class
CvCity
Hook name
CivHooks::CvCity_getPlotBuyCostModifier

Hooks

static bool BeforeCvCity_getPlotBuyCostModifier(const CvCity* self, int& result);static void AfterCvCity_getPlotBuyCostModifier(const CvCity* self, int& result);static int ReplaceCvCity_getPlotBuyCostModifier(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getPlotBuyCostModifier>(host, &BeforeCvCity_getPlotBuyCostModifier);CivRegisterAfter<CivHooks::CvCity_getPlotBuyCostModifier>(host, &AfterCvCity_getPlotBuyCostModifier);CivRegisterReplace<CivHooks::CvCity_getPlotBuyCostModifier>(host, &ReplaceCvCity_getPlotBuyCostModifier);

Code

9035int CvCity::getPlotBuyCostModifier() const9036{9037	VALIDATE_OBJECT9038	return m_iPlotBuyCostModifier;9039}

Called by