Compartir a través de


XblMultiplayerManagerLobbySessionPropertiesJson

Retrieves the custom properties for the lobby session, as a JSON string.

Syntax

const char* XblMultiplayerManagerLobbySessionPropertiesJson(  
)  

Parameters

Return value

Type: const char*

A JSON string that specifies the custom properties for the lobby session, or null if a lobby session doesn't exist. The memory for the returned pointer remains valid until the next call to XblMultiplayerManagerDoWork.

Remarks

This function retrieves the custom properties for the lobby session, represented as a JSON string. These custom properties can be changed at any time. If custom properties are shared between devices, or may be updated by several devices at the same time, use the XblMultiplayerManagerLobbySessionSetSynchronizedProperties function to change custom properties. Otherwise, you can use the XblMultiplayerManagerLobbySessionSetProperties function to change custom properties.

Requirements

Header: multiplayer_manager_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_manager_c
XblMultiplayerManagerLobbySessionPropertiesJson