Enabling game server APIs in the PlayFab Multiplayer SDK
To enable the game server APIs in PlayFab Multiplayer, you must define PFMULTIPLAYER_INCLUDE_SERVER_APIS before including PFLobby.h.Creating server-owned lobbies
To create server-owned lobbies, follow these steps:- Log in as a game_server PlayFab entity with AuthenticateGameServerWithCustomId and retrieve the entity key and token pair.
- Provide the game_server’s entity key and token to the PlayFab Multiplayer SDK with PFMultiplayerSetEntityToken.
- Call PFMultiplayerCreateAndClaimServerLobby with the game_server’s entity key.
