using Robust.Shared.Serialization; namespace Content.Shared._NF.Shipyard.BUI; [NetSerializable, Serializable] public sealed class ShipyardConsoleInterfaceState : BoundUserInterfaceState { public int Balance; public readonly bool AccessGranted; public readonly string? ShipDeedTitle; public int ShipSellValue; public readonly bool IsTargetIdPresent; public readonly byte UiKey; public readonly (List available, List unavailable) ShipyardPrototypes; public readonly string ShipyardName; public readonly bool FreeListings; public readonly float SellRate; public ShipyardConsoleInterfaceState( int balance, bool accessGranted, string? shipDeedTitle, int shipSellValue, bool isTargetIdPresent, byte uiKey, (List available, List unavailable) shipyardPrototypes, string shipyardName, bool freeListings, float sellRate) { Balance = balance; AccessGranted = accessGranted; ShipDeedTitle = shipDeedTitle; ShipSellValue = shipSellValue; IsTargetIdPresent = isTargetIdPresent; UiKey = uiKey; ShipyardPrototypes = shipyardPrototypes; ShipyardName = shipyardName; FreeListings = freeListings; SellRate = sellRate; } }