Skip to main content

PlayFabMultiplayer.PlayFabMultiplayerServer.JoinLobbyAsServer

PlayFabMultiplayer.PlayFabMultiplayerServer.JoinLobbyAsServer method (1 of 2)

Join a client-owned lobby as a server.

Return Value (1 of 2)

Output lobby object, which can be used to queue operations for immediate execution of this operation completes.

Remarks (1 of 2)

JoinLobbyAsServer() is an asynchronous operation. Completion of this method’s execution isn’t necessarily completion of the operation. Upon successful completion, the title is provided a LobbyUpdatedStateChange with the LobbyUpdatedStateChange.serverUpdate member appropriately populated, and a OnJoinLobbyAsServerCompleted with the OnJoinLobbyAsServerCompleted.result field set to Success. Upon a failed completion, the title is provided a OnJoinLobbyAsServerCompleted with the OnJoinLobbyAsServerCompleted.result field set to a failed error code. JoinLobbyAsServer() operation is restricted to client-owned lobbies that are using connections.

PlayFabMultiplayer.PlayFabMultiplayerServer.JoinLobbyAsServer method (2 of 2)

Join a client-owned lobby as a server.

Return Value (2 of 2)

Output lobby object, which can be used to queue operations for immediate execution of this operation completes.

Remarks (2 of 2)

JoinLobbyAsServer() is an asynchronous operation. Completion of this method’s execution isn’t necessarily completion of the operation. Upon successful completion, the title is provided a LobbyUpdatedStateChange with the LobbyUpdatedStateChange.serverUpdate member appropriately populated, and a OnJoinLobbyAsServerCompleted with the OnJoinLobbyAsServerCompleted.result field set to Success. Upon a failed completion, the title is provided a OnJoinLobbyAsServerCompleted with the OnJoinLobbyAsServerCompleted.result field set to a failed error code. This operation is restricted to client-owned lobbies that are using connections.

See Also

Last modified on August 3, 2026