Show / Hide Table of Contents

Class Vote

Inheritance
System.Object
GameAction
AggregatableAction
ElectionAction
Vote
Implements
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IUserGameAction
IController
IViewController
IHasUniversalID
IDynamicPreventability
Inherited Members
ElectionAction.Citizen
ElectionAction.Election
ElectionAction.ElectionProcess
ElectionAction.SettlementScopes
AggregatableAction.AggregateFrom(IAggregatableStat)
AggregatableAction.Count
GameAction.StatKey
GameAction.AuthIgnored
GameAction._id
GameAction.Time
GameAction.MarkedUpName
GameAction.StatType
GameAction.ControllerID
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
public class Vote : ElectionAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IUserGameAction, IController, IViewController, IHasUniversalID, IDynamicPreventability

Constructors

Vote()

Declaration
public Vote()

Properties

VotedForUser

Declaration
public User VotedForUser { get; set; }
Property Value
Type Description
User

VoteType

Declaration
public VoteType VoteType { get; set; }
Property Value
Type Description
VoteType

Methods

CanPrevent(LawSection)

Declaration
public Result CanPrevent(LawSection section)
Parameters
Type Name Description
LawSection section
Returns
Type Description
Result

CanPreventStatic(LawSection)

Declaration
public static Result CanPreventStatic(LawSection section)
Parameters
Type Name Description
LawSection section
Returns
Type Description
Result

Implements

IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IUserGameAction
IController
IViewController
IHasUniversalID
IDynamicPreventability

Extension Methods

GameActionExtensions.AffectedDeeds(GameAction)
GameActionExtensions.Fill(GameAction, MultiblockActionContext, WrappedWorldPosition3i, Item)
GameActionExtensions.Fill(GameAction, User, Item, WrappedWorldPosition3i, Nullable<AccessType>, Item)
GameActionManager.TryPerform(GameAction, User)
TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾