Esempio n. 1
0
        public async Task DisplayWaitingRooms()
        {
            IsLoading = true;
            List <Channel> channels = await GetWaitingRooms();

            IsLoading = false;

            foreach (var r in channels.Select(c => new WaitingRoom
            {
                Channel = c,
                Mode = GameMode.Classic
            }))
            {
                Lobbies.Add(_page.DisplayGame(r));
            }
        }