Bazaar developer reference

CvPlot::changeNumMajorCivsRevealed(int)

Defined in
CvPlot.cpp, line 4948
Class
CvPlot
Hook name
CivHooks::CvPlot_changeNumMajorCivsRevealed

Hooks

static bool BeforeCvPlot_changeNumMajorCivsRevealed(CvPlot* self, int iChange);static void AfterCvPlot_changeNumMajorCivsRevealed(CvPlot* self, int iChange);static void ReplaceCvPlot_changeNumMajorCivsRevealed(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeNumMajorCivsRevealed>(host, &BeforeCvPlot_changeNumMajorCivsRevealed);CivRegisterAfter<CivHooks::CvPlot_changeNumMajorCivsRevealed>(host, &AfterCvPlot_changeNumMajorCivsRevealed);CivRegisterReplace<CivHooks::CvPlot_changeNumMajorCivsRevealed>(host, &ReplaceCvPlot_changeNumMajorCivsRevealed);

Code

4948void CvPlot::changeNumMajorCivsRevealed(int iChange)4949{4950	setNumMajorCivsRevealed(getNumMajorCivsRevealed() + iChange);4951}

Calls

Called by