Bazaar developer reference

CvMap::verifyUnitValidPlot()

Defined in
CvMap.cpp, line 700
Class
CvMap
Hook name
CivHooks::CvMap_verifyUnitValidPlot

Hooks

static bool BeforeCvMap_verifyUnitValidPlot(CvMap* self);static void AfterCvMap_verifyUnitValidPlot(CvMap* self);static void ReplaceCvMap_verifyUnitValidPlot(void (*original)(CvMap*), CvMap* self);CivRegisterBefore<CivHooks::CvMap_verifyUnitValidPlot>(host, &BeforeCvMap_verifyUnitValidPlot);CivRegisterAfter<CivHooks::CvMap_verifyUnitValidPlot>(host, &AfterCvMap_verifyUnitValidPlot);CivRegisterReplace<CivHooks::CvMap_verifyUnitValidPlot>(host, &ReplaceCvMap_verifyUnitValidPlot);

Code

700void CvMap::verifyUnitValidPlot()701{702	int iI;703704	for(iI = 0; iI < numPlots(); iI++)705	{706		plotByIndexUnchecked(iI)->verifyUnitValidPlot();707	}708}

Calls

Called by