Bazaar developer reference

CvPlot::setImprovementDuration(int)

Defined in
CvPlot.cpp, line 4795
Class
CvPlot
Hook name
CivHooks::CvPlot_setImprovementDuration

Hooks

static bool BeforeCvPlot_setImprovementDuration(CvPlot* self, int iNewValue);static void AfterCvPlot_setImprovementDuration(CvPlot* self, int iNewValue);static void ReplaceCvPlot_setImprovementDuration(void (*original)(CvPlot*, int), CvPlot* self, int iNewValue);CivRegisterBefore<CivHooks::CvPlot_setImprovementDuration>(host, &BeforeCvPlot_setImprovementDuration);CivRegisterAfter<CivHooks::CvPlot_setImprovementDuration>(host, &AfterCvPlot_setImprovementDuration);CivRegisterReplace<CivHooks::CvPlot_setImprovementDuration>(host, &ReplaceCvPlot_setImprovementDuration);

Code

4795void CvPlot::setImprovementDuration(int iNewValue)4796{4797	m_iImprovementDuration = iNewValue;4798	CvAssert(getImprovementDuration() >= 0);4799}

Called by