Remove inventory component references (#15249)
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Inventory;
|
||||
|
||||
public abstract class InventoryComponent : Component
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(InventorySystem))]
|
||||
public sealed class InventoryComponent : Component
|
||||
{
|
||||
[DataField("templateId", customTypeSerializer: typeof(PrototypeIdSerializer<InventoryTemplatePrototype>))]
|
||||
public string TemplateId { get; } = "human";
|
||||
|
||||
[DataField("speciesId")] public string? SpeciesId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user