Bazaar developer reference

CvPlayer::getUnitFortificationModifier() const

Defined in
CvPlayer.cpp, line 15233
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getUnitFortificationModifier

Hooks

static bool BeforeCvPlayer_getUnitFortificationModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getUnitFortificationModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getUnitFortificationModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getUnitFortificationModifier>(host, &BeforeCvPlayer_getUnitFortificationModifier);CivRegisterAfter<CivHooks::CvPlayer_getUnitFortificationModifier>(host, &AfterCvPlayer_getUnitFortificationModifier);CivRegisterReplace<CivHooks::CvPlayer_getUnitFortificationModifier>(host, &ReplaceCvPlayer_getUnitFortificationModifier);

Code

15233int CvPlayer::getUnitFortificationModifier() const15234{15235	return m_iUnitFortificationModifier;15236}

Calls

Called by