Obsolete refactor - ConnectedClient to Channel (#24409)

This commit is contained in:
LordCarve
2024-01-22 23:14:13 +01:00
committed by GitHub
parent a9e89ab372
commit 05a2e6b3a2
46 changed files with 111 additions and 111 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.Eui;
using Content.Shared.Eui;
using Robust.Server.Player;
using Robust.Shared.Enums;
using Robust.Shared.Network;
@@ -71,7 +71,7 @@ namespace Content.Server.EUI
msg.Type = MsgEuiCtl.CtlType.Open;
msg.OpenType = eui.GetType().Name;
_net.ServerSendMessage(msg, player.ConnectedClient);
_net.ServerSendMessage(msg, player.Channel);
}
public void CloseEui(BaseEui eui)
@@ -82,7 +82,7 @@ namespace Content.Server.EUI
var msg = new MsgEuiCtl();
msg.Id = eui.Id;
msg.Type = MsgEuiCtl.CtlType.Close;
_net.ServerSendMessage(msg, eui.Player.ConnectedClient);
_net.ServerSendMessage(msg, eui.Player.Channel);
}
private void RxMsgMessage(MsgEuiMessage message)