using System;
using Robust.Shared.GameObjects;
namespace Content.Shared.Alert
{
///
/// Defines what should happen when an alert is clicked.
///
public interface IAlertClick
{
///
/// Invoked on server side when user clicks an alert.
///
///
void AlertClicked(ClickAlertEventArgs args);
}
public class ClickAlertEventArgs : EventArgs
{
///
/// Player clicking the alert
///
public readonly EntityUid Player;
///
/// Alert that was clicked
///
public readonly AlertPrototype Alert;
public ClickAlertEventArgs(EntityUid player, AlertPrototype alert)
{
Player = player;
Alert = alert;
}
}
}