Edit

Share via


PlayFabMultiplayer.FindLobbies

Method (1 of 2)

Search for lobbies on behalf of the local user.

public static void FindLobbies(PFEntityKey searchingEntity, 
    LobbySearchConfiguration searchConfiguration)
parameter description
searchingEntity The PlayFab entity performing the search.
searchConfiguration The configuration used to filter and sort the searched lobbies.

Remarks (1 of 2)

This is an asynchronous operation. Upon successful completion, the title will be provided a OnLobbyFindLobbiesCompleted with the with the OnLobbyFindLobbiesCompleted result field set to Success. Upon a failed completion, the title will be provided a Upon a failed completion, the title will be provided a OnLobbyFindLobbiesCompleted with the OnLobbyFindLobbiesCompleted result field set to a failed error code.


Method (2 of 2)

Search for lobbies on behalf of the local user.

public static void FindLobbies(PlayFabAuthenticationContext searchingEntity, 
    LobbySearchConfiguration searchConfiguration)
parameter description
searchingEntity The PlayFab entity performing the search.
searchConfiguration The configuration used to filter and sort the searched lobbies.

Remarks (2 of 2)

This is an asynchronous operation. Upon successful completion, the title will be provided a OnLobbyFindLobbiesCompleted with the with the OnLobbyFindLobbiesCompleted result field set to Success. Upon a failed completion, the title will be provided a Upon a failed completion, the title will be provided a OnLobbyFindLobbiesCompleted with the OnLobbyFindLobbiesCompleted result field set to a failed error code.

See Also