Inventory slot enumerator rejig (#21788)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Inventory;
|
||||
@@ -11,4 +12,7 @@ public sealed partial class InventoryComponent : Component
|
||||
public string TemplateId { get; private set; } = "human";
|
||||
|
||||
[DataField("speciesId")] public string? SpeciesId { get; set; }
|
||||
|
||||
public SlotDefinition[] Slots = Array.Empty<SlotDefinition>();
|
||||
public ContainerSlot[] Containers = Array.Empty<ContainerSlot>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user