CMClient

abstract class CMClient

This base client handles the underlying connection to a CM server. This class should not be use directly, but through the SteamClient class.

Inheritors

Constructors

Link copied to clipboard
constructor(configuration: SteamConfiguration)

Properties

Link copied to clipboard
open val cellID: Integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val sessionID: Integer
Link copied to clipboard
open val sessionToken: Long
Link copied to clipboard
open val steamID: SteamID

Functions

Link copied to clipboard
open fun connect()
open fun connect(cmServer: ServerRecord)
Connects this client to a Steam3 server.
Link copied to clipboard
open fun disconnect()
Disconnects this client.
Link copied to clipboard
Gets or sets the connection timeout used when connecting to the Steam server.
Link copied to clipboard
Returns the current endpoint this client is connected to.
Link copied to clipboard
Returns the local IP of this client.
Link copied to clipboard
open fun getPacketMsg(data: Array<Byte>): IPacketMsg
Link copied to clipboard

open fun getServers(type: EServerType): List<InetSocketAddress>
Returns the list of servers matching the given type
Link copied to clipboard
open fun getUniverse(): EUniverse
Gets the universe of this client.
Link copied to clipboard
Link copied to clipboard
open fun send(msg: IClientMsg)
Sends the specified client message to the server.
Link copied to clipboard
open fun setExpectDisconnection(expectDisconnection: Boolean)