SlotsAvailableFilter

class SlotsAvailableFilter(val slotsAvailable: Int) : Filter

Can be used to filter lobbies by minimum number of slots available.

Author

Lossy

Since

2025-05-21

Parameters

slotsAvailable

Integer value to compare against.

Constructors

Link copied to clipboard
constructor(slotsAvailable: Int)

Initializes a new instance of the SlotsAvailableFilter class.

Properties

Link copied to clipboard
val comparison: ELobbyComparison

The comparison method used by this filter.

Link copied to clipboard
val filterType: ELobbyFilterType

The type of filter.

Link copied to clipboard
val key: String

The metadata key this filter pertains to. Under certain circumstances e.g. a distance filter, this will be an empty string.

Link copied to clipboard

Minimum number of slots available in the lobby.

Functions

Link copied to clipboard
open override fun serialize(): SteammessagesClientserverMms.CMsgClientMMSGetLobbyList.Filter.Builder

Serializes the slots available filter into a representation used internally by SteamMatchmaking.