using Content.Shared._NF.Research.Prototypes; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; namespace Content.Shared._NF.Lathe; [Serializable, NetSerializable] public sealed class BlueprintLatheUpdateState : BoundUserInterfaceState { public Dictionary, int[]> RecipeBitsetByBlueprintType; public List Queue; public ProtoId? CurrentlyProducing; public BlueprintLatheUpdateState( Dictionary, int[]> recipeBitsetByBlueprintType, List queue, ProtoId? currentlyProducing = null ) { RecipeBitsetByBlueprintType = recipeBitsetByBlueprintType; Queue = queue; CurrentlyProducing = currentlyProducing; } } /// /// Sent to the server when a client queues a new recipe. /// [Serializable, NetSerializable] public sealed class BlueprintLatheQueueRecipeMessage : BoundUserInterfaceMessage { public readonly string BlueprintType; public readonly int[] Recipes; public readonly int Quantity; public BlueprintLatheQueueRecipeMessage(string blueprintType, int[] recipes, int quantity) { BlueprintType = blueprintType; Recipes = recipes; Quantity = quantity; } } [NetSerializable, Serializable] public enum BlueprintLatheUiKey { Key, }