mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Merge branch 'master' of https://github.com/Facepunch/Facepunch.Steamworks
This commit is contained in:
commit
e8a59e3a10
@ -92,7 +92,7 @@ void OnLobbyJoinedAPI( LobbyEnter_t callback, bool error )
|
|||||||
public Action<bool> OnLobbyJoined;
|
public Action<bool> OnLobbyJoined;
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <param name="lobbyType">The Lobby.Type of Lobby to be created</param>
|
/// <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>
|
/// <param name="maxMembers">The maximum amount of people you want to be able to be in this lobby, including yourself</param>
|
||||||
|
@ -41,6 +41,8 @@ public void Refresh ( Filter filter = null)
|
|||||||
{
|
{
|
||||||
filter = new Filter();
|
filter = new Filter();
|
||||||
filter.StringFilters.Add("appid", client.AppId.ToString());
|
filter.StringFilters.Add("appid", client.AppId.ToString());
|
||||||
|
client.native.matchmaking.RequestLobbyList(OnLobbyList);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);
|
client.native.matchmaking.AddRequestLobbyListDistanceFilter((SteamNative.LobbyDistanceFilter)filter.DistanceFilter);
|
||||||
|
Loading…
Reference in New Issue
Block a user