次の方法で共有


XblMultiplayerSessionSetRawServersJson

このマルチプレイヤー セッションに対するサーバーのコレクションを含む JSON 文字列を設定します。

構文

HRESULT XblMultiplayerSessionSetRawServersJson(  
         XblMultiplayerSessionHandle handle,  
         const char* rawServersJson  
)  

パラメーター

handle _In_
型: XblMultiplayerSessionHandle

マルチプレイヤー セッションへのハンドル。

rawServersJson _In_z_
型: char*

セッション サーバーを記述する JSON。

戻り値

型: HRESULT

この API 操作の HRESULT 結果コード。

要件

ヘッダー: multiplayer_c.h

ライブラリ: Microsoft.Xbox.Services.141.GSDK.C.lib

関連項目

multiplayer_c