Redigera

PFLobbyMemberAddedStateChange

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

Information specific to the MemberAdded type of state change.

Syntax

struct PFLobbyMemberAddedStateChange : PFLobbyStateChange {  
    PFLobbyHandle lobby;  
    PFEntityKey member;  
}  

Members

lobby   PFLobbyHandle
must not be null

The lobby the new member was added to.

member   PFEntityKey

The PlayFab entity which is now a member of the lobby.

Remarks

This state change will be generated by all operations which add members to lobbies such as PFMultiplayerCreateAndJoinLobby, PFMultiplayerJoinLobby, and PFLobbyAddMember.

When this state change is provided by PFMultiplayerStartProcessingLobbyStateChanges the lobby will update to reflect the new member in the member list and the member's initial properties will become queryable.

Requirements

Header: PFLobby.h

See also

PFLobby members