Edit

PlayFabMultiplayer.OnLobbyJoinCompletedHandler delegate

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

Handler for when the operation started by a previous call to JoinLobby completed.

public delegate void OnLobbyJoinCompletedHandler(Lobby lobby, PFEntityKey newMember, int result);
parameter description
lobby The lobby involved with the operation.
newMember The local member entity provided to the call associated with this state change which is joining this lobby.
result Indicates that the JoinArrangedLobby operation Succeeded or provides the reason that it failed.

Remarks

OnLobbyMemberAdded event fires anytime any member is added to the lobby (remote or local). OnAddMemberCompleted event only fires when you invoke AddMember which allows you to add additional members to the lobby. The first local member was the one who created the lobby, it will fire the OnLobbyCreateAndJoinCompleted event. If the local member is using JoinLobby, it will fire the OnLobbyJoinCompleted event. If the local member is using JoinArrangedLobby, it will fire the OnLobbyJoinArrangedLobbyCompleted event.

See Also