Class UserRunoffVote
Inheritance
System.Object
UserRunoffVote
Assembly: Eco.Gameplay.dll
Syntax
public sealed class UserRunoffVote : ValueType
Constructors
UserRunoffVote()
Declaration
UserRunoffVote(User, ElectionChoiceID[])
Declaration
public UserRunoffVote(User user, params ElectionChoiceID[] votes)
Parameters
Properties
RankedVotes
Declaration
public ElectionChoiceID[] RankedVotes { get; set; }
Property Value
Voter
Declaration
public User Voter { get; }
Property Value
VoterID
Declaration
public int VoterID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
TopChoiceOfRemaining(HashSet<ElectionChoiceID>)
Find the first entry chosen of the remaining options.
Declaration
public ElectionChoiceID TopChoiceOfRemaining(HashSet<ElectionChoiceID> availableOptions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.HashSet<ElectionChoiceID> |
availableOptions |
|
Returns
Extension Methods