air alarm now sends the count of known devices, rather than all types of devices

This commit is contained in:
vulppine
2022-08-23 12:04:45 -07:00
parent 72d74222da
commit e348a64423
2 changed files with 9 additions and 7 deletions

View File

@@ -15,10 +15,10 @@ public sealed class AirAlarmComponent : Component
[ViewVariables] public AirAlarmTab CurrentTab { get; set; }
public Dictionary<string, IAtmosDeviceData> DeviceData = new();
public Dictionary<string, GasVentPumpData> VentData = new();
public Dictionary<string, GasVentScrubberData> ScrubberData = new();
public Dictionary<string, AtmosSensorData> SensorData = new();
public readonly HashSet<string> KnownDevices = new();
public readonly Dictionary<string, GasVentPumpData> VentData = new();
public readonly Dictionary<string, GasVentScrubberData> ScrubberData = new();
public readonly Dictionary<string, AtmosSensorData> SensorData = new();
public HashSet<NetUserId> ActivePlayers = new();