6
StarHorizon_Public/Content.Shared/Mobs/Events/BeforeAlertSeverityCheckEvent.cs
2026-01-24 12:49:55 +03:00

17 lines
553 B
C#

using Content.Shared.Alert;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared.Mobs.Events;
/// <summary>
/// Event for allowing the interrupting and change of the mob threshold severity alert
/// </summary>
[Serializable, NetSerializable]
public sealed class BeforeAlertSeverityCheckEvent(ProtoId<AlertPrototype> currentAlert, short severity) : EntityEventArgs
{
public bool CancelUpdate = false;
public ProtoId<AlertPrototype> CurrentAlert = currentAlert;
public short Severity = severity;
}