Bazaar developer reference

CvDllMap::GetGridWidth() const

Defined in
CvDllMap.cpp, line 137
Class
CvDllMap
Hook name
CivHooks::CvDllMap_GetGridWidth

Hooks

static bool BeforeCvDllMap_GetGridWidth(const CvDllMap* self, int& result);static void AfterCvDllMap_GetGridWidth(const CvDllMap* self, int& result);static int ReplaceCvDllMap_GetGridWidth(int (*original)(const CvDllMap*), const CvDllMap* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetGridWidth::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllMap_GetGridWidth);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetGridWidth::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllMap_GetGridWidth);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetGridWidth::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllMap_GetGridWidth);

Code

137int CvDllMap::GetGridWidth() const138{139	return m_pMap->getGridWidth();140}

Calls