using Content.Shared.Atmos.Monitor; using Content.Shared.Atmos.Monitor.Components; using Content.Shared.Atmos.Piping.Unary.Components; using Robust.Shared.Network; namespace Content.Server.Atmos.Monitor.Components; [RegisterComponent] public sealed class AirAlarmComponent : Component { [ViewVariables] public AirAlarmMode CurrentMode { get; set; } = AirAlarmMode.Filtering; [ViewVariables] public bool AutoMode { get; set; } = true; // Remember to null this afterwards. [ViewVariables] public IAirAlarmModeUpdate? CurrentModeUpdater { get; set; } [ViewVariables] public AirAlarmTab CurrentTab { get; set; } public readonly HashSet KnownDevices = new(); public readonly Dictionary VentData = new(); public readonly Dictionary ScrubberData = new(); public readonly Dictionary SensorData = new(); public HashSet ActivePlayers = new(); public bool CanSync = true; }