Adds hand labelers (#4903)
* Adds hand labelers * Removes unnecessary thing * Docs * Reverts some changes * Addresses comments and adds inhand sprites * Addressed comments Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
18
Content.Server/HandLabeler/Components/LabelComponent.cs
Normal file
18
Content.Server/HandLabeler/Components/LabelComponent.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.HandLabeler.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class LabelComponent : Component
|
||||
{
|
||||
public override string Name => "Label";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("currentLabel")]
|
||||
public string? CurrentLabel { get; set; }
|
||||
|
||||
public string? OriginalName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user