Docking serialization (#6086)

This commit is contained in:
metalgearsloth
2022-01-12 00:47:13 +11:00
committed by GitHub
parent 62221d7b92
commit 4ddd55f2d6
2 changed files with 55 additions and 30 deletions

View File

@@ -1,7 +1,8 @@
using Content.Shared.Shuttles;
using Content.Shared.Shuttles.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Physics.Dynamics.Joints;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Shuttles.Components
@@ -10,7 +11,8 @@ namespace Content.Server.Shuttles.Components
public sealed class DockingComponent : SharedDockingComponent
{
[ViewVariables]
public DockingComponent? DockedWith;
[DataField("dockedWith")]
public EntityUid? DockedWith;
[ViewVariables]
public Joint? DockJoint;