using Content.Shared._NF.ShuttleRecords; using Robust.Shared.GameStates; namespace Content.Shared._NF.Shipyard.Components; /// /// Tied to an ID card when a ship is purchased. 1 ship per captain. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] [Access(typeof(SharedShipyardSystem), typeof(SharedShuttleRecordsSystem))] public sealed partial class ShuttleDeedComponent : Component { public const int MaxNameLength = 30; public const int MaxSuffixLength = 3 + 1 + 4; // 3 digits, dash, up to 4 letters - should be enough [DataField, AutoNetworkedField] public EntityUid? ShuttleUid = null; [DataField, AutoNetworkedField] public string? ShuttleName = "Unknown"; [DataField("shuttleSuffix"), AutoNetworkedField] public string? ShuttleNameSuffix; [DataField, AutoNetworkedField] public string? ShuttleOwner = "Unknown"; [DataField, AutoNetworkedField] public bool PurchasedWithVoucher; }