Crew monitor revisit (#22240)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user