createLobby

fun createLobby(appId: Int, lobbyType: ELobbyType, maxMembers: Int, lobbyFlags: Int = 0, metadata: Map<String, String>? = null): AsyncJobSingle<CreateLobbyCallback>?

Sends a request to create a lobby.

Return

null, if the request could not be submitted i.e., not yet logged in. Otherwise, an CreateLobbyCallback.

Parameters

appId

ID of the app the lobby will belong to.

lobbyType

The lobby type.

maxMembers

The maximum number of members that may occupy the lobby.

lobbyFlags

The lobby flags. Defaults to 0.

metadata

The metadata for the lobby. Defaults to null (treated as an empty dictionary).