ShuttleMapInterfaceState.cs 1007 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Content.Shared.Shuttles.Systems;
  2. using Content.Shared.Shuttles.UI.MapObjects;
  3. using Content.Shared.Timing;
  4. using Robust.Shared.Serialization;
  5. namespace Content.Shared.Shuttles.BUIStates;
  6. /// <summary>
  7. /// Handles BUI data for Map screen.
  8. /// </summary>
  9. [Serializable, NetSerializable]
  10. public sealed class ShuttleMapInterfaceState
  11. {
  12. /// <summary>
  13. /// The current FTL state.
  14. /// </summary>
  15. public readonly FTLState FTLState;
  16. /// <summary>
  17. /// When the current FTL state starts and ends.
  18. /// </summary>
  19. public StartEndTime FTLTime;
  20. public List<ShuttleBeaconObject> Destinations;
  21. public List<ShuttleExclusionObject> Exclusions;
  22. public ShuttleMapInterfaceState(
  23. FTLState ftlState,
  24. StartEndTime ftlTime,
  25. List<ShuttleBeaconObject> destinations,
  26. List<ShuttleExclusionObject> exclusions)
  27. {
  28. FTLState = ftlState;
  29. FTLTime = ftlTime;
  30. Destinations = destinations;
  31. Exclusions = exclusions;
  32. }
  33. }