Bazaar developer reference

CvPlayer::IsHasAdoptedStateReligion() const

Defined in
CvPlayer.cpp, line 27168
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsHasAdoptedStateReligion

Hooks

static bool BeforeCvPlayer_IsHasAdoptedStateReligion(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsHasAdoptedStateReligion(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsHasAdoptedStateReligion(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsHasAdoptedStateReligion>(host, &BeforeCvPlayer_IsHasAdoptedStateReligion);CivRegisterAfter<CivHooks::CvPlayer_IsHasAdoptedStateReligion>(host, &AfterCvPlayer_IsHasAdoptedStateReligion);CivRegisterReplace<CivHooks::CvPlayer_IsHasAdoptedStateReligion>(host, &ReplaceCvPlayer_IsHasAdoptedStateReligion);

Code

27167/// Has this player picked up a Religion yet27168bool CvPlayer::IsHasAdoptedStateReligion() const27169{27170	return m_bHasAdoptedStateReligion;27171}

Calls