Bazaar developer reference

CvGlobals::getNumPlotInfos()

Defined in
CvGlobals.cpp, line 2714
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumPlotInfos

Hooks

static bool BeforeCvGlobals_getNumPlotInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumPlotInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumPlotInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumPlotInfos>(host, &BeforeCvGlobals_getNumPlotInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumPlotInfos>(host, &AfterCvGlobals_getNumPlotInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumPlotInfos>(host, &ReplaceCvGlobals_getNumPlotInfos);

Code

2713#if defined(MOD_API_PLOT_YIELDS)2714int CvGlobals::getNumPlotInfos()2715{2716	return MOD_API_PLOT_YIELDS ? (int)m_paPlotInfo.size() : 0;2717}

Calls

Called by