Files
tbd-station-14/Content.Server/Shuttles/Components/DockingComponent.cs
2022-05-13 17:59:03 +10:00

20 lines
477 B
C#

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]
public override bool Docked => DockedWith != null;
}
}