Edit

Share via


PlayFabMultiplayer.OnAddMemberCompletedHandler delegate

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

public delegate void OnAddMemberCompletedHandler(Lobby lobby, PFEntityKey localUser, int result);
parameter description
lobby The lobby involved with the operation.
localUser The member entity which has added to the lobby.
result Indicates that the AddMember 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