Bazaar developer reference

CvPlot::changeImprovementDuration(int)

Defined in
CvPlot.cpp, line 4803
Class
CvPlot
Hook name
CivHooks::CvPlot_changeImprovementDuration

Hooks

static bool BeforeCvPlot_changeImprovementDuration(CvPlot* self, int iChange);static void AfterCvPlot_changeImprovementDuration(CvPlot* self, int iChange);static void ReplaceCvPlot_changeImprovementDuration(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeImprovementDuration>(host, &BeforeCvPlot_changeImprovementDuration);CivRegisterAfter<CivHooks::CvPlot_changeImprovementDuration>(host, &AfterCvPlot_changeImprovementDuration);CivRegisterReplace<CivHooks::CvPlot_changeImprovementDuration>(host, &ReplaceCvPlot_changeImprovementDuration);

Code

4803void CvPlot::changeImprovementDuration(int iChange)4804{4805	setImprovementDuration(getImprovementDuration() + iChange);4806}

Calls

Called by