Class ItemSlotsComponent
Used for entities that can hold items in different slots. Needed by ItemSlotSystem to support basic insert/eject interactions.
Inheritance
System.Object
ItemSlotsComponent
Namespace: Content.Shared.Containers.ItemSlots
Assembly: Content.Shared.dll
Syntax
public sealed class ItemSlotsComponent : Component
Fields
| Improve this Doc View SourceSlots
The dictionary that stores all of the item slots whose interactions will be managed by the ItemSlotsSystem.
Declaration
public Dictionary<string, ItemSlot> Slots
Field Value
Type | Description |
---|---|
Dictionary<System.String, ItemSlot> |