CvPlayer::GetReligions() const
- Defined in
- CvPlayer.cpp, line 24541
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_GetReligions
Hooks
static bool BeforeCvPlayer_GetReligions(const CvPlayer* self, CvPlayerReligions*& result);static void AfterCvPlayer_GetReligions(const CvPlayer* self, CvPlayerReligions*& result);static CvPlayerReligions* ReplaceCvPlayer_GetReligions(CvPlayerReligions* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetReligions>(host, &BeforeCvPlayer_GetReligions);CivRegisterAfter<CivHooks::CvPlayer_GetReligions>(host, &AfterCvPlayer_GetReligions);CivRegisterReplace<CivHooks::CvPlayer_GetReligions>(host, &ReplaceCvPlayer_GetReligions);
Code
24541CvPlayerReligions* CvPlayer::GetReligions() const24542{24543 return m_pReligions;24544}
Called by
55 functions in 14 files
- CvCity::GetFaithPurchaseCost(UnitTypes, bool)
- CvCity::Purchase(UnitTypes, BuildingTypes, ProjectTypes, YieldTypes)
- CvCity::init(int, PlayerTypes, int, int, bool, bool, ReligionTypes, const char *)
- CvCityCitizens::DoSpawnGreatPerson(UnitTypes, bool, bool, bool)
- CityStrategyAIHelpers::IsTestCityStrategy_FirstFaithBuilding(CvCity *)
- CvCityCulture::GetTourismMultiplier(PlayerTypes, bool, bool, bool, bool, bool) const
- CvCityCulture::GetTourismTooltip()
- CvPlayerCulture::GetTourismModifierWith(PlayerTypes) const
- CvPlayerCulture::GetTourismModifierWithTooltip(PlayerTypes) const
- CvDiplomacyAI::GetHasAdoptedHisReligionScore(PlayerTypes)
- CvDiplomacyAI::GetHasAdoptedMyReligionScore(PlayerTypes)
- CvDllNetMessageHandler::ResponseEnhanceReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, int, int)
- CvDllNetMessageHandler::ResponseFoundPantheon(PlayerTypes, BeliefTypes)
- CvDllNetMessageHandler::ResponseFoundReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, BeliefTypes, BeliefTypes, int, int)
- CvMinorCivAI::GetFriendshipAnchorWithMajor(PlayerTypes)
- CvMinorCivAI::GetFriendshipFromGoldGift(PlayerTypes, int)
- CvPlayer::DoAnnounceReligionAdoption()
- CvPlayer::DoGreatPersonExpended(UnitTypes, CvUnit *)
- CvPlayer::DoYieldBonusFromKill(YieldTypes, CvUnit *, CvUnit *, UnitTypes, int, int, bool, int &)
- CvPlayer::GetHappinessFromReligion()
- CvPlayer::GetScoreFromReligion() const
- CvPlayer::GetYieldPerTurnFromReligion(YieldTypes) const
- CvPlayer::HasAnyReligion() const
- CvPlayer::HasBelief(BeliefTypes) const
- CvPlayer::HasEnhancedReligion() const
- CvPlayer::HasPantheon() const
- CvPlayer::HasReligion(ReligionTypes) const
- CvPlayer::addFreeUnit(UnitTypes, UnitAITypes)
- CvPlayer::canReceiveGoody(CvPlot *, GoodyTypes, CvUnit *) const
- CvPlayer::processPolicies(PolicyTypes, int)
- CvPlayer::receiveGoody(CvPlot *, GoodyTypes, CvUnit *)
- CvPlayerAI::GetDirectiveProphet(CvUnit *)
- CvCityReligions::CityConvertsReligion(ReligionTypes, ReligionTypes, PlayerTypes)
- CvCityReligions::GetPressurePerTurn(ReligionTypes, int &)
- CvGameReligions::CheckSpawnGreatProphet(CvPlayer &)
- CvGameReligions::DoPlayerTurn(CvPlayer &)
- CvGameReligions::FoundReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, BeliefTypes, BeliefTypes, CvCity *)
- CvGameReligions::SpreadReligionToOneCity(CvCity *)
- CvReligionAI::ChooseProphetConversionCity(bool) const
- CvReligionAI::DoFaithPurchases()
- CvReligionAI::GetDesiredFaithGreatPerson() const
- CvReligionAI::ScoreCityForMissionary(CvCity *, UnitHandle)
- CvUnit::CanFoundReligion(const CvPlot *) const
- CvUnit::DoFoundReligion()
- CvUnit::setXY(int, int, bool, bool, bool, bool, bool)
- CvLeague::GetChoicesForDecision(ResolutionDecisionTypes, PlayerTypes)
- CvLeague::GetExtraVotesForFollowingReligion(PlayerTypes)
- CvLeagueAI::ScoreVoteChoiceYesNo(CvProposal *, int, bool)
- CvLuaGame::lAddReformation(lua_State *)
- CvLuaPlayer::lGetMinimumFaithNextGreatProphet(lua_State *)
- CvLuaPlayer::lGetReligionCreatedByPlayer(lua_State *)
- CvLuaPlayer::lHasCreatedPantheon(lua_State *)
- CvLuaPlayer::lHasCreatedReligion(lua_State *)
- CvLuaPlayer::lHasOthersReligionInMostCities(lua_State *)
- CvLuaPlayer::lHasReligionInMostCities(lua_State *)