using Content.Shared.Labels.EntitySystems; 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] [Access(typeof(LabelSystem))] public sealed partial class LabelComponent : Component { /// /// Current text on the label. /// Do not use this in entity prototypes - use instead. /// [DataField, AutoNetworkedField] public string? CurrentLabel { get; set; } /// /// Localization ID used to set on map init. /// Use this in entity prototypes. /// [DataField] public LocId? LocalizedLabel { get; set; } /// /// Should the label show up in the examine menu? /// [DataField, AutoNetworkedField] public bool Examinable = true; }