public override void OnOpen() { _username = QueryParameters["nickname"]; _gamesize = int.Parse(QueryParameters["gamesize"]); connection = server.JoinGame(this, _username, _gamesize); }