using Content.Shared.Shuttles.BUIStates;
using Content.Shared.Shuttles.Components;
using Robust.Shared.Physics.Dynamics.Joints;
namespace Content.Server.Shuttles.Components;
[RegisterComponent]
public sealed partial class DockingComponent : SharedDockingComponent
{
[DataField]
public EntityUid? DockedWith;
[ViewVariables]
public Joint? DockJoint;
[DataField]
public string? DockJointId;
[ViewVariables]
public override bool Docked => DockedWith != null;
///
/// Color that gets shown on the radar screen.
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public Color RadarColor = Color.DarkViolet;
///
/// Color that gets shown on the radar screen in DOCK tab when the dock is highlighted
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public Color HighlightedRadarColor = Color.Magenta;
[ViewVariables]
public int PathfindHandle = -1;
///
/// The category of the dock, used to determine what kind of dock it is for the purposes of the radar screen legend
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public LegendCategory DockLegendCategory = LegendCategory.General;
}