Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- class Lobby
- class PFEntityKey
- class PlayFabMultiplayer
- namespace PlayFab.Multiplayer