QueryDetails

data class QueryDetails(var appID: Int, var filter: String?, var region: ERegionCode, var geoLocatedIP: InetAddress?, var maxServers: Int)

Details used when performing a server list query.

Parameters

appID

Gets or sets the AppID used when querying servers.

filter

Gets or sets the filter used for querying the master server. Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.

region

Gets or sets the region that servers will be returned from.

geoLocatedIP

Gets or sets the IP address that will be GeoIP located. This is done to return servers closer to this location.

maxServers

Gets or sets the maximum number of servers to return.

Constructors

Link copied to clipboard
constructor(appID: Int, filter: String?, region: ERegionCode, geoLocatedIP: InetAddress?, maxServers: Int)

Properties

Link copied to clipboard
var appID: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var region: ERegionCode