VendingMachineInterfaceState.cs 524 B

12345678910111213141516171819202122
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.VendingMachines
  3. {
  4. [Serializable, NetSerializable]
  5. public sealed class VendingMachineEjectMessage : BoundUserInterfaceMessage
  6. {
  7. public readonly InventoryType Type;
  8. public readonly string ID;
  9. public VendingMachineEjectMessage(InventoryType type, string id)
  10. {
  11. Type = type;
  12. ID = id;
  13. }
  14. }
  15. [Serializable, NetSerializable]
  16. public enum VendingMachineUiKey
  17. {
  18. Key,
  19. }
  20. }