21 lines
498 B
C#
21 lines
498 B
C#
|
|
using Robust.Shared.Map;
|
||
|
|
using Robust.Shared.Serialization;
|
||
|
|
|
||
|
|
namespace Content.Shared.Shuttles.BUIStates;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// State of each individual docking port for interface purposes
|
||
|
|
/// </summary>
|
||
|
|
[Serializable, NetSerializable]
|
||
|
|
public sealed class DockingPortState
|
||
|
|
{
|
||
|
|
public string Name = string.Empty;
|
||
|
|
|
||
|
|
public NetCoordinates Coordinates;
|
||
|
|
public Angle Angle;
|
||
|
|
public NetEntity Entity;
|
||
|
|
public bool Connected => GridDockedWith != null;
|
||
|
|
|
||
|
|
public NetEntity? GridDockedWith;
|
||
|
|
}
|