Show / Hide Table of Contents

Class InventoryAction

Inheritance
System.Object
GameAction
AggregatableAction
InteractAction
WorldObjectInteractAction
InventoryAction
Implements
IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IUserGameAction
IPositionGameAction
IAuthGameAction
ISyncedAction
IWorldObjectGameAction
IItemTransferGameAction
IItemGameAction
IController
IViewController
IHasUniversalID
Inherited Members
WorldObjectInteractAction.WorldObject
WorldObjectInteractAction.WorldObjectItem
WorldObjectInteractAction.IsVehicle
WorldObjectInteractAction.OverrideHierarchyActionsToConsumer
InteractAction.Citizen
InteractAction.ActionLocation
InteractAction.AccessNeeded
InteractAction.SettlementScopes
InteractAction.SyncObject
AggregatableAction.AggregateFrom(IAggregatableStat)
AggregatableAction.Count
GameAction.StatKey
GameAction.AuthIgnored
GameAction._id
GameAction.Time
GameAction.MarkedUpName
GameAction.StatType
GameAction.DryRun
GameAction.ControllerID
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
[ChangeParentConfigLoc]
public class InventoryAction : WorldObjectInteractAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IUserGameAction, IPositionGameAction, IAuthGameAction, ISyncedAction, IWorldObjectGameAction, IItemTransferGameAction, IItemGameAction, IController, IViewController, IHasUniversalID

Constructors

InventoryAction()

Declaration
public InventoryAction()

Properties

ActionType

Declaration
public InventoryActionType ActionType { get; set; }
Property Value
Type Description
InventoryActionType

ChangeInItemCount

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

ItemsMoved

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

ItemUsed

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

TargetInventory

Declaration
public Inventory TargetInventory { get; set; }
Property Value
Type Description
Inventory

Implements

IContextObject
IAggregatableStat
ICountStat
IActionStat
IStat
IUserGameAction
IPositionGameAction
IAuthGameAction
ISyncedAction
IWorldObjectGameAction
IItemTransferGameAction
IItemGameAction
IController
IViewController
IHasUniversalID

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