Set up Party and Multiplayer SDK
Refer the Party and Lobby quickstarts to get started.Party
Party QuickstartLobby
Lobby QuickstartInitialize 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.- Call PFMultiplayerCreateAndJoinLobby
- 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 thec_searchValue_LobbyType to obtain the serialized network descriptor.
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.Next Steps
Read more about Party Quickstart: Connect to a Party network to connect Party network.See also
Party SDK
- Party features
- Party SDKs
- Multiplayer Services
- Party objects and their relationships
- Party API reference documentation
