Bazaar developer reference

CvArea::getNumUnownedTiles() const

Defined in
CvArea.cpp, line 244
Class
CvArea
Hook name
CivHooks::CvArea_getNumUnownedTiles

Hooks

static bool BeforeCvArea_getNumUnownedTiles(const CvArea* self, int& result);static void AfterCvArea_getNumUnownedTiles(const CvArea* self, int& result);static int ReplaceCvArea_getNumUnownedTiles(int (*original)(const CvArea*), const CvArea* self);CivRegisterBefore<CivHooks::CvArea_getNumUnownedTiles>(host, &BeforeCvArea_getNumUnownedTiles);CivRegisterAfter<CivHooks::CvArea_getNumUnownedTiles>(host, &AfterCvArea_getNumUnownedTiles);CivRegisterReplace<CivHooks::CvArea_getNumUnownedTiles>(host, &ReplaceCvArea_getNumUnownedTiles);

Code

244int CvArea::getNumUnownedTiles() const245{246	return (m_iNumTiles - getNumOwnedTiles());247}

Calls

Called by