Partager via


XblMultiplayerSessionCurrentUserSetEncounters

Sets a list of group names for the current user indicating which groups that user encountered during a multiplayer session. An encounter is a brief interaction with another group.

Syntax

HRESULT XblMultiplayerSessionCurrentUserSetEncounters(  
         XblMultiplayerSessionHandle handle,  
         const char** encounters,  
         size_t encountersCount  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

encounters   _In_reads_(encountersCount)
Type: char**

Array of encounter strings.

encountersCount   _In_
Type: size_t

Size of the encounters array.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_c