Пример #1
0
        public void FindLobbies()
        {
            InTrainingLobby = false;

            if (!SteamCore.SteamIsConnected())
            {
                Offline();
            }

            SteamMatches.FindLobbies(OnFindLobbies);
        }
Пример #2
0
        void Test_OnCreateLobby(bool result)
        {
            Console.WriteLine(result);

            string player_name = SteamCore.PlayerName();
            string lobby_name  = string.Format("{0}'s lobby", player_name);

            SteamMatches.SetLobbyData("name", lobby_name);

            SteamMatches.FindLobbies(Test_OnFindLobbies);
        }