Class Vote
Inheritance
System.Object
Vote
Assembly: Eco.Gameplay.dll
Syntax
public class Vote : ElectionAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IUserGameAction, IController, IViewController, IHasUniversalID, IDynamicPreventability
Constructors
Vote()
Declaration
Properties
VotedForUser
Declaration
public User VotedForUser { get; set; }
Property Value
VoteType
Declaration
public VoteType VoteType { get; set; }
Property Value
Methods
CanPrevent(LawSection)
Declaration
public Result CanPrevent(LawSection section)
Parameters
Returns
CanPreventStatic(LawSection)
Declaration
public static Result CanPreventStatic(LawSection section)
Parameters
Returns
Implements
Extension Methods