Add SharedPopupSystem.PopupClient for cursor and coordinates (#27231)

This commit is contained in:
DrSmugleaf
2024-04-21 20:57:13 -07:00
committed by GitHub
parent 6b1866625c
commit 81f2dc7cf9
3 changed files with 38 additions and 1 deletions

View File

@@ -88,11 +88,19 @@ namespace Content.Server.Popups
RaiseNetworkEvent(new PopupEntityEvent(message, type, GetNetEntity(uid)), actor.PlayerSession);
}
public override void PopupClient(string? message, EntityUid? recipient, PopupType type = PopupType.Small)
{
}
public override void PopupClient(string? message, EntityUid uid, EntityUid? recipient, PopupType type = PopupType.Small)
{
// do nothing duh its for client only
}
public override void PopupClient(string? message, EntityCoordinates coordinates, EntityUid? recipient, PopupType type = PopupType.Small)
{
}
public override void PopupEntity(string? message, EntityUid uid, ICommonSession recipient, PopupType type = PopupType.Small)
{
if (message == null)