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
- CvDllNetMessageHandler::ResponseFoundPantheon(PlayerTypes, BeliefTypes)
- CvCityReligions::GetSecondaryReligionPantheonBelief()
- CvGameReligions::GetAvailableBonusBeliefs(PlayerTypes, ReligionTypes)
- CvGameReligions::GetAvailablePantheonBeliefs(PlayerTypes)
- CvGameReligions::IsPantheonBeliefAvailable(BeliefTypes, PlayerTypes)
- CvReligionAI::ScoreBelief(CvBeliefEntry *)