Bazaar developer reference

CvPlot::setUpgradeProgress(int)

Defined in
CvPlot.cpp, line 4851
Class
CvPlot
Hook name
CivHooks::CvPlot_setUpgradeProgress

Hooks

static bool BeforeCvPlot_setUpgradeProgress(CvPlot* self, int iNewValue);static void AfterCvPlot_setUpgradeProgress(CvPlot* self, int iNewValue);static void ReplaceCvPlot_setUpgradeProgress(void (*original)(CvPlot*, int), CvPlot* self, int iNewValue);CivRegisterBefore<CivHooks::CvPlot_setUpgradeProgress>(host, &BeforeCvPlot_setUpgradeProgress);CivRegisterAfter<CivHooks::CvPlot_setUpgradeProgress>(host, &AfterCvPlot_setUpgradeProgress);CivRegisterReplace<CivHooks::CvPlot_setUpgradeProgress>(host, &ReplaceCvPlot_setUpgradeProgress);

Code

4851void CvPlot::setUpgradeProgress(int iNewValue)4852{4853	m_iUpgradeProgress = iNewValue;4854	CvAssert(getUpgradeProgress() >= 0);4855}

Called by