Bazaar developer reference

CvMap::firstLandmass(int *, bool)

Defined in
CvMap.cpp, line 2119
Class
CvMap
Hook name
CivHooks::CvMap_firstLandmass

Hooks

static bool BeforeCvMap_firstLandmass(CvMap* self, int* pIterIdx, bool bRev, CvLandmass*& result);static void AfterCvMap_firstLandmass(CvMap* self, int* pIterIdx, bool bRev, CvLandmass*& result);static CvLandmass* ReplaceCvMap_firstLandmass(CvLandmass* (*original)(CvMap*, int*, bool), CvMap* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvMap_firstLandmass>(host, &BeforeCvMap_firstLandmass);CivRegisterAfter<CivHooks::CvMap_firstLandmass>(host, &AfterCvMap_firstLandmass);CivRegisterReplace<CivHooks::CvMap_firstLandmass>(host, &ReplaceCvMap_firstLandmass);

Code

2119CvLandmass* CvMap::firstLandmass(int* pIterIdx, bool bRev)2120{2121	return !bRev ? m_landmasses.BeginIter(pIterIdx) : m_landmasses.EndIter(pIterIdx);2122}

Calls

Called by