CatStation/Content.Server/Shuttles/Components/DockingComponent.cs
InsoPL 6306707cfd
Nav console code cleanup (#44636)
* init

* init2

* commend fix

* staclallock sadly banned

* cleanup

* xaml cleanup

* one missed when fixing  merge

* fixes

* SubscribeLocalEvent tag to top

* xaml cleanuo
2026-07-13 18:19:36 +00:00

35 lines
935 B
C#

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;
/// <summary>
/// Color that gets shown on the radar screen.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public Color RadarColor = Color.DarkViolet;
/// <summary>
/// Color that gets shown on the radar screen in DOCK tab when the dock is highlighted
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public Color HighlightedRadarColor = Color.Magenta;
[ViewVariables]
public int PathfindHandle = -1;
}