Crew monitor revisit (#22240)

This commit is contained in:
chromiumboy
2023-12-09 23:38:50 -06:00
committed by GitHub
parent ffb9112dc5
commit b70c0845d0
28 changed files with 1871 additions and 1302 deletions

View File

@@ -1,27 +1,21 @@
using Content.Shared.Medical.SuitSensor;
using Robust.Shared.Serialization;
namespace Content.Shared.Medical.CrewMonitoring
namespace Content.Shared.Medical.CrewMonitoring;
[Serializable, NetSerializable]
public enum CrewMonitoringUIKey
{
[Serializable, NetSerializable]
public enum CrewMonitoringUIKey
{
Key
}
[Serializable, NetSerializable]
public sealed class CrewMonitoringState : BoundUserInterfaceState
{
public List<SuitSensorStatus> Sensors;
public readonly bool Snap;
public readonly float Precision;
public CrewMonitoringState(List<SuitSensorStatus> sensors, bool snap, float precision)
{
Sensors = sensors;
Snap = snap;
Precision = precision;
}
}
Key
}
[Serializable, NetSerializable]
public sealed class CrewMonitoringState : BoundUserInterfaceState
{
public List<SuitSensorStatus> Sensors;
public CrewMonitoringState(List<SuitSensorStatus> sensors)
{
Sensors = sensors;
}
}