Show / Hide Table of Contents

Class SelectionStorageComponent

Generic selection storage

Inheritance
System.Object
WorldObjectComponent
StorageComponent
InteractableStorage
SelectionStorageComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
IInventoryWorldObjectComponent
IPermanentDestroyHandler
ICanOverrideAuth
IHasEnvVars
Inherited Members
InteractableStorage.Initialize()
InteractableStorage.TakeItem(Player, InteractionTriggerInfo, InteractionTarget)
InteractableStorage.PutItem(Player, InteractionTriggerInfo, InteractionTarget)
InteractableStorage.HoldingTool(User)
InteractableStorage.CanTake(User)
InteractableStorage.CanPut(User)
InteractableStorage.Take(User, InteractionTarget, Boolean)
InteractableStorage.GetItemsUserCanTake(WorldObject, User, Item, Item, Boolean, Func<ItemStack, Item, Boolean>)
InteractableStorage.CanTakeAll
StorageComponent.PostInitialize()
StorageComponent.Destroy()
StorageComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
StorageComponent.FindItemCantContain(IEnumerable<ItemStack>)
StorageComponent.ShouldOverrideAuth(IAlias, IOwned, GameAction)
StorageComponent.ConsolidateInventory(User)
StorageComponent.IconName
StorageComponent.HiddenFromUI
StorageComponent.Inventories
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.OnCreate()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnComponentAddedPostInit(WorldObjectComponent)
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
WorldObjectComponent.Availability
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components.Storage
Assembly: Eco.Gameplay.dll
Syntax
public class SelectionStorageComponent : InteractableStorage, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IInventoryWorldObjectComponent, IPermanentDestroyHandler, ICanOverrideAuth, IHasEnvVars

Constructors

SelectionStorageComponent()

Declaration
public SelectionStorageComponent()

Properties

Inventory

Declaration
public override Inventory Inventory { get; }
Property Value
Type Description
Inventory
Overrides
StorageComponent.Inventory

Storage

Declaration
public Inventory Storage { get; }
Property Value
Type Description
Inventory

Methods

CreateInventory(Int32, Int32, InventoryRestriction[])

Need to be called when create object(in its Initialize) with this component

Declaration
public void CreateInventory(int numSlots, int maxWeight, params InventoryRestriction[] restrictions)
Parameters
Type Name Description
System.Int32 numSlots
System.Int32 maxWeight
InventoryRestriction[] restrictions

Implements

ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions
IInventoryWorldObjectComponent
IPermanentDestroyHandler
ICanOverrideAuth
IHasEnvVars

Extension Methods

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