Bazaar developer reference

CvMap::nextArea(int *, bool)

Defined in
CvMap.cpp, line 1302
Class
CvMap
Hook name
CivHooks::CvMap_nextArea

Hooks

static bool BeforeCvMap_nextArea(CvMap* self, int* pIterIdx, bool bRev, CvArea*& result);static void AfterCvMap_nextArea(CvMap* self, int* pIterIdx, bool bRev, CvArea*& result);static CvArea* ReplaceCvMap_nextArea(CvArea* (*original)(CvMap*, int*, bool), CvMap* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvMap_nextArea>(host, &BeforeCvMap_nextArea);CivRegisterAfter<CivHooks::CvMap_nextArea>(host, &AfterCvMap_nextArea);CivRegisterReplace<CivHooks::CvMap_nextArea>(host, &ReplaceCvMap_nextArea);

Code

1302CvArea* CvMap::nextArea(int* pIterIdx, bool bRev)1303{1304	return !bRev ? m_areas.NextIter(pIterIdx) : m_areas.PrevIter(pIterIdx);1305}

Calls

Called by