Exemple #1
0
        private static void refreshAvailableLobbies()
        {
            lobbies = new Dictionary <CSteamID, LobbyPacket>();

            if (refresh)
            {
                refresh.interactable = true;
            }
            SteamAPI.RequestLobbies();
        }
Exemple #2
0
        private static void refreshAvailableLobbies()
        {
            lobbies = new Dictionary <CSteamID, LobbyInfo>();

            if (refresh)
            {
                refresh.interactable = true;
            }
            if (!sorting)
            {
                SteamAPI.RequestLobbies();
            }
            else
            {
                SteamAPI.RequestAvailableLobbies();
            }
        }