Files
tbd-station-14/Content.Shared/Shuttles/BUIStates/DockingPortState.cs
UpAndLeaves 9b6cb79fa2 Fix dock radar colours (#38942)
* Fix docking colours

* Add comments and fallback

* Better comments!
2025-08-12 13:09:00 -07:00

31 lines
849 B
C#

using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Shuttles.BUIStates;
/// <summary>
/// State of each individual docking port for interface purposes
/// </summary>
[Serializable, NetSerializable]
public sealed class DockingPortState
{
public string Name = string.Empty;
public NetCoordinates Coordinates;
public Angle Angle;
public NetEntity Entity;
public bool Connected => GridDockedWith != null;
public NetEntity? GridDockedWith;
/// <summary>
/// The default colour used to shade a dock on a radar screen
/// </summary>
public Color Color;
/// <summary>
/// The colour used to shade a dock on a radar screen if it is highlighted (hovered over/selected on docking screen/shown in the main ship radar)
/// </summary>
public Color HighlightedColor;
}