共用方式為


XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson

Sets the properties of the matchmaking. This should only be set by a client acting as a matchmaking service.

Syntax

HRESULT XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson(  
         XblMultiplayerSessionHandle handle,  
         const char* matchmakingTargetSessionConstantsJson  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

matchmakingTargetSessionConstantsJson   _In_
Type: char*

A JSON string representing the target session constants.

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