Bazaar developer reference

CvMap::firstArea(int *, bool)

Defined in
CvMap.cpp, line 1295
Class
CvMap
Hook name
CivHooks::CvMap_firstArea

Hooks

static bool BeforeCvMap_firstArea(CvMap* self, int* pIterIdx, bool bRev, CvArea*& result);static void AfterCvMap_firstArea(CvMap* self, int* pIterIdx, bool bRev, CvArea*& result);static CvArea* ReplaceCvMap_firstArea(CvArea* (*original)(CvMap*, int*, bool), CvMap* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvMap_firstArea>(host, &BeforeCvMap_firstArea);CivRegisterAfter<CivHooks::CvMap_firstArea>(host, &AfterCvMap_firstArea);CivRegisterReplace<CivHooks::CvMap_firstArea>(host, &ReplaceCvMap_firstArea);

Code

1295CvArea* CvMap::firstArea(int* pIterIdx, bool bRev)1296{1297	return !bRev ? m_areas.BeginIter(pIterIdx) : m_areas.EndIter(pIterIdx);1298}

Calls

Called by