Bazaar developer reference

CvMap::getOwnedPlots()

Defined in
CvMap.cpp, line 1111
Class
CvMap
Hook name
CivHooks::CvMap_getOwnedPlots

Hooks

static bool BeforeCvMap_getOwnedPlots(CvMap* self, int& result);static void AfterCvMap_getOwnedPlots(CvMap* self, int& result);static int ReplaceCvMap_getOwnedPlots(int (*original)(CvMap*), CvMap* self);CivRegisterBefore<CivHooks::CvMap_getOwnedPlots>(host, &BeforeCvMap_getOwnedPlots);CivRegisterAfter<CivHooks::CvMap_getOwnedPlots>(host, &AfterCvMap_getOwnedPlots);CivRegisterReplace<CivHooks::CvMap_getOwnedPlots>(host, &ReplaceCvMap_getOwnedPlots);

Code

1111int CvMap::getOwnedPlots()1112{1113	return m_iOwnedPlots;1114}

Called by