public CGameSession(FreelancerGame g, IPacketConnection connection) { Game = g; this.connection = connection; rpcServer = new RemoteServerPlayer(connection, this); ResponseHandler = new NetResponseHandler(); }
public Player(IPacketClient client, GameServer game, Guid playerGuid) { this.Client = client; this.Game = game; this.playerGuid = playerGuid; ID = Interlocked.Increment(ref _gid); ResponseHandler = new NetResponseHandler(); rpcClient = new RemoteClientPlayer(this); }