* Fix bug with undeletable label on jugs * Fix label text for jugs * Documented LabelComponent * Revert "Fix label text for jugs" This reverts commit 38b7cc75ca51770b3693d0cef4f0364424619b73. * make jugs labels names lowercase * Fix documentation of LabelComponent
20 lines
589 B
C#
20 lines
589 B
C#
namespace Content.Server.Labels.Components
|
|
{
|
|
/// <summary>
|
|
/// Makes entities have a label in their name. Labels are normally given by <see cref="HandLabelerComponent"/>
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class LabelComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The actual text in the label
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("currentLabel")]
|
|
public string? CurrentLabel { get; set; }
|
|
|
|
[DataField("originalName")]
|
|
public string? OriginalName { get; set; }
|
|
}
|
|
}
|