Bazaar developer reference

CvPlayer::GetCapitalGrowthMod() const

Defined in
CvPlayer.cpp, line 26489
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetCapitalGrowthMod

Hooks

static bool BeforeCvPlayer_GetCapitalGrowthMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetCapitalGrowthMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetCapitalGrowthMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCapitalGrowthMod>(host, &BeforeCvPlayer_GetCapitalGrowthMod);CivRegisterAfter<CivHooks::CvPlayer_GetCapitalGrowthMod>(host, &AfterCvPlayer_GetCapitalGrowthMod);CivRegisterReplace<CivHooks::CvPlayer_GetCapitalGrowthMod>(host, &ReplaceCvPlayer_GetCapitalGrowthMod);

Code

26488/// Capital growth percent mod (i.e. 100 = foodDifference doubled)26489int CvPlayer::GetCapitalGrowthMod() const26490{26491	return m_iCapitalGrowthMod;26492}

Calls

Called by