CvMap::getNumAreas()
- Defined in
- CvMap.cpp, line 1246
- Class
- CvMap
- Hook name
CivHooks::CvMap_getNumAreas
Hooks
static bool BeforeCvMap_getNumAreas(CvMap* self, int& result);static void AfterCvMap_getNumAreas(CvMap* self, int& result);static int ReplaceCvMap_getNumAreas(int (*original)(CvMap*), CvMap* self);CivRegisterBefore<CivHooks::CvMap_getNumAreas>(host, &BeforeCvMap_getNumAreas);CivRegisterAfter<CivHooks::CvMap_getNumAreas>(host, &AfterCvMap_getNumAreas);CivRegisterReplace<CivHooks::CvMap_getNumAreas>(host, &ReplaceCvMap_getNumAreas);
Code
1246int CvMap::getNumAreas()1247{1248 return m_areas.GetCount();1249}
Calls
FFreeListArrayBase::GetCount