Files
tbd-station-14/Content.Server/Popups/PopupSystem.cs
2022-05-13 17:59:03 +10:00

25 lines
749 B
C#

using Content.Shared.Popups;
using Robust.Shared.Map;
using Robust.Shared.Player;
namespace Content.Server.Popups
{
public sealed class PopupSystem : SharedPopupSystem
{
public override void PopupCursor(string message, Filter filter)
{
RaiseNetworkEvent(new PopupCursorEvent(message), filter);
}
public override void PopupCoordinates(string message, EntityCoordinates coordinates, Filter filter)
{
RaiseNetworkEvent(new PopupCoordinatesEvent(message, coordinates), filter);
}
public override void PopupEntity(string message, EntityUid uid, Filter filter)
{
RaiseNetworkEvent(new PopupEntityEvent(message, uid), filter);
}
}
}