Move minds, roles, jobs and objectives to shared (#19679)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Enums;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Players;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
|
||||
namespace Content.Server.EUI
|
||||
{
|
||||
public sealed class EuiManager : IPostInjectInit
|
||||
@@ -12,11 +12,11 @@ namespace Content.Server.EUI
|
||||
[Dependency] private readonly IPlayerManager _players = default!;
|
||||
[Dependency] private readonly IServerNetManager _net = default!;
|
||||
|
||||
private readonly Dictionary<IPlayerSession, PlayerEuiData> _playerData =
|
||||
private readonly Dictionary<ICommonSession, PlayerEuiData> _playerData =
|
||||
new();
|
||||
|
||||
private readonly Queue<(IPlayerSession player, uint id)> _stateUpdateQueue =
|
||||
new Queue<(IPlayerSession, uint id)>();
|
||||
private readonly Queue<(ICommonSession player, uint id)> _stateUpdateQueue =
|
||||
new Queue<(ICommonSession, uint id)>();
|
||||
|
||||
private sealed class PlayerEuiData
|
||||
{
|
||||
@@ -53,7 +53,7 @@ namespace Content.Server.EUI
|
||||
}
|
||||
}
|
||||
|
||||
public void OpenEui(BaseEui eui, IPlayerSession player)
|
||||
public void OpenEui(BaseEui eui, ICommonSession player)
|
||||
{
|
||||
if (eui.Id != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user