2021-09-26 15:18:45 +02:00
|
|
|
using Content.Shared.Popups;
|
|
|
|
|
using Robust.Server.GameObjects;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Map;
|
|
|
|
|
using Robust.Shared.Player;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Popups
|
|
|
|
|
{
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class PopupSystem : SharedPopupSystem
|
2021-09-26 15:18:45 +02:00
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|