Bazaar developer reference

CvWorldInfo::GetEstimatedNumCities() const

Defined in
CvInfos.cpp, line 6043
Class
CvWorldInfo
Hook name
CivHooks::CvWorldInfo_GetEstimatedNumCities

Hooks

static bool BeforeCvWorldInfo_GetEstimatedNumCities(const CvWorldInfo* self, int& result);static void AfterCvWorldInfo_GetEstimatedNumCities(const CvWorldInfo* self, int& result);static int ReplaceCvWorldInfo_GetEstimatedNumCities(int (*original)(const CvWorldInfo*), const CvWorldInfo* self);CivRegisterBefore<CivHooks::CvWorldInfo_GetEstimatedNumCities>(host, &BeforeCvWorldInfo_GetEstimatedNumCities);CivRegisterAfter<CivHooks::CvWorldInfo_GetEstimatedNumCities>(host, &AfterCvWorldInfo_GetEstimatedNumCities);CivRegisterReplace<CivHooks::CvWorldInfo_GetEstimatedNumCities>(host, &ReplaceCvWorldInfo_GetEstimatedNumCities);

Code

6043int CvWorldInfo::GetEstimatedNumCities() const6044{6045	return m_iEstimatedNumCities;6046}

Called by