Bazaar developer reference

CvPlayer::firstCity(int *, bool)

Defined in
CvPlayer.cpp, line 21752
Class
CvPlayer
Hook name
CivHooks::CvPlayer_firstCity

Hooks

static bool BeforeCvPlayer_firstCity(CvPlayer* self, int* pIterIdx, bool bRev, CvCity*& result);static void AfterCvPlayer_firstCity(CvPlayer* self, int* pIterIdx, bool bRev, CvCity*& result);static CvCity* ReplaceCvPlayer_firstCity(CvCity* (*original)(CvPlayer*, int*, bool), CvPlayer* self, int* pIterIdx, bool bRev);CivRegisterBefore<CivHooks::CvPlayer_firstCity>(host, &BeforeCvPlayer_firstCity);CivRegisterAfter<CivHooks::CvPlayer_firstCity>(host, &AfterCvPlayer_firstCity);CivRegisterReplace<CivHooks::CvPlayer_firstCity>(host, &ReplaceCvPlayer_firstCity);

Code

21752CvCity* CvPlayer::firstCity(int* pIterIdx, bool bRev)21753{21754	return !bRev ? m_cities.BeginIter(pIterIdx) : m_cities.EndIter(pIterIdx);21755}

Calls

Called by

237 functions in 36 files