Class ElectionResult
Inheritance
System.Object
ElectionResult
Assembly: Eco.Gameplay.dll
Syntax
public class ElectionResult : Object
Constructors
ElectionResult()
Declaration
Fields
CachedAllVotes
Data about all votes, filled in on-demand.
Declaration
public LocString CachedAllVotes
Field Value
NoVotes
Declaration
Field Value
Type |
Description |
System.Single |
|
SimpleResults
Declaration
public SimpleResult[] SimpleResults
Field Value
YesVotes
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
Description
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
Finished
Declaration
public bool Finished { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LosingUsers
Declaration
public User[] LosingUsers { get; set; }
Property Value
Passed
Declaration
public bool Passed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RoundResultsForEachChoice
Each voting round, sorted in descending order based on final results.
Declaration
public RoundsForChoice[] RoundResultsForEachChoice { get; set; }
Property Value
Tied
Declaration
public bool Tied { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Vetoed
Declaration
public bool Vetoed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Vetoer
Declaration
public User Vetoer { get; set; }
Property Value
Voters
Declaration
public User[] Voters { get; set; }
Property Value
WinningChoiceNames
Declaration
public string[] WinningChoiceNames { get; set; }
Property Value
Type |
Description |
System.String[] |
|
WinningChoices
Declaration
public ElectionChoiceID[] WinningChoices { get; set; }
Property Value
WinningUsers
Declaration
public User[] WinningUsers { get; set; }
Property Value
Extension Methods