Method CreateLobbyAsync
CreateLobbyAsync(string, int, CreateLobbyOptions)
Create a Lobby with a given name and specified player limit. Async operation.
Declaration
Task<Lobby> CreateLobbyAsync(string lobbyName, int maxPlayers, CreateLobbyOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | lobbyName | Name of new lobby |
int | maxPlayers | Player limit |
Create |
options | Optional request parameters |
Returns
Exceptions
Type | Condition |
---|---|
Argument |
|
Invalid |
|
Lobby |