Files
wwdpublic/Content.Server/Medical/CrewMonitoring/CrewMonitoringServerComponent.cs
Julian Giebel 236bba59c2 System for single device net server per station functionality (#23946)
(cherry picked from commit 1ed63d43b00ebacafb5d6bc50d6c39348c7e8b39)
2024-03-07 01:22:35 +01:00

22 lines
644 B
C#

using Content.Shared.Medical.SuitSensor;
using Robust.Shared.Map;
namespace Content.Server.Medical.CrewMonitoring;
[RegisterComponent]
[Access(typeof(CrewMonitoringServerSystem))]
public sealed partial class CrewMonitoringServerComponent : Component
{
/// <summary>
/// List of all currently connected sensors to this server.
/// </summary>
public readonly Dictionary<string, SuitSensorStatus> SensorStatus = new();
/// <summary>
/// After what time sensor consider to be lost.
/// </summary>
[DataField("sensorTimeout"), ViewVariables(VVAccess.ReadWrite)]
public float SensorTimeout = 10f;
}