Bazaar developer reference

CvPlot::init(int, int)

Defined in
CvPlot.cpp, line 183
Class
CvPlot
Hook name
CivHooks::CvPlot_init

Hooks

static bool BeforeCvPlot_init(CvPlot* self, int iX, int iY);static void AfterCvPlot_init(CvPlot* self, int iX, int iY);static void ReplaceCvPlot_init(void (*original)(CvPlot*, int, int), CvPlot* self, int iX, int iY);CivRegisterBefore<CivHooks::CvPlot_init>(host, &BeforeCvPlot_init);CivRegisterAfter<CivHooks::CvPlot_init>(host, &AfterCvPlot_init);CivRegisterReplace<CivHooks::CvPlot_init>(host, &ReplaceCvPlot_init);

Code

183void CvPlot::init(int iX, int iY)184{185	//--------------------------------186	// Init saved data187	reset(iX, iY);188189	//--------------------------------190	// Init non-saved data191192	//--------------------------------193	// Init other game data194}

Calls

Called by