Bazaar developer reference

CvPlayer::HasAnyReligion() const

Defined in
CvPlayer.cpp, line 28309
Class
CvPlayer
Hook name
CivHooks::CvPlayer_HasAnyReligion

Hooks

static bool BeforeCvPlayer_HasAnyReligion(const CvPlayer* self, bool& result);static void AfterCvPlayer_HasAnyReligion(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_HasAnyReligion(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_HasAnyReligion>(host, &BeforeCvPlayer_HasAnyReligion);CivRegisterAfter<CivHooks::CvPlayer_HasAnyReligion>(host, &AfterCvPlayer_HasAnyReligion);CivRegisterReplace<CivHooks::CvPlayer_HasAnyReligion>(host, &ReplaceCvPlayer_HasAnyReligion);

Code

28309bool CvPlayer::HasAnyReligion() const28310{28311	return GetReligions()->HasCreatedReligion();28312}

Calls

Called by