Files
crystall-punk-14/Content.Server/Medical/CrewMonitoring/CrewMonitoringConsoleComponent.cs

20 lines
613 B
C#
Raw Permalink Normal View History

using Content.Shared.Medical.SuitSensor;
2023-12-09 23:38:50 -06:00
namespace Content.Server.Medical.CrewMonitoring;
2023-12-09 23:38:50 -06:00
[RegisterComponent]
[Access(typeof(CrewMonitoringConsoleSystem))]
public sealed partial class CrewMonitoringConsoleComponent : Component
{
/// <summary>
/// List of all currently connected sensors to this console.
/// </summary>
public Dictionary<string, SuitSensorStatus> ConnectedSensors = new();
2023-12-09 23:38:50 -06:00
/// <summary>
/// After what time sensor consider to be lost.
/// </summary>
[DataField("sensorTimeout"), ViewVariables(VVAccess.ReadWrite)]
public float SensorTimeout = 10f;
}