Bazaar developer reference

CvPlotManager::GetNumLayers() const

Defined in
CvPlotManager.cpp, line 136
Class
CvPlotManager
Hook name
CivHooks::CvPlotManager_GetNumLayers

Hooks

static bool BeforeCvPlotManager_GetNumLayers(const CvPlotManager* self, int& result);static void AfterCvPlotManager_GetNumLayers(const CvPlotManager* self, int& result);static int ReplaceCvPlotManager_GetNumLayers(int (*original)(const CvPlotManager*), const CvPlotManager* self);CivRegisterBefore<CivHooks::CvPlotManager_GetNumLayers>(host, &BeforeCvPlotManager_GetNumLayers);CivRegisterAfter<CivHooks::CvPlotManager_GetNumLayers>(host, &AfterCvPlotManager_GetNumLayers);CivRegisterReplace<CivHooks::CvPlotManager_GetNumLayers>(host, &ReplaceCvPlotManager_GetNumLayers);

Code

136int CvPlotManager::GetNumLayers() const137{138	return (int)m_aLayers.size();139}

Calls

Called by