ClickAlertEvent.cs 432 B

123456789101112131415161718
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.Alert;
  4. /// <summary>
  5. /// A message that calls the click interaction on a alert
  6. /// </summary>
  7. [Serializable, NetSerializable]
  8. public sealed class ClickAlertEvent : EntityEventArgs
  9. {
  10. public readonly ProtoId<AlertPrototype> Type;
  11. public ClickAlertEvent(ProtoId<AlertPrototype> alertType)
  12. {
  13. Type = alertType;
  14. }
  15. }