XblMultiplayerManagerGameSessionSessionReference

Retrieves the session reference for the game session.

Syntax

const XblMultiplayerSessionReference* XblMultiplayerManagerGameSessionSessionReference(  
)  

Parameters

Return value

Type: const XblMultiplayerSessionReference*

A pointer to the session reference for the game session, or null if a game session doesn't exist. The memory for the returned pointer remains valid until the next call to XblMultiplayerManagerDoWork.

Remarks

This function retrieves a pointer to the session reference for a game session, if the game session exists for the lobby session in Multiplayer Manager. The session reference contains the service configuration ID (SCID), session template, and session name for the game session, and uniquely identifies the game session in Multiplayer Session Directory (MPSD). For more information about session references, see Multiplayer Session advanced topics.

Requirements

Header: multiplayer_manager_c.h

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

See also

multiplayer_manager_c
XblMultiplayerManagerGameSessionCorrelationId
XblMultiplayerManagerLobbySessionSessionReference