2022-01-05 00:19:23 -08:00
|
|
|
|
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]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class ClickAlertEvent : EntityEventArgs
|
2022-01-05 00:19:23 -08:00
|
|
|
|
{
|
|
|
|
|
|
public readonly AlertType Type;
|
|
|
|
|
|
|
|
|
|
|
|
public ClickAlertEvent(AlertType alertType)
|
|
|
|
|
|
{
|
|
|
|
|
|
Type = alertType;
|
|
|
|
|
|
}
|
2022-02-16 00:23:23 -07:00
|
|
|
|
}
|