Bazaar developer reference

CvPlayer::GetCityGrowthMod() const

Defined in
CvPlayer.cpp, line 26463
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetCityGrowthMod

Hooks

static bool BeforeCvPlayer_GetCityGrowthMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetCityGrowthMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetCityGrowthMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCityGrowthMod>(host, &BeforeCvPlayer_GetCityGrowthMod);CivRegisterAfter<CivHooks::CvPlayer_GetCityGrowthMod>(host, &AfterCvPlayer_GetCityGrowthMod);CivRegisterReplace<CivHooks::CvPlayer_GetCityGrowthMod>(host, &ReplaceCvPlayer_GetCityGrowthMod);

Code

26462/// City growth percent mod (i.e. 100 = foodDifference doubled)26463int CvPlayer::GetCityGrowthMod() const26464{26465	return m_iCityGrowthMod;26466}

Calls

Called by