19
Content.Shared/Labels/Components/PaperLabelComponent.cs
Normal file
19
Content.Shared/Labels/Components/PaperLabelComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Containers.ItemSlots;
|
||||
using Content.Shared.Labels.EntitySystems;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Labels.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component allows you to attach and remove a piece of paper to an entity.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(LabelSystem))]
|
||||
public sealed partial class PaperLabelComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The slot where the label is stored.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ItemSlot LabelSlot = new();
|
||||
}
|
||||
Reference in New Issue
Block a user