Inherited by TaleWorlds.CampaignSystem.Election.DeclareWarDecision, TaleWorlds.CampaignSystem.Election.ExpelClanFromKingdomDecision, TaleWorlds.CampaignSystem.Election.KingSelectionKingdomDecision, TaleWorlds.CampaignSystem.Election.KingdomPolicyDecision, TaleWorlds.CampaignSystem.Election.MakePeaceKingdomDecision, TaleWorlds.CampaignSystem.Election.SettlementClaimantDecision, and TaleWorlds.CampaignSystem.Election.SettlementClaimantPreliminaryDecision.
|
abstract bool | IsAllowed () |
|
int | GetInfluenceCost (Clan sponsorClan) |
|
abstract int | GetProposalInfluenceCost () |
|
abstract TextObject | GetGeneralTitle () |
|
abstract TextObject | GetSupportTitle () |
|
abstract TextObject | GetChooseTitle () |
|
abstract TextObject | GetSupportDescription () |
|
abstract TextObject | GetChooseDescription () |
|
virtual float | CalculateMeritOfOutcome (DecisionOutcome candidateOutcome) |
|
abstract IEnumerable< DecisionOutcome > | DetermineInitialCandidates () |
|
MBList< DecisionOutcome > | NarrowDownCandidates (MBList< DecisionOutcome > initialCandidates, int maxCandidateCount) |
|
abstract Clan | DetermineChooser () |
|
IEnumerable< Supporter > | DetermineSupporters () |
|
bool | ShouldBeCancelled () |
|
DecisionOutcome | DetermineSupportOption (Supporter supporter, MBReadOnlyList< DecisionOutcome > possibleOutcomes, out Supporter.SupportWeights supportWeightOfSelectedOutcome, bool calculateRelationshipEffect) |
|
abstract float | DetermineSupport (Clan clan, DecisionOutcome possibleOutcome) |
|
abstract void | DetermineSponsors (MBReadOnlyList< DecisionOutcome > possibleOutcomes) |
|
abstract void | ApplyChosenOutcome (DecisionOutcome chosenOutcome) |
|
int | GetInfluenceCost (DecisionOutcome decisionOutcome, Clan clan, Supporter.SupportWeights supportWeight) |
|
abstract TextObject | GetSecondaryEffects () |
|
abstract void | ApplySecondaryEffects (MBReadOnlyList< DecisionOutcome > possibleOutcomes, DecisionOutcome chosenOutcome) |
|
abstract TextObject | GetChosenOutcomeText (DecisionOutcome chosenOutcome, SupportStatus supportStatus, bool isShortVersion=false) |
|
MBList< DecisionOutcome > | SortDecisionOutcomes (MBReadOnlyList< DecisionOutcome > possibleOutcomes) |
|
abstract DecisionOutcome | GetQueriedDecisionOutcome (MBReadOnlyList< DecisionOutcome > possibleOutcomes) |
|
bool | IsSingleClanDecision () |
|
virtual float | CalculateRelationshipEffectWithSponsor (Clan clan) |
|
int | GetInfluenceCostOfSupport (Clan clan, Supporter.SupportWeights supportWeight) |
|
virtual bool | OnShowDecision () |
|
virtual KingdomDecision | GetFollowUpDecision () |
|
◆ SupportStatus
Enumerator |
---|
Equal | |
Majority | |
Minority | |
◆ KingdomDecision()
TaleWorlds.CampaignSystem.Election.KingdomDecision.KingdomDecision |
( |
Clan |
proposerClan | ) |
|
|
protected |
◆ IsAllowed()
abstract bool TaleWorlds.CampaignSystem.Election.KingdomDecision.IsAllowed |
( |
| ) |
|
|
pure virtual |
◆ GetInfluenceCost() [1/2]
int TaleWorlds.CampaignSystem.Election.KingdomDecision.GetInfluenceCost |
( |
Clan |
sponsorClan | ) |
|
◆ GetProposalInfluenceCost()
abstract int TaleWorlds.CampaignSystem.Election.KingdomDecision.GetProposalInfluenceCost |
( |
| ) |
|
|
pure virtual |
◆ GetGeneralTitle()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetGeneralTitle |
( |
| ) |
|
|
pure virtual |
◆ GetSupportTitle()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetSupportTitle |
( |
| ) |
|
|
pure virtual |
◆ GetChooseTitle()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetChooseTitle |
( |
| ) |
|
|
pure virtual |
◆ GetSupportDescription()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetSupportDescription |
( |
| ) |
|
|
pure virtual |
◆ GetChooseDescription()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetChooseDescription |
( |
| ) |
|
|
pure virtual |
◆ CalculateMeritOfOutcome()
virtual float TaleWorlds.CampaignSystem.Election.KingdomDecision.CalculateMeritOfOutcome |
( |
DecisionOutcome |
candidateOutcome | ) |
|
|
virtual |
◆ DetermineInitialCandidates()
abstract IEnumerable< DecisionOutcome > TaleWorlds.CampaignSystem.Election.KingdomDecision.DetermineInitialCandidates |
( |
| ) |
|
|
pure virtual |
◆ NarrowDownCandidates()
◆ DetermineChooser()
abstract Clan TaleWorlds.CampaignSystem.Election.KingdomDecision.DetermineChooser |
( |
| ) |
|
|
pure virtual |
◆ DetermineSupporters()
IEnumerable< Supporter > TaleWorlds.CampaignSystem.Election.KingdomDecision.DetermineSupporters |
( |
| ) |
|
◆ ShouldBeCancelledInternal()
virtual bool TaleWorlds.CampaignSystem.Election.KingdomDecision.ShouldBeCancelledInternal |
( |
| ) |
|
|
protectedvirtual |
◆ CanProposerClanChangeOpinion()
virtual bool TaleWorlds.CampaignSystem.Election.KingdomDecision.CanProposerClanChangeOpinion |
( |
| ) |
|
|
protectedvirtual |
◆ ShouldBeCancelled()
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.ShouldBeCancelled |
( |
| ) |
|
◆ DetermineSupportOption()
◆ DetermineSupport()
abstract float TaleWorlds.CampaignSystem.Election.KingdomDecision.DetermineSupport |
( |
Clan |
clan, |
|
|
DecisionOutcome |
possibleOutcome |
|
) |
| |
|
pure virtual |
◆ DetermineSponsors()
◆ AssignDefaultSponsor()
void TaleWorlds.CampaignSystem.Election.KingdomDecision.AssignDefaultSponsor |
( |
DecisionOutcome |
outcome | ) |
|
|
protected |
◆ ApplyChosenOutcome()
abstract void TaleWorlds.CampaignSystem.Election.KingdomDecision.ApplyChosenOutcome |
( |
DecisionOutcome |
chosenOutcome | ) |
|
|
pure virtual |
◆ GetInfluenceCost() [2/2]
◆ GetSecondaryEffects()
abstract TextObject TaleWorlds.CampaignSystem.Election.KingdomDecision.GetSecondaryEffects |
( |
| ) |
|
|
pure virtual |
◆ ApplySecondaryEffects()
◆ GetChosenOutcomeText()
◆ SortDecisionOutcomes()
◆ GetQueriedDecisionOutcome()
◆ IsSingleClanDecision()
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.IsSingleClanDecision |
( |
| ) |
|
◆ CalculateRelationshipEffectWithSponsor()
virtual float TaleWorlds.CampaignSystem.Election.KingdomDecision.CalculateRelationshipEffectWithSponsor |
( |
Clan |
clan | ) |
|
|
virtual |
◆ GetInfluenceCostOfSupport()
◆ GetInfluenceCostOfSupportInternal()
virtual int TaleWorlds.CampaignSystem.Election.KingdomDecision.GetInfluenceCostOfSupportInternal |
( |
Supporter::SupportWeights |
supportWeight | ) |
|
|
protectedvirtual |
◆ OnShowDecision()
virtual bool TaleWorlds.CampaignSystem.Election.KingdomDecision.OnShowDecision |
( |
| ) |
|
|
virtual |
◆ GetFollowUpDecision()
virtual KingdomDecision TaleWorlds.CampaignSystem.Election.KingdomDecision.GetFollowUpDecision |
( |
| ) |
|
|
virtual |
◆ SupportStatusOfFinalDecision
SupportStatus TaleWorlds.CampaignSystem.Election.KingdomDecision.SupportStatusOfFinalDecision |
◆ Kingdom
Kingdom TaleWorlds.CampaignSystem.Election.KingdomDecision.Kingdom |
|
get |
◆ ProposerClan
Clan TaleWorlds.CampaignSystem.Election.KingdomDecision.ProposerClan |
|
get |
◆ IsEnforced
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.IsEnforced |
|
getset |
◆ PlayerExamined
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.PlayerExamined |
|
getset |
◆ NotifyPlayer
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.NotifyPlayer |
|
getset |
◆ IsPlayerParticipant
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.IsPlayerParticipant |
|
get |
◆ TriggerTime
CampaignTime TaleWorlds.CampaignSystem.Election.KingdomDecision.TriggerTime |
|
getprotected set |
◆ IsKingsVoteAllowed
virtual bool TaleWorlds.CampaignSystem.Election.KingdomDecision.IsKingsVoteAllowed |
|
get |
◆ HoursToWait
virtual int TaleWorlds.CampaignSystem.Election.KingdomDecision.HoursToWait |
|
getprotected |
◆ NeedsPlayerResolution
bool TaleWorlds.CampaignSystem.Election.KingdomDecision.NeedsPlayerResolution |
|
get |