Bazaar developer reference

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

Called by