alarmables now check if the type of alarm matches the alarms they can check (optional)

This commit is contained in:
vulppine
2022-08-22 11:30:37 -07:00
parent a3909f0aaf
commit 84027b4e67
4 changed files with 26 additions and 10 deletions

View File

@@ -48,6 +48,9 @@ namespace Content.Server.Atmos.Monitor.Components
[DataField("syncWith", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]
public HashSet<string> SyncWithTags { get; } = new();
[DataField("monitorAlertTypes")]
public HashSet<AtmosMonitorThresholdType> MonitorAlertTypes { get; } = new();
/// <summary>
/// If this device should receive only. If it can only
/// receive, that means that attempting to sync outwards