Bazaar developer reference

CvMap::getIndexAfterLastLandmass()

Defined in
CvMap.cpp, line 2063
Class
CvMap
Hook name
CivHooks::CvMap_getIndexAfterLastLandmass

Hooks

static bool BeforeCvMap_getIndexAfterLastLandmass(CvMap* self, int& result);static void AfterCvMap_getIndexAfterLastLandmass(CvMap* self, int& result);static int ReplaceCvMap_getIndexAfterLastLandmass(int (*original)(CvMap*), CvMap* self);CivRegisterBefore<CivHooks::CvMap_getIndexAfterLastLandmass>(host, &BeforeCvMap_getIndexAfterLastLandmass);CivRegisterAfter<CivHooks::CvMap_getIndexAfterLastLandmass>(host, &AfterCvMap_getIndexAfterLastLandmass);CivRegisterReplace<CivHooks::CvMap_getIndexAfterLastLandmass>(host, &ReplaceCvMap_getIndexAfterLastLandmass);

Code

2063int CvMap::getIndexAfterLastLandmass()2064{2065	return m_landmasses.GetIndexAfterLast();2066}

Calls