Compartir a través de


XblMultiplayerSessionSetRawServersJson

Sets the JSON string containing a collection of servers for this multiplayer session.

Syntax

HRESULT XblMultiplayerSessionSetRawServersJson(  
         XblMultiplayerSessionHandle handle,  
         const char* rawServersJson  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

rawServersJson   _In_z_
Type: char*

Json describing the session servers.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c