Edit

PlayFabMultiplayer.FindLobbies

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

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