Editar

Partilhar via


PFLobbyGetMemberPropertyKeys

Get a list of the specified member's property keys.

Syntax

HRESULT PFLobbyGetMemberPropertyKeys(  
    PFLobbyHandle lobby,  
    const PFEntityKey* member,  
    uint32_t* propertyCount,  
    const char* const** keys  
)  

Parameters

lobby   PFLobbyHandle

The handle of the lobby.

member   PFEntityKey*

The member being queried.

propertyCount   uint32_t*
output

The output count of member properties.

keys   char* const**
library-allocated output array of size *propertyCount

The output array of member property keys.

Return value

Type: HRESULT

S_OK if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PFMultiplayerGetErrorMessage().

Remarks

Per-member properties are only visible to members of the lobby and the server if this is a server-owned lobby.

If the member is still in the process of asynchronously joining this lobby either via PFMultiplayerCreateAndJoinLobby(), PFMultiplayerJoinLobby(), or PFLobbyAddMember, this method will return no keys.

Requirements

Header: PFLobby.h

See also

PFLobby members