Show / Hide Table of Contents

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 Source

Slots

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>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾