From 9b1c8f63e54d516752d5884468a1f7fbe29f3af9 Mon Sep 17 00:00:00 2001 From: vulppine Date: Thu, 18 Aug 2022 08:30:32 -0700 Subject: [PATCH] makes sensor data serializable --- Content.Shared/Atmos/Monitor/AtmosSensorData.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Shared/Atmos/Monitor/AtmosSensorData.cs b/Content.Shared/Atmos/Monitor/AtmosSensorData.cs index 0410d025f0..435b538d64 100644 --- a/Content.Shared/Atmos/Monitor/AtmosSensorData.cs +++ b/Content.Shared/Atmos/Monitor/AtmosSensorData.cs @@ -1,7 +1,9 @@ using Content.Shared.Atmos.Monitor.Components; +using Robust.Shared.Serialization; namespace Content.Shared.Atmos.Monitor; +[Serializable, NetSerializable] public sealed class AtmosSensorData : IAtmosDeviceData { public AtmosSensorData(float pressure, float temperature, float totalMoles, AtmosMonitorAlarmType alarmState, Dictionary gases, AtmosAlarmThreshold pressureThreshold, AtmosAlarmThreshold temperatureThreshold, Dictionary gasThresholds)