This commit is contained in:
Garry Newman 2018-03-21 11:46:49 +00:00
commit e8a59e3a10
2 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void OnLobbyJoinedAPI( LobbyEnter_t callback, bool error )
public Action<bool> OnLobbyJoined;
/// <summary>
/// Creates a lobby and returns the created lobby. You auto join the created lobby. The lobby is stored in Client.CurrentLobby if successful.
/// Creates a lobby and returns the created lobby. You auto join the created lobby. The lobby is stored in Client.Lobby.CurrentLobby if successful.
/// </summary>
/// <param name="lobbyType">The Lobby.Type of Lobby to be created</param>
/// <param name="maxMembers">The maximum amount of people you want to be able to be in this lobby, including yourself</param>

View File

@ -41,6 +41,8 @@ public void Refresh ( Filter filter = null)
{
filter = new Filter();
filter.StringFilters.Add("appid", client.AppId.ToString());
client.native.matchmaking.RequestLobbyList(OnLobbyList);
return;
}
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);