using Content.Shared.Shuttles.Components;
using Robust.Shared.Physics.Dynamics.Joints;
namespace Content.Server.Shuttles.Components
{
[RegisterComponent]
public sealed partial class DockingComponent : SharedDockingComponent
{
[DataField("dockedWith")]
public EntityUid? DockedWith;
[ViewVariables]
public Joint? DockJoint;
[DataField("dockJointId")]
public string? DockJointId;
[ViewVariables]
public override bool Docked => DockedWith != null;
///
/// Color that gets shown on the radar screen.
///
[ViewVariables(VVAccess.ReadWrite), DataField("radarColor")]
public Color RadarColor = Color.Purple; // Frontier: DarkViolet
/// Color that gets shown on the radar screen when the dock is highlighted.
///
[ViewVariables(VVAccess.ReadWrite), DataField("highlightedRadarColor")]
public Color HighlightedRadarColor = Color.Magenta;
///
/// Name that is shown on the radar screen for this dock, if any.
///
[ViewVariables(VVAccess.ReadWrite), DataField("name")]
public string? Name = null;
[ViewVariables]
public int PathfindHandle = -1;
}
}