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
- CvCity::canTrain(UnitTypes, bool, bool, bool, bool, CvString *) const
- CvCity::getProductionModifier(UnitTypes, CvString *) const
- CvCityCitizens::DoTurn()
- CvPlayer::addFreeUnit(UnitTypes, UnitAITypes)
- CvPlayer::canReceiveGoody(CvPlot *, GoodyTypes, CvUnit *) const
- CvPlayer::canTrain(UnitTypes, bool, bool, bool, bool, CvString *) const
- CvPlayer::getProductionModifier(UnitTypes, CvString *) const
- CvPlayer::init(PlayerTypes)
- CvPlayer::processPolicies(PolicyTypes, int)
- CvUnit::canFound(const CvPlot *, bool) const
- CvUnit::initWithNameOffset(int, UnitTypes, int, UnitAITypes, PlayerTypes, int, int, DirectionTypes, bool, bool, int, int)
- CvUnit::isFound() const