makes sensor data serializable
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
using Content.Shared.Atmos.Monitor.Components;
|
using Content.Shared.Atmos.Monitor.Components;
|
||||||
|
using Robust.Shared.Serialization;
|
||||||
|
|
||||||
namespace Content.Shared.Atmos.Monitor;
|
namespace Content.Shared.Atmos.Monitor;
|
||||||
|
|
||||||
|
[Serializable, NetSerializable]
|
||||||
public sealed class AtmosSensorData : IAtmosDeviceData
|
public sealed class AtmosSensorData : IAtmosDeviceData
|
||||||
{
|
{
|
||||||
public AtmosSensorData(float pressure, float temperature, float totalMoles, AtmosMonitorAlarmType alarmState, Dictionary<Gas, float> gases, AtmosAlarmThreshold pressureThreshold, AtmosAlarmThreshold temperatureThreshold, Dictionary<Gas, AtmosAlarmThreshold> gasThresholds)
|
public AtmosSensorData(float pressure, float temperature, float totalMoles, AtmosMonitorAlarmType alarmState, Dictionary<Gas, float> gases, AtmosAlarmThreshold pressureThreshold, AtmosAlarmThreshold temperatureThreshold, Dictionary<Gas, AtmosAlarmThreshold> gasThresholds)
|
||||||
|
|||||||
Reference in New Issue
Block a user