Skip to main content

XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson

设置匹配的属性。这只应由充当匹配服务的客户端设置。

语法

参数

handle   _In_
类型:XblMultiplayerSessionHandle
多人游戏会话的句柄。 matchmakingTargetSessionConstantsJson   _In_
类型:char*
表示目标会话常量的 JSON 字符串。

返回值

类型:HRESULT 此 API 操作的 HRESULT 返回代码。

要求

头文件: multiplayer_c.h 库: Microsoft.Xbox.Services.14x.GDK.C.lib

另请参阅

multiplayer_c
最后修改于 2026年8月13日