Remove AlertType and AlertCategory (#27933)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Alert;
|
||||
|
||||
@@ -8,9 +9,9 @@ namespace Content.Shared.Alert;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ClickAlertEvent : EntityEventArgs
|
||||
{
|
||||
public readonly AlertType Type;
|
||||
public readonly ProtoId<AlertPrototype> Type;
|
||||
|
||||
public ClickAlertEvent(AlertType alertType)
|
||||
public ClickAlertEvent(ProtoId<AlertPrototype> alertType)
|
||||
{
|
||||
Type = alertType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user