Bazaar developer reference

CvPlot::changeUpgradeProgress(int)

Defined in
CvPlot.cpp, line 4859
Class
CvPlot
Hook name
CivHooks::CvPlot_changeUpgradeProgress

Hooks

static bool BeforeCvPlot_changeUpgradeProgress(CvPlot* self, int iChange);static void AfterCvPlot_changeUpgradeProgress(CvPlot* self, int iChange);static void ReplaceCvPlot_changeUpgradeProgress(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeUpgradeProgress>(host, &BeforeCvPlot_changeUpgradeProgress);CivRegisterAfter<CivHooks::CvPlot_changeUpgradeProgress>(host, &AfterCvPlot_changeUpgradeProgress);CivRegisterReplace<CivHooks::CvPlot_changeUpgradeProgress>(host, &ReplaceCvPlot_changeUpgradeProgress);

Code

4859void CvPlot::changeUpgradeProgress(int iChange)4860{4861	setUpgradeProgress(getUpgradeProgress() + iChange);4862}

Calls

Called by