17 lines
553 B
C#
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;
|
|
}
|