DockingConfig.cs 721 B

12345678910111213141516171819202122232425262728
  1. using Content.Server.Shuttles.Components;
  2. using Robust.Shared.Map;
  3. namespace Content.Server.Shuttles;
  4. /// <summary>
  5. /// Stores the data for a valid docking configuration for the emergency shuttle
  6. /// </summary>
  7. public sealed class DockingConfig
  8. {
  9. /// <summary>
  10. /// The pairs of docks that can connect.
  11. /// </summary>
  12. public List<(EntityUid DockAUid, EntityUid DockBUid, DockingComponent DockA, DockingComponent DockB)> Docks = new();
  13. /// <summary>
  14. /// Target grid for docking.
  15. /// </summary>
  16. public EntityUid TargetGrid;
  17. /// <summary>
  18. /// This is used for debugging.
  19. /// </summary>
  20. public Box2 Area;
  21. public EntityCoordinates Coordinates;
  22. public Angle Angle;
  23. }