Move minds, roles, jobs and objectives to shared (#19679)

This commit is contained in:
DrSmugleaf
2023-08-30 21:46:11 -07:00
committed by GitHub
parent b702963d5e
commit 3f3ba6ac62
139 changed files with 1209 additions and 1041 deletions

View File

@@ -1,7 +1,6 @@
using Content.Shared.Eui;
using Robust.Server.Player;
using Robust.Shared.Network;
using Robust.Shared.Players;
namespace Content.Server.EUI
{
@@ -23,7 +22,7 @@ namespace Content.Server.EUI
/// <summary>
/// The player that this EUI is open for.
/// </summary>
public IPlayerSession Player { get; private set; } = default!;
public ICommonSession Player { get; private set; } = default!;
public bool IsShutDown { get; private set; }
public EuiManager Manager { get; private set; } = default!;
public uint Id { get; private set; }
@@ -118,7 +117,7 @@ namespace Content.Server.EUI
netMgr.ServerSendMessage(msg, Player.ConnectedClient);
}
internal void Initialize(EuiManager manager, IPlayerSession player, uint id)
internal void Initialize(EuiManager manager, ICommonSession player, uint id)
{
Manager = manager;
Player = player;