Add a crew monitoring server (#7542)

This commit is contained in:
Julian Giebel
2023-01-23 02:07:57 +01:00
committed by GitHub
parent ad9c5ae5e9
commit c2b87dfeda
20 changed files with 518 additions and 58 deletions

View File

@@ -56,5 +56,19 @@ namespace Content.Server.Medical.SuitSensors
/// Last time when sensor updated owners status
/// </summary>
public TimeSpan LastUpdate = TimeSpan.Zero;
/// <summary>
/// The station this suit sensor belongs to. If it's null the suit didn't spawn on a station and the sensor doesn't work.
/// </summary>
[DataField("station")]
public EntityUid? StationId = null;
/// <summary>
/// The server the suit sensor sends it state to.
/// The suit sensor will try connecting to a new server when no server is connected.
/// It does this by calling the servers entity system for performance reasons.
/// </summary>
[DataField("server")]
public string? ConnectedServer = null;
}
}