public void FindLobbies() { InTrainingLobby = false; if (!SteamCore.SteamIsConnected()) { Offline(); } SteamMatches.FindLobbies(OnFindLobbies); }
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); }