using Robust.Shared.GameStates; namespace Content.Shared.Labels.Components; /// /// Makes entities have a label in their name. Labels are normally given by /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class LabelComponent : Component { /// /// Current text on the label. If set before map init, during map init this string will be localized. /// This permits localized preset labels with fallback to the text written on the label. /// [DataField, AutoNetworkedField] public string? CurrentLabel { get; set; } /// /// The original name of the entity /// Used for reverting the modified entity name when the label is removed /// [DataField, AutoNetworkedField] public string? OriginalName { get; set; } }