XblMultiplayerManagerGameSessionPropertiesJson
Retrieves the custom properties for the game session, as a JSON string.
Syntax
const char* XblMultiplayerManagerGameSessionPropertiesJson(
)
Parameters
Return value
Type: const char*
A JSON string that specifies the custom properties for the game session, or null if a game 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 game 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 XblMultiplayerManagerGameSessionSetSynchronizedProperties function to change custom properties. Otherwise, you can use the XblMultiplayerManagerGameSessionSetProperties 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