> For the complete documentation index, see [llms.txt](https://vc-docs.gitbook.io/engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vc-docs.gitbook.io/engine/home/doxygen_synced/classes/class_lobby_manager.md).

# LobbyManager

**Usage:** `api.LobbyManager.GetSessions()`

Join and list multiplayer game sessions.

## Public Functions

|        | Name                                                                                                                                                                                                                                                                                                                                                    |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| void   | <p><a href="https://git.unimetaverse.net/vc-core-engine/doxygen/-/tree/main/Classes/Classes/class_lobby_manager.md#function-joingamesession"><strong>JoinGameSession</strong></a>(string sessionID)<br>Joins the given game session as the current user. Returns immediately; joining happens in the background.</p>                                    |
| string | <p><a href="https://git.unimetaverse.net/vc-core-engine/doxygen/-/tree/main/Classes/Classes/class_lobby_manager.md#function-getsessions"><strong>GetSessions</strong></a>()<br>Gets the list of available sessions as a JSON string, or "" if the request fails. Note: this call waits for the network and will pause the caller until it finishes.</p> |

## Public Functions Documentation

### function JoinGameSession

```csharp
static void JoinGameSession(
    string sessionID
)
```

Joins the given game session as the current user. Returns immediately; joining happens in the background.

**Parameters**:

* **sessionID** ID of the session to join.

### function GetSessions

```csharp
static string GetSessions()
```

Gets the list of available sessions as a JSON string, or "" if the request fails. Note: this call waits for the network and will pause the caller until it finishes.

**Return**: Session list as JSON, or "" on failure.

***

Updated on 2026-07-22 at 12:00:00 +0800
