Bazaar developer reference

CvPlayerReligions::HasCreatedPantheon() const

Defined in
CvReligionClasses.cpp, line 3039
Class
CvPlayerReligions
Hook name
CivHooks::CvPlayerReligions_HasCreatedPantheon

Hooks

static bool BeforeCvPlayerReligions_HasCreatedPantheon(const CvPlayerReligions* self, bool& result);static void AfterCvPlayerReligions_HasCreatedPantheon(const CvPlayerReligions* self, bool& result);static bool ReplaceCvPlayerReligions_HasCreatedPantheon(bool (*original)(const CvPlayerReligions*), const CvPlayerReligions* self);CivRegisterBefore<CivHooks::CvPlayerReligions_HasCreatedPantheon>(host, &BeforeCvPlayerReligions_HasCreatedPantheon);CivRegisterAfter<CivHooks::CvPlayerReligions_HasCreatedPantheon>(host, &AfterCvPlayerReligions_HasCreatedPantheon);CivRegisterReplace<CivHooks::CvPlayerReligions_HasCreatedPantheon>(host, &ReplaceCvPlayerReligions_HasCreatedPantheon);

Code

3038/// Has this player created a pantheon?3039bool CvPlayerReligions::HasCreatedPantheon() const3040{3041	return GC.getGame().GetGameReligions()->HasCreatedPantheon(m_pPlayer->GetID());3042}

Calls

Called by