Filter

abstract class Filter(val filterType: ELobbyFilterType, val key: String, val comparison: ELobbyComparison)

The lobby filter base class.

Author

Lossy

Since

2025-05-21

Parameters

filterType

The type of filter.

key

The metadata key this filter pertains to.

comparison

The comparison method used by this filter.

Inheritors

Constructors

Link copied to clipboard
constructor(filterType: ELobbyFilterType, key: String, comparison: ELobbyComparison)

Base constructor for all filter subclasses.

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.

Functions

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

Serializes the filter into a representation used internally by SteamMatchmaking.