> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblMultiplayerManagerLobbySessionConstants

> XblMultiplayerManagerLobbySessionConstants

# XblMultiplayerManagerLobbySessionConstants

Retrieves the session constants associated with the lobby session.

## Syntax

```cpp theme={null}
const XblMultiplayerSessionConstants* XblMultiplayerManagerLobbySessionConstants(  
)  
```

### Parameters

### Return value

Type: const XblMultiplayerSessionConstants\*

A pointer to the session constants for the lobby session, or null if a lobby session doesn't exist. The memory for the returned pointer remains valid until the next call to [XblMultiplayerManagerDoWork](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerdowork).

## Remarks

This function retrieves a pointer to the session constants for a lobby session, if the lobby session exists in Multiplayer Manager. The session constants contain constants, such as session visibility and session capabilities, defined by the session template used for the lobby session. Unlike session properties, session constants can only be set through the session template, and are set at the time the lobby session is created. For more information about session constants, see [Multiplayer Session advanced topics](/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-details).

## Requirements

**Header:** multiplayer\_manager\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[multiplayer\_manager\_c](/reference/live/xsapi-c/multiplayer_manager_c/multiplayer_manager_c_members)\
[XblMultiplayerManagerLobbySessionPropertiesJson](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerlobbysessionpropertiesjson)\
[XblMultiplayerManagerLobbySessionSessionReference](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerlobbysessionsessionreference)
