Bazaar developer reference

CvWorldInfo::GetNumCitiesTechCostMod() const

Defined in
CvInfos.cpp, line 6031
Class
CvWorldInfo
Hook name
CivHooks::CvWorldInfo_GetNumCitiesTechCostMod

Hooks

static bool BeforeCvWorldInfo_GetNumCitiesTechCostMod(const CvWorldInfo* self, int& result);static void AfterCvWorldInfo_GetNumCitiesTechCostMod(const CvWorldInfo* self, int& result);static int ReplaceCvWorldInfo_GetNumCitiesTechCostMod(int (*original)(const CvWorldInfo*), const CvWorldInfo* self);CivRegisterBefore<CivHooks::CvWorldInfo_GetNumCitiesTechCostMod>(host, &BeforeCvWorldInfo_GetNumCitiesTechCostMod);CivRegisterAfter<CivHooks::CvWorldInfo_GetNumCitiesTechCostMod>(host, &AfterCvWorldInfo_GetNumCitiesTechCostMod);CivRegisterReplace<CivHooks::CvWorldInfo_GetNumCitiesTechCostMod>(host, &ReplaceCvWorldInfo_GetNumCitiesTechCostMod);

Code

6031int CvWorldInfo::GetNumCitiesTechCostMod() const6032{6033	return m_iNumCitiesTechCostMod;6034}

Called by