CvPlayer::firstCity(int *, bool) const
- Defined in
- CvPlayer.cpp, line 21758
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_firstCity_with_int_bool_const
Hooks
static bool BeforeCvPlayer_firstCity_with_int_bool_const(const CvPlayer* self, int* pIterIdx, bool bRev, const CvCity*& result);static void AfterCvPlayer_firstCity_with_int_bool_const(const CvPlayer* self, int* pIterIdx, bool bRev, const CvCity*& result);static const CvCity* ReplaceCvPlayer_firstCity_with_int_bool_const(const CvCity* (*original)(const CvPlayer*, int*, bool), const CvPlayer* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvPlayer_firstCity_with_int_bool_const>(host, &BeforeCvPlayer_firstCity_with_int_bool_const);CivRegisterAfter<CivHooks::CvPlayer_firstCity_with_int_bool_const>(host, &AfterCvPlayer_firstCity_with_int_bool_const);CivRegisterReplace<CivHooks::CvPlayer_firstCity_with_int_bool_const>(host, &ReplaceCvPlayer_firstCity_with_int_bool_const);
Code
21758const CvCity* CvPlayer::firstCity(int* pIterIdx, bool bRev) const21759{21760 return !bRev ? m_cities.BeginIter(pIterIdx) : m_cities.EndIter(pIterIdx);21761}
Calls
FFreeListArrayBase::BeginIterFFreeListArrayBase::EndIter
Called by
- CvPlayer::GetFaithPerTurnFromCities() const
- CvPlayer::GetHappinessFromBuildings() const
- CvPlayer::GetHappinessFromCities() const
- CvPlayer::GetHappinessFromPolicies() const
- CvPlayer::GetJONSCulturePerTurnFromCities() const
- CvPlayer::GetNumPuppetCities() const
- CvPlayer::GetScienceFromCitiesTimes100(bool) const
- CvPlayer::GetUnhappinessFromCapturedCityCount(CvCity *, CvCity *) const
- CvPlayer::GetUnhappinessFromCityCount(CvCity *, CvCity *) const
- CvPlayer::GetUnhappinessFromCityPopulation(CvCity *, CvCity *) const
- CvPlayer::GetUnhappinessFromCitySpecialists(CvCity *, CvCity *) const
- CvPlayer::GetUnhappinessFromOccupiedCities(CvCity *, CvCity *) const
- CvPlayer::GetUnhappinessFromPuppetCityPopulation() const
- CvPlayer::calculateProductionMight() const
- CvPlayer::calculateTotalYield(YieldTypes) const
- CvPlayer::canConstruct(BuildingTypes, bool, bool, bool, CvString *) const
- CvPlayer::countCitiesFeatureSurrounded() const
- CvPlayer::countCityFeatures(FeatureTypes) const
- CvPlayer::countNumBuildings(BuildingTypes) const
- CvPlayer::getBuildingClassPrereqBuilding(BuildingTypes, BuildingClassTypes, int) const
- CvPlayer::getBusyCity() const
- CvPlayer::getRealPopulation() const
- CvPlayer::hasBusyCity() const
- CvPlayer::isCityNameValid(CvString &, bool) const