Bazaar developer reference

CvPlot::changeExtraMovePathCost(int)

Defined in
CvPlot.cpp, line 3163
Class
CvPlot
Hook name
CivHooks::CvPlot_changeExtraMovePathCost

Hooks

static bool BeforeCvPlot_changeExtraMovePathCost(CvPlot* self, int iChange);static void AfterCvPlot_changeExtraMovePathCost(CvPlot* self, int iChange);static void ReplaceCvPlot_changeExtraMovePathCost(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeExtraMovePathCost>(host, &BeforeCvPlot_changeExtraMovePathCost);CivRegisterAfter<CivHooks::CvPlot_changeExtraMovePathCost>(host, &AfterCvPlot_changeExtraMovePathCost);CivRegisterReplace<CivHooks::CvPlot_changeExtraMovePathCost>(host, &ReplaceCvPlot_changeExtraMovePathCost);

Code

3163void CvPlot::changeExtraMovePathCost(int iChange)3164{3165	GC.getGame().changePlotExtraCost(getX(), getY(), iChange);3166}

Calls

Called by