mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 19:01:13 +03:00
* init * init2 * commend fix * staclallock sadly banned * cleanup * xaml cleanup * one missed when fixing merge * fixes * SubscribeLocalEvent tag to top * xaml cleanuo
35 lines
935 B
C#
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;
|
|
}
|