Editar

Partilhar via


PFLobbyMemberAddedStateChange

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