Bazaar developer reference

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

Called by