ECSatize AlertsSystem (#5559)
This commit is contained in:
19
Content.Shared/Alert/ClickAlertEvent.cs
Normal file
19
Content.Shared/Alert/ClickAlertEvent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Alert;
|
||||
|
||||
/// <summary>
|
||||
/// A message that calls the click interaction on a alert
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class ClickAlertEvent : EntityEventArgs
|
||||
{
|
||||
public readonly AlertType Type;
|
||||
|
||||
public ClickAlertEvent(AlertType alertType)
|
||||
{
|
||||
Type = alertType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user