2024-05-23 22:43:04 -04:00
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
using Robust.Shared.Serialization;
|
2022-01-05 00:19:23 -08:00
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
2024-05-23 22:43:04 -04:00
|
|
|
|
public readonly ProtoId<AlertPrototype> Type;
|
2022-01-05 00:19:23 -08:00
|
|
|
|
|
2024-05-23 22:43:04 -04:00
|
|
|
|
public ClickAlertEvent(ProtoId<AlertPrototype> alertType)
|
2022-01-05 00:19:23 -08:00
|
|
|
|
{
|
|
|
|
|
|
Type = alertType;
|
|
|
|
|
|
}
|
2022-02-16 00:23:23 -07:00
|
|
|
|
}
|