Redigera

PFLobbyMemberDataUpdate

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

A request to make an update to the member-owned portion of the lobby document.

Syntax

struct PFLobbyMemberDataUpdate {  
    uint32_t memberPropertyCount;  
    const char* const* memberPropertyKeys;  
    const char* const* memberPropertyValues;  
}  

Members

memberPropertyCount   uint32_t

The number of member properties to update for the updating member.

There may only be PFLobbyMaxMemberPropertyCount concurrent properties at any given time per-member. Therefore, at most, twice that many unique properties can be specified in this update if half of those properties are being deleted.

If the property limits are violated, the entire update operation will fail.

memberPropertyKeys   const char* const*
array of size memberPropertyCount

The keys of the member properties to update for the updating member.

Per-member properties are only visible to members of the lobby.

Only the properties specified in this list of keys will be updated. If the key doesn't exist yet, the property will be created. If the new property value is nullptr, the property will be deleted. Any existing properties omitted from this list will be left unmodified.

memberPropertyValues   const char* const*
array of size memberPropertyCount

The values of the member properties to update for the updating member.

Per-member properties are only visible to members of the lobby.

To delete a value, provide nullptr as its new value.

Requirements

Header: PFLobby.h

See also

PFLobby members