using Robust.Shared.GameStates; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; namespace Content.Shared.Security.Components; /// /// This is used for a locker that automatically sets up and handles a /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class GenpopLockerComponent : Component { public const int MaxCrimeLength = 48; /// /// The that this locker is currently associated with. /// [DataField, AutoNetworkedField] public EntityUid? LinkedId; /// /// The Prototype spawned. /// [DataField] public EntProtoId IdCardProto = "PrisonerIDCard"; } [Serializable, NetSerializable] public sealed class GenpopLockerIdConfiguredMessage : BoundUserInterfaceMessage { public string Name; public float Sentence; public string Crime; public GenpopLockerIdConfiguredMessage(string name, float sentence, string crime) { Name = name; Sentence = sentence; Crime = crime; } } [Serializable, NetSerializable] public enum GenpopLockerUiKey : byte { Key }