20 lines
539 B
C#
20 lines
539 B
C#
using Content.Shared.Whitelist;
|
|
|
|
namespace Content.Server.Labels.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed class HandLabelerComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("assignedLabel")]
|
|
public string AssignedLabel { get; set; } = string.Empty;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("maxLabelChars")]
|
|
public int MaxLabelChars { get; set; } = 50;
|
|
|
|
[DataField("whitelist")]
|
|
public EntityWhitelist Whitelist = new();
|
|
}
|
|
}
|