> ## 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.

# Lobby.Context

> Lobby.Context

# Lobby.Context property

The custom context of the lobby

```csharp theme={null}
public object Context { get; set; }
```

## get

Retrieves the app's private, custom pointer-sized context value previously associated with this lobby object.

## set

Configures an optional, custom pointer-sized context value with this lobby object.

## Remarks

If no custom context has been set yet, the value is set to nullptr.

The custom context is typically used as a "shortcut" that simplifies accessing local, title-specific memory
associated with the lobby without requiring a mapping lookup.

## See Also

* class [Lobby](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/overview.md)
* namespace [PlayFab.Multiplayer](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference.md)

\<!-- DO NOT EDIT: generated by xmldocmd for PlayFabMultiplayerSDK.dll -->


## Related topics

- [PFLobbyGetCustomContext](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetcustomcontext.md)
- [PFLobbySetCustomContext](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbysetcustomcontext.md)
- [PFLobbyServerDeleteLobby](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyserverdeletelobby.md)
- [PFLobbyLeave](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyleave.md)
- [PFLobbyServerDeleteLobbyCompletedStateChange](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/structs/pflobbyserverdeletelobbycompletedstatechange.md)
