using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.NameIdentifier; /// /// Generates a unique numeric identifier for entities, with specifics controlled by a . /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class NameIdentifierComponent : Component { [DataField] public ProtoId? Group; /// /// The randomly generated ID for this entity. /// [DataField, AutoNetworkedField] public int Identifier = -1; /// /// The full name identifier for this entity. /// [DataField, AutoNetworkedField] public string FullIdentifier = string.Empty; }