DistanceFilter

class DistanceFilter(val value: ELobbyDistanceFilter) : Filter

Can be used to filter lobbies geographically (based on IP according to Steam's IP database).

Author

Lossy

Since

2025-05-21

Parameters

value

Steam distance filter value.

Constructors

Link copied to clipboard
constructor(value: ELobbyDistanceFilter)

Initializes a new instance of the DistanceFilter 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
val value: ELobbyDistanceFilter

Steam distance filter value.

Functions

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

Serializes the distance filter into a representation used internally by SteamMatchmaking.