Bazaar developer reference

CvUnit::isFound() const

Defined in
CvUnit.cpp, line 11844
Class
CvUnit
Hook name
CivHooks::CvUnit_isFound

Hooks

static bool BeforeCvUnit_isFound(const CvUnit* self, bool& result);static void AfterCvUnit_isFound(const CvUnit* self, bool& result);static bool ReplaceCvUnit_isFound(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_isFound>(host, &BeforeCvUnit_isFound);CivRegisterAfter<CivHooks::CvUnit_isFound>(host, &AfterCvUnit_isFound);CivRegisterReplace<CivHooks::CvUnit_isFound>(host, &ReplaceCvUnit_isFound);

Code

11844bool CvUnit::isFound() const11845{11846	VALIDATE_OBJECT11847	return m_pUnitInfo->IsFound();11848}

Calls

Called by