CvGame::getNumCities() const
- Defined in
- CvGame.cpp, line 4833
- Class
- CvGame
- Hook name
CivHooks::CvGame_getNumCities
Hooks
static bool BeforeCvGame_getNumCities(const CvGame* self, int& result);static void AfterCvGame_getNumCities(const CvGame* self, int& result);static int ReplaceCvGame_getNumCities(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getNumCities>(host, &BeforeCvGame_getNumCities);CivRegisterAfter<CivHooks::CvGame_getNumCities>(host, &AfterCvGame_getNumCities);CivRegisterReplace<CivHooks::CvGame_getNumCities>(host, &ReplaceCvGame_getNumCities);
Code
4833int CvGame::getNumCities() const4834{4835 return m_iNumCities;4836}