Skip to main content
PlayFab Lobby and PlayFab Party are often used together to create and orchestrate groups of players before getting them into a networked session. This article describes how to use Lobbies as a convenient mechanism for sharing Party network descriptors by using the C++ Party library with the C++ Multiplayer library.

Set up Party and Multiplayer SDK

Refer the Party and Lobby quickstarts to get started.

Party

Party Quickstart

Lobby

Lobby Quickstart

Initialize the PlayFab Multiplayer SDK

Please refer Lobby Quickstart to initialize PlayFab Multiplayer SDK.

Create a lobby with a Serialized Network Descriptor string

Create a lobby and set the party network descriptor setting the party network descriptor in text form in the lobby properties. To convert Party network descriptor to char string, use PartyManager::SerializeNetworkDescriptor(). The defines below are the Lobby properties and the keys and values used to search.
  1. Call PFMultiplayerCreateAndJoinLobby
  2. Check for asynchronous completion by periodically polling PFMultiplayerStartProcessingLobbyStateChanges for a PFLobbyCreateAndJoinLobbyCompletedStateChange.

Find lobbies

For details of how to use Find lobbies, use the following link Find lobbies Now you can use the Find Lobbies API to search for the lobby which is created above using the c_searchValue_LobbyType to obtain the serialized network descriptor.
  1. Call PFMultiplayerFindLobbies

Join a lobby

Now join the lobby which is obtained from the previous “Find Lobbies” operation by using the connectionString which is part of PFLobbySearchResult.
  1. Call PFMultiplayerJoinLobby

Next Steps

Read more about Party Quickstart: Connect to a Party network to connect Party network.

See also

Party SDK

Multiplayer SDK

Last modified on August 10, 2026