CvPlayer::nextCity(int *, bool) const
- Defined in
- CvPlayer.cpp, line 21770
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_nextCity_with_int_bool_const
Hooks
static bool BeforeCvPlayer_nextCity_with_int_bool_const(const CvPlayer* self, int* pIterIdx, bool bRev, const CvCity*& result);static void AfterCvPlayer_nextCity_with_int_bool_const(const CvPlayer* self, int* pIterIdx, bool bRev, const CvCity*& result);static const CvCity* ReplaceCvPlayer_nextCity_with_int_bool_const(const CvCity* (*original)(const CvPlayer*, int*, bool), const CvPlayer* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvPlayer_nextCity_with_int_bool_const>(host, &BeforeCvPlayer_nextCity_with_int_bool_const);CivRegisterAfter<CivHooks::CvPlayer_nextCity_with_int_bool_const>(host, &AfterCvPlayer_nextCity_with_int_bool_const);CivRegisterReplace<CivHooks::CvPlayer_nextCity_with_int_bool_const>(host, &ReplaceCvPlayer_nextCity_with_int_bool_const);
Code
21770const CvCity* CvPlayer::nextCity(int* pIterIdx, bool bRev) const21771{21772 return !bRev ? m_cities.NextIter(pIterIdx) : m_cities.PrevIter(pIterIdx);21773}
Calls
FFreeListArrayBase::NextIterFFreeListArrayBase::PrevIter
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