private void OnConnection(Connection connection) { var client = new GameClient(connection); connection.Client = client; }