Bazaar developer reference

CvPlayer::IsAlliesGreatPersonBiasApplied() const

Defined in
CvPlayer.cpp, line 27151
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsAlliesGreatPersonBiasApplied

Hooks

static bool BeforeCvPlayer_IsAlliesGreatPersonBiasApplied(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsAlliesGreatPersonBiasApplied(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsAlliesGreatPersonBiasApplied(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsAlliesGreatPersonBiasApplied>(host, &BeforeCvPlayer_IsAlliesGreatPersonBiasApplied);CivRegisterAfter<CivHooks::CvPlayer_IsAlliesGreatPersonBiasApplied>(host, &AfterCvPlayer_IsAlliesGreatPersonBiasApplied);CivRegisterReplace<CivHooks::CvPlayer_IsAlliesGreatPersonBiasApplied>(host, &ReplaceCvPlayer_IsAlliesGreatPersonBiasApplied);

Code

27150/// Special ability where city-states gift great people27151bool CvPlayer::IsAlliesGreatPersonBiasApplied() const27152{27153	return m_bAlliesGreatPersonBiasApplied;27154}

Calls

Called by