Bazaar developer reference

CvDllMap::PlotNum(int, int) const

Defined in
CvDllMap.cpp, line 132
Class
CvDllMap
Hook name
CivHooks::CvDllMap_PlotNum

Hooks

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

Code

132int CvDllMap::PlotNum(int iX, int iY) const133{134	return m_pMap->plotNum(iX, iY);135}

Calls