Bazaar developer reference

CvPlotManager::Init(uint, uint)

Defined in
CvPlotManager.cpp, line 123
Class
CvPlotManager
Hook name
CivHooks::CvPlotManager_Init

Hooks

static bool BeforeCvPlotManager_Init(CvPlotManager* self, uint uiWidth, uint uiHeight);static void AfterCvPlotManager_Init(CvPlotManager* self, uint uiWidth, uint uiHeight);static void ReplaceCvPlotManager_Init(void (*original)(CvPlotManager*, uint, uint), CvPlotManager* self, uint uiWidth, uint uiHeight);CivRegisterBefore<CivHooks::CvPlotManager_Init>(host, &BeforeCvPlotManager_Init);CivRegisterAfter<CivHooks::CvPlotManager_Init>(host, &AfterCvPlotManager_Init);CivRegisterReplace<CivHooks::CvPlotManager_Init>(host, &ReplaceCvPlotManager_Init);

Code

123void CvPlotManager::Init(uint uiWidth, uint uiHeight)124{125	m_uiWidth = uiWidth;126	m_uiHeight = uiHeight;127}

Called by