private void OnConnectionEvent(ConnectionInformation connection) { connection.ConnectionChanged += OnConnectionChanged; PlusEnvironment.GetGame().GetClientManager().CreateAndStartClient(Convert.ToInt32(connection.GetConnectionId()), connection); }
private void OnConnectionEvent(ConnectionInformation connection) { connection.ConnectionChanged += OnConnectionChanged; Program.GameContext.PlayerController.CreateAndStartClient(Convert.ToInt32(connection.GetConnectionId()), connection); }