Bazaar developer reference

CvPlayer::getGreatGeneralsThresholdModifier() const

Defined in
CvPlayer.cpp, line 14259
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getGreatGeneralsThresholdModifier

Hooks

static bool BeforeCvPlayer_getGreatGeneralsThresholdModifier(const CvPlayer* self, int& result);static void AfterCvPlayer_getGreatGeneralsThresholdModifier(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getGreatGeneralsThresholdModifier(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getGreatGeneralsThresholdModifier>(host, &BeforeCvPlayer_getGreatGeneralsThresholdModifier);CivRegisterAfter<CivHooks::CvPlayer_getGreatGeneralsThresholdModifier>(host, &AfterCvPlayer_getGreatGeneralsThresholdModifier);CivRegisterReplace<CivHooks::CvPlayer_getGreatGeneralsThresholdModifier>(host, &ReplaceCvPlayer_getGreatGeneralsThresholdModifier);

Code

14259int CvPlayer::getGreatGeneralsThresholdModifier() const14260{14261	return m_iGreatGeneralsThresholdModifier;14262}

Calls

Called by