Show / Hide Table of Contents

Class Play

Inheritance
System.Object
GameAction
AggregatableAction
Play
Implements
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IUserGameAction
IPositionGameAction
IController
IViewController
IHasUniversalID
IDynamicPreventability
Inherited Members
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 Play : AggregatableAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IUserGameAction, IPositionGameAction, IController, IViewController, IHasUniversalID, IDynamicPreventability

Constructors

Play()

Declaration
public Play()

Properties

ActionLocation

Declaration
public Vector3i ActionLocation { get; set; }
Property Value
Type Description
Vector3i

Citizen

Declaration
[CanAutoAssign]
public User Citizen { get; set; }
Property Value
Type Description
User

SecondsPassed

Declaration
public float SecondsPassed { get; set; }
Property Value
Type Description
System.Single

SettlementScopes

Declaration
public override IEnumerable<Settlement> SettlementScopes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Settlement>
Overrides
GameAction.SettlementScopes

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
IPositionGameAction
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
☀
☾