Lobby

constructor(steamID: SteamID, lobbyType: ELobbyType, lobbyFlags: Int, ownerSteamID: SteamID?, metadata: Map<String, String> = mapOf(), maxMembers: Int, numMembers: Int, members: List<Member> = listOf(), distance: Float?, weight: Long?)

Parameters

steamID

SteamID of the lobby.

lobbyType

The type of the lobby.

lobbyFlags

The lobby's flags.

ownerSteamID

The SteamID of the lobby's owner. Please keep in mind that Steam does not provide lobby owner details for lobbies returned in a lobby list. As such, lobbies that have been obtained/updated as a result of calling SteamMatchmaking.getLobbyList may have a null (or non-null but state) owner.

metadata

The metadata of the lobby; string key-value pairs.

maxMembers

The maximum number of members that can occupy the lobby.

numMembers

The number of members that are currently occupying the lobby.

members

A list of lobby members. This will only be populated for the user's current lobby.

distance

The distance of the lobby.

weight

The weight of the lobby.