Show / Hide Table of Contents

Class WorkOrderAction

Inheritance
System.Object
GameAction
AggregatableAction
WorkOrderAction
AddToWorkOrderAction
CreateWorkOrder
LaborWorkOrderAction
Implements
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IWorkOrderGameAction
IUserGameAction
IPositionGameAction
IWorldObjectGameAction
IAuthGameAction
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 abstract class WorkOrderAction : AggregatableAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IWorkOrderGameAction, IUserGameAction, IPositionGameAction, IWorldObjectGameAction, IAuthGameAction, IController, IViewController, IHasUniversalID, IDynamicPreventability

Constructors

WorkOrderAction()

Declaration
protected WorkOrderAction()

Properties

AccessNeeded

Declaration
public AccessType AccessNeeded { get; set; }
Property Value
Type Description
AccessType

ActionLocation

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

Byproduct

Declaration
[CanAutoAssign]
public Item Byproduct { get; }
Property Value
Type Description
Item

Citizen

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

CraftedItem

Declaration
public Item CraftedItem { get; }
Property Value
Type Description
Item

OrderCount

Declaration
public float OrderCount { get; }
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

WorkOrder

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

WorldObject

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

WorldObjectItem

Declaration
[ConfigNameLoc("Crafting Table")]
public Item WorldObjectItem { get; set; }
Property Value
Type Description
Item

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
IWorkOrderGameAction
IUserGameAction
IPositionGameAction
IWorldObjectGameAction
IAuthGameAction
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
☀
☾