Bazaar developer reference

CvMap::nextLandmass(int *, bool)

Defined in
CvMap.cpp, line 2126
Class
CvMap
Hook name
CivHooks::CvMap_nextLandmass

Hooks

static bool BeforeCvMap_nextLandmass(CvMap* self, int* pIterIdx, bool bRev, CvLandmass*& result);static void AfterCvMap_nextLandmass(CvMap* self, int* pIterIdx, bool bRev, CvLandmass*& result);static CvLandmass* ReplaceCvMap_nextLandmass(CvLandmass* (*original)(CvMap*, int*, bool), CvMap* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvMap_nextLandmass>(host, &BeforeCvMap_nextLandmass);CivRegisterAfter<CivHooks::CvMap_nextLandmass>(host, &AfterCvMap_nextLandmass);CivRegisterReplace<CivHooks::CvMap_nextLandmass>(host, &ReplaceCvMap_nextLandmass);

Code

2126CvLandmass* CvMap::nextLandmass(int* pIterIdx, bool bRev)2127{2128	return !bRev ? m_landmasses.NextIter(pIterIdx) : m_landmasses.PrevIter(pIterIdx);2129}

Calls

Called by