Bazaar developer reference

CvUnitEntry::IsFound() const

Defined in
CvUnitClasses.cpp, line 971
Class
CvUnitEntry
Hook name
CivHooks::CvUnitEntry_IsFound

Hooks

static bool BeforeCvUnitEntry_IsFound(const CvUnitEntry* self, bool& result);static void AfterCvUnitEntry_IsFound(const CvUnitEntry* self, bool& result);static bool ReplaceCvUnitEntry_IsFound(bool (*original)(const CvUnitEntry*), const CvUnitEntry* self);CivRegisterBefore<CivHooks::CvUnitEntry_IsFound>(host, &BeforeCvUnitEntry_IsFound);CivRegisterAfter<CivHooks::CvUnitEntry_IsFound>(host, &AfterCvUnitEntry_IsFound);CivRegisterReplace<CivHooks::CvUnitEntry_IsFound>(host, &ReplaceCvUnitEntry_IsFound);

Code

970/// Can it start a city?971bool CvUnitEntry::IsFound() const972{973	return m_bFound;974}

Called by