public async Task WaitForBeerBongToFill()
        {
            List <WebsocketData> data      = new List <WebsocketData>();
            WebsocketClient      websocket = new WebsocketClient();

            data = await websocket.ConnectToWebsocket();

            CultureInfo cultur = new CultureInfo("en-US");

            playertid = double.Parse(data[0].time, CultureInfo.InvariantCulture);


            state = data[0].state;
        }
Example #2
0
 async void ForbindWebsocket(object sender, EventArgs e)
 {
     await websocket.ConnectToWebsocket();
 }