Steam Client
Represents a single client that connects to the Steam3 network. This class is also responsible for handling the registration of client message handlers and callbacks.
Parameters
The configuration to use for this client.
Constructors
Initializes a new instance of the SteamClient class with a specific configuration.
Properties
Functions
Adds a new handler to the internal list of message handlers.
Connects this client to a Steam3 server. This begins the process of connecting and encrypting the data channel between the client and the server. Results are returned asynchronously in a ConnectedCallback. If the server that SteamKit attempts to connect to is down, a DisconnectedCallback will be posted instead. SteamKit will not attempt to reconnect to Steam, you must handle this callback and call Connect again preferably after a short delay. SteamKit will randomly select a CM server from its internal list.
Connects this client to a Steam3 server. This begins the process of connecting and encrypting the data channel between the client and the server. Results are returned asynchronously in a ConnectedCallback. If the server that SteamKit attempts to connect to is down, a DisconnectedCallback will be posted instead. SteamKit will not attempt to reconnect to Steam, you must handle this callback and call Connect again preferably after a short delay.
Disconnects this client.
Gets the next callback object in the queue, and removes it.
Gets or sets the connection timeout used when connecting to the Steam server.
Returns the current endpoint this client is connected to.
Returns a registered handler.
Returns the local IP of this client.
Returns the next available JobID for job based messages.
Returns the list of servers matching the given type
Gets the universe of this client.
Gets a value indicating whether this instance is isConnected to the remote CM server.
Posts a callback to the queue. This is normally used directly by client message handlers.
Removes a registered handler.
Removes a registered handler by name.
Sends the specified client message to the server. This method automatically assigns the correct SessionID and SteamID of the message.
Blocks the calling thread until a callback object is posted to the queue, and removes it.
Blocks the calling thread until a callback object is posted to the queue, or null after the timeout has elapsed.
Asynchronously awaits until a callback object is posted to the queue, and removes it.