CvProposerDecision::GetDecision()
- Defined in
- CvVotingClasses.cpp, line 577
- Class
- CvProposerDecision
- Hook name
CivHooks::CvProposerDecision_GetDecision- Overrides
- CvResolutionDecision::GetDecision()
Hooks
static bool BeforeCvProposerDecision_GetDecision(CvProposerDecision* self, int& result);static void AfterCvProposerDecision_GetDecision(CvProposerDecision* self, int& result);static int ReplaceCvProposerDecision_GetDecision(int (*original)(CvProposerDecision*), CvProposerDecision* self);CivRegisterBefore<CivHooks::CvProposerDecision_GetDecision>(host, &BeforeCvProposerDecision_GetDecision);CivRegisterAfter<CivHooks::CvProposerDecision_GetDecision>(host, &AfterCvProposerDecision_GetDecision);CivRegisterReplace<CivHooks::CvProposerDecision_GetDecision>(host, &ReplaceCvProposerDecision_GetDecision);
Code
577int CvProposerDecision::GetDecision()578{579 return m_sVote.iChoice;580}
Called by
- CvActiveResolution::DoEffects(PlayerTypes)
- CvActiveResolution::RemoveEffects(PlayerTypes)
- CvLeague::CheckProposalsValid()
- CvLeague::CheckResolutionsValid()
- CvLeague::GetCityTourismModifier(const CvCity *)
- CvLeague::GetCurrentEffectsSummary(PlayerTypes)
- CvLeague::GetExtraVotesForFollowingIdeology(PlayerTypes)
- CvLeague::GetExtraVotesForFollowingReligion(PlayerTypes)
- CvLeague::GetPressureForIdeology(PolicyBranchTypes)
- CvLeague::GetReligionSpreadStrengthModifier(ReligionTypes)
- CvLeague::IsActiveResolution(ResolutionTypes, int)
- CvLeague::IsEnactProposed(ResolutionTypes, int)
- CvLeague::IsLuxuryHappinessBanned(ResourceTypes)
- CvLeague::IsPlayerEmbargoed(PlayerTypes)
- CvLeague::IsTradeEmbargoed(PlayerTypes, PlayerTypes)
- CvLeague::NotifyProposalResult(CvEnactProposal *)
- CvLeague::NotifyProposalResult(CvRepealProposal *)
- CvLeague::NotifySessionSoon(int)
- CvLeagueAI::AllocateVotes(CvLeague *)
- CvLeagueAI::GetDesiredVoteCommitments(PlayerTypes)
- CvLeagueAI::ScoreVoteChoiceYesNo(CvProposal *, int, bool)
- CvResolution::GetName()
- CvLuaLeague::lResolutionTableHelper(lua_State *, const int, CvResolution &)