using Content.Shared.Shuttles.Components;
using Robust.Shared.Physics.Dynamics.Joints;
namespace Content.Server.Shuttles.Components
{
[RegisterComponent]
public sealed class DockingComponent : SharedDockingComponent
{
[ViewVariables]
[DataField("dockedWith")]
public EntityUid? DockedWith;
[ViewVariables]
public Joint? DockJoint;
[ViewVariables, 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.DarkViolet;
///
/// Color that gets shown on the radar screen when the dock is highlighted.
///
[ViewVariables(VVAccess.ReadWrite), DataField("highlightedRadarColor")]
public Color HighlightedRadarColor = Color.Magenta;
[ViewVariables]
public int PathfindHandle = -1;
}
}