Bazaar developer reference

CvPlayer::GetCityStrengthMod() const

Defined in
CvPlayer.cpp, line 26429
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetCityStrengthMod

Hooks

static bool BeforeCvPlayer_GetCityStrengthMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetCityStrengthMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetCityStrengthMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCityStrengthMod>(host, &BeforeCvPlayer_GetCityStrengthMod);CivRegisterAfter<CivHooks::CvPlayer_GetCityStrengthMod>(host, &AfterCvPlayer_GetCityStrengthMod);CivRegisterReplace<CivHooks::CvPlayer_GetCityStrengthMod>(host, &ReplaceCvPlayer_GetCityStrengthMod);

Code

26428/// City strength mod (i.e. 100 = strength doubled)26429int CvPlayer::GetCityStrengthMod() const26430{26431	return m_iCityStrengthMod;26432}

Calls

Called by