Class: Steam::Handler::SteamApps

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/steam/handler/steam_apps.rb

Overview

Steam apps handler

Instance Attribute Summary

Attributes included from Base

#client

Instance Method Summary collapse

Methods included from Base

#handles?, included, #initialize, #send_msg

Instance Method Details

#handle(packet) ⇒ Object

Handle a packet

Parameters:



14
15
16
17
18
19
# File 'lib/steam/handler/steam_apps.rb', line 14

def handle(packet)
  case packet.msg_type
  when EMsg::CLIENT_GAME_CONNECT_TOKENS
    handle_client_game_connect_tokens(packet)
  end
end