Bazaar developer reference

CvBeliefEntry::IsPantheonBelief() const

Defined in
CvBeliefClasses.cpp, line 374
Class
CvBeliefEntry
Hook name
CivHooks::CvBeliefEntry_IsPantheonBelief

Hooks

static bool BeforeCvBeliefEntry_IsPantheonBelief(const CvBeliefEntry* self, bool& result);static void AfterCvBeliefEntry_IsPantheonBelief(const CvBeliefEntry* self, bool& result);static bool ReplaceCvBeliefEntry_IsPantheonBelief(bool (*original)(const CvBeliefEntry*), const CvBeliefEntry* self);CivRegisterBefore<CivHooks::CvBeliefEntry_IsPantheonBelief>(host, &BeforeCvBeliefEntry_IsPantheonBelief);CivRegisterAfter<CivHooks::CvBeliefEntry_IsPantheonBelief>(host, &AfterCvBeliefEntry_IsPantheonBelief);CivRegisterReplace<CivHooks::CvBeliefEntry_IsPantheonBelief>(host, &ReplaceCvBeliefEntry_IsPantheonBelief);

Code

373/// Accessor: is this a belief a pantheon can adopt374bool CvBeliefEntry::IsPantheonBelief() const375{376	return m_bPantheon;377}

Called by