28 lines
990 B
C#
28 lines
990 B
C#
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;
|
|
|
|
// Remember to null this afterwards.
|
|
[ViewVariables] public IAirAlarmModeUpdate? CurrentModeUpdater { get; set; }
|
|
|
|
[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 HashSet<NetUserId> ActivePlayers = new();
|
|
|
|
public bool CanSync = true;
|
|
}
|
|
}
|