Bazaar developer reference

CvDllMap::GetGridHeight() const

Defined in
CvDllMap.cpp, line 142
Class
CvDllMap
Hook name
CivHooks::CvDllMap_GetGridHeight

Hooks

static bool BeforeCvDllMap_GetGridHeight(const CvDllMap* self, int& result);static void AfterCvDllMap_GetGridHeight(const CvDllMap* self, int& result);static int ReplaceCvDllMap_GetGridHeight(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_GetGridHeight::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllMap_GetGridHeight);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetGridHeight::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllMap_GetGridHeight);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetGridHeight::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllMap_GetGridHeight);

Code

142int CvDllMap::GetGridHeight() const143{144	return m_pMap->getGridHeight();145}

Calls