Bazaar developer reference

CvPlot::changeCityRadiusCount(int)

Defined in
CvPlot.cpp, line 4969
Class
CvPlot
Hook name
CivHooks::CvPlot_changeCityRadiusCount

Hooks

static bool BeforeCvPlot_changeCityRadiusCount(CvPlot* self, int iChange);static void AfterCvPlot_changeCityRadiusCount(CvPlot* self, int iChange);static void ReplaceCvPlot_changeCityRadiusCount(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeCityRadiusCount>(host, &BeforeCvPlot_changeCityRadiusCount);CivRegisterAfter<CivHooks::CvPlot_changeCityRadiusCount>(host, &AfterCvPlot_changeCityRadiusCount);CivRegisterReplace<CivHooks::CvPlot_changeCityRadiusCount>(host, &ReplaceCvPlot_changeCityRadiusCount);

Code

4969void CvPlot::changeCityRadiusCount(int iChange)4970{4971	m_iCityRadiusCount = (m_iCityRadiusCount + iChange);4972	CvAssert(getCityRadiusCount() >= 0);4973}

Called by