CvGame::GetGameLeagues()
- Defined in
- CvGame.cpp, line 10329
- Class
- CvGame
- Hook name
CivHooks::CvGame_GetGameLeagues
Hooks
static bool BeforeCvGame_GetGameLeagues(CvGame* self, CvGameLeagues*& result);static void AfterCvGame_GetGameLeagues(CvGame* self, CvGameLeagues*& result);static CvGameLeagues* ReplaceCvGame_GetGameLeagues(CvGameLeagues* (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetGameLeagues>(host, &BeforeCvGame_GetGameLeagues);CivRegisterAfter<CivHooks::CvGame_GetGameLeagues>(host, &AfterCvGame_GetGameLeagues);CivRegisterReplace<CivHooks::CvGame_GetGameLeagues>(host, &ReplaceCvGame_GetGameLeagues);
Code
10329CvGameLeagues* CvGame::GetGameLeagues()10330{10331 return m_pGameLeagues;10332}
Called by
63 functions in 16 files
- CvCity::GetJONSCulturePerTurnFromLeagues() const
- CvCity::doProcess()
- CvCity::setupWonderGraphics()
- CvCityCulture::GetBaseTourism()
- CvCityCulture::GetCultureFromWonders() const
- CvCityCulture::GetTourismTooltip()
- CvPlayerCulture::ComputeHypotheticalPublicOpinionUnhappiness(PolicyBranchTypes)
- CvPlayerCulture::DoPublicOpinion()
- CvDealAI::DoAddResourceToThem(CvDeal *, PlayerTypes, bool, int &, int &, int &, int, int, bool)
- CvDealAI::DoAddResourceToUs(CvDeal *, PlayerTypes, bool, int &, int &, int &, int, int, bool)
- CvDealAI::GetResourceValue(ResourceTypes, int, int, bool, PlayerTypes)
- CvDealAI::GetVoteCommitmentValue(bool, PlayerTypes, int, int, int, bool, bool)
- CvDealAI::IsMakeOfferForLuxuryResource(PlayerTypes, CvDeal *)
- CvDeal::IsPossibleToTradeItem(PlayerTypes, PlayerTypes, TradeableItems, int, int, int, bool, bool, bool)
- CvDiplomacyAI::DoSendStatementToPlayer(PlayerTypes, DiploStatementTypes, int, CvDeal *)
- CvDllNetMessageHandler::ResponseLeagueEditName(LeagueTypes, PlayerTypes, const char *)
- CvDllNetMessageHandler::ResponseLeagueProposeEnact(LeagueTypes, ResolutionTypes, PlayerTypes, int)
- CvDllNetMessageHandler::ResponseLeagueProposeRepeal(LeagueTypes, int, PlayerTypes)
- CvDllNetMessageHandler::ResponseLeagueVoteAbstain(LeagueTypes, PlayerTypes, int)
- CvDllNetMessageHandler::ResponseLeagueVoteEnact(LeagueTypes, int, PlayerTypes, int, int)
- CvDllNetMessageHandler::ResponseLeagueVoteRepeal(LeagueTypes, int, PlayerTypes, int, int)
- CvGame::IsResolutionPassed(ResolutionTypes, int) const
- CvGame::IsUnitedNationsActive()
- CvGame::doTurn()
- CvGrandStrategyAI::GetUnitedNationsPriority()
- CvNotifications::IsNotificationExpired(int)
- CvPlayer::GetHappinessFromLuxury(ResourceTypes) const
- CvPlayer::IsAllowedToTradeWith(PlayerTypes)
- CvPlayer::calculateResearchModifier(TechTypes)
- CvPlayer::canMaintain(ProcessTypes, bool) const
- CvPlayer::canTrain(UnitTypes, bool, bool, bool, bool, CvString *) const
- CvPlayer::doTurnPostDiplomacy()
- CvPlayer::recomputeGreatPeopleModifiers()
- CvPlayer::setAlive(bool, bool)
- CvPlot::calculateNatureYield(YieldTypes, TeamTypes, bool) const
- CvGameReligions::GetAdjacentCityReligiousPressure(ReligionTypes, CvCity *, CvCity *, int &, bool)
- CvTeam::processBuilding(BuildingTypes, int, bool)
- CvActiveResolution::DoEffects(PlayerTypes)
- CvActiveResolution::RemoveEffects(PlayerTypes)
- CvLeague::DoProposeEnact(ResolutionTypes, PlayerTypes, int)
- CvLeague::LogProposalResolved(CvEnactProposal *)
- CvLeague::LogProposalResolved(CvRepealProposal *)
- CvLeagueAI::CanCommitVote(PlayerTypes, CvString *)
- CvLeagueAI::EvaluateVoteForTrade(int, int, int, bool)
- CvLeagueAI::FindBestVoteChoices(CvEnactProposal *, VoteConsiderationList &)
- CvLeagueAI::FindBestVoteChoices(CvRepealProposal *, VoteConsiderationList &)
- CvLeagueAI::GetDesiredVoteCommitments(PlayerTypes)
- CvLeagueAI::GetExtraVotesPerCityStateAlly()
- CvLeagueAI::LogVoteChoiceCommitted(CvEnactProposal *, int, int)
- CvLeagueAI::LogVoteChoiceCommitted(CvRepealProposal *, int, int)
- CvLeagueAI::LogVoteChoiceConsidered(CvEnactProposal *, int, int)
- CvLeagueAI::LogVoteChoiceConsidered(CvRepealProposal *, int, int)
- CvLeagueAI::ScoreVoteChoice(CvEnactProposal *, int)
- CvLeagueAI::ScoreVoteChoice(CvRepealProposal *, int)
- CvLeagueAI::ScoreVoteChoicePlayer(CvProposal *, int, bool)
- CvLeagueAI::ScoreVoteChoiceYesNo(CvProposal *, int, bool)
- CvVoterDecision::GetDecision()
- operator>>(FDataStream &, CvResolution &)
- CvLuaCity::lGetLeagueBuildingClassYieldChange(lua_State *)
- CvLuaGame::lGetActiveLeague(lua_State *)
- CvLuaGame::lGetLeague(lua_State *)
- CvLuaGame::lGetNumActiveLeagues(lua_State *)
- CvLuaGame::lGetNumLeaguesEverFounded(lua_State *)