Edit

PlayFabMultiplayer.OnLobbyMemberAddedHandler 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 a local PlayFab entity was added to lobby as a member.

public delegate void OnLobbyMemberAddedHandler(Lobby lobby, PFEntityKey member);
parameter description
lobby The lobby involved with the operation.
member The PlayFab entity which is now a member of the lobby.

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