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