Steamcr::Client
Inherits Reference < Object
Represents a Client on the Steam Network. The Client creates a connection to the Steam networks, and send and receives Message objects to that connection.
The Client holds a collection of handlers that react to received packets, if they care about the packet data.
Constructors
new(debug : Bool = ENV.has_key?("STEAMCR_DEBUG"))
SourceInstance methods
auth
Sourceconnect
Sourcedisconnect
Sourceemit(event : Event)
Sourceevents
Sourcegc
Sourcehandle_multi(message : Protocol::PacketMessage)
Sourcehandle_packet_message(message : Protocol::PacketMessage)
Sourceheartbeat(sleep_time)
Sourceregister_handler(handler : PacketHandler)
Sourcesession_id
Sourcesession_id=(session_id : Int32 | Nil)
Sourcesteam_id
Sourcesteam_id=(steam_id : UInt64)
Sourcewrite(msg : Protocol::ClientMsg)
Source