Bazaar developer reference

CvPlayer::IsSecondReligionPantheon() const

Defined in
CvPlayer.cpp, line 15804
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsSecondReligionPantheon

Hooks

static bool BeforeCvPlayer_IsSecondReligionPantheon(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsSecondReligionPantheon(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsSecondReligionPantheon(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsSecondReligionPantheon>(host, &BeforeCvPlayer_IsSecondReligionPantheon);CivRegisterAfter<CivHooks::CvPlayer_IsSecondReligionPantheon>(host, &AfterCvPlayer_IsSecondReligionPantheon);CivRegisterReplace<CivHooks::CvPlayer_IsSecondReligionPantheon>(host, &ReplaceCvPlayer_IsSecondReligionPantheon);

Code

15804bool CvPlayer::IsSecondReligionPantheon() const15805{15806	return (GetSecondReligionPantheonCount() > 0);15807}

Calls

Called by