class Steamcr::Client
- Steamcr::Client
- Reference
- Object
Overview
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.
Defined in:
steamcr/client.crConstructors
Instance Method Summary
- #auth : Steamcr::Auth?
- #connect
- #disconnect
- #emit(event : Event)
- #events : Channel(Steamcr::Event)
- #gc : Steamcr::GameCord?
- #handle_multi(message : Protocol::PacketMessage)
- #handle_packet_message(message : Protocol::PacketMessage)
- #heartbeat(sleep_time)
- #register_handler(handler : PacketHandler)
- #session_id : Int32?
- #session_id=(session_id : Int32 | Nil)
- #steam_id : UInt64
- #steam_id=(steam_id : UInt64)
- #write(msg : Protocol::ClientMsg)