Add a crew monitoring server (#7542)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user