Smart CMServer List
Smart list of CM servers.
Properties
Functions
Link copied to clipboard
Force refresh the server list. If directory fetch is allowed, it will refresh from the API first, and then fallback to the server list provider.
Link copied to clipboard
Gets the ServerRecords of all servers in the server list.
Link copied to clipboard
Get the next server in the list.
Link copied to clipboard
fun replaceList(endpointList: List<ServerRecord>, writeProvider: Boolean = true, serversTime: Instant? = null)
Replace the list with a new list of servers provided to us by the Steam servers.
Link copied to clipboard
Explicitly resets the known state of all servers.
Link copied to clipboard
Resets the scores of all servers which has a last bad connection more than SmartCMServerList.badConnectionMemoryTimeSpan ago.
Link copied to clipboard
fun tryMark(endPoint: InetSocketAddress?, protocolTypes: ProtocolTypes?, quality: ServerQuality): Boolean
fun tryMark(endPoint: InetSocketAddress?, protocolTypes: EnumSet<ProtocolTypes>?, quality: ServerQuality): Boolean