Class: MsgClientAppUsageEvent
- Inherits:
-
Object
- Object
- MsgClientAppUsageEvent
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgClientAppUsageEvent in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#app_usage_event ⇒ EAppUsageEvent
Gets the app_usage_event variable.
-
#app_usage_event=(value) ⇒ Object
Sets the app_usage_event variable.
-
#game_id ⇒ ulong
Gets the game_id variable.
-
#game_id=(value) ⇒ Object
Sets the game_id variable.
-
#initialize ⇒ MsgClientAppUsageEvent
constructor
Instantiate a MsgClientAppUsageEvent object.
-
#offline ⇒ ushort
Gets the offline variable.
-
#offline=(value) ⇒ Object
Sets the offline variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientAppUsageEvent
Instantiate a MsgClientAppUsageEvent object
318 319 320 |
# File 'lib/steamd/generated/steammsg.rb', line 318 def initialize super([{:name=>"app_usage_event", :type=>"EAppUsageEvent", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"offline", :type=>"ushort", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end |
Instance Method Details
#app_usage_event ⇒ EAppUsageEvent
Note:
defaults to
Gets the app_usage_event variable.
326 327 328 |
# File 'lib/steamd/generated/steammsg.rb', line 326 def app_usage_event @variables['app_usage_event'][:value] end |
#app_usage_event=(value) ⇒ Object
Sets the app_usage_event variable.
333 334 335 |
# File 'lib/steamd/generated/steammsg.rb', line 333 def app_usage_event=(value) @variables['app_usage_event'][:value] = value end |
#game_id ⇒ ulong
Note:
defaults to
Gets the game_id variable.
341 342 343 |
# File 'lib/steamd/generated/steammsg.rb', line 341 def game_id @variables['game_id'][:value] end |
#game_id=(value) ⇒ Object
Sets the game_id variable.
348 349 350 |
# File 'lib/steamd/generated/steammsg.rb', line 348 def game_id=(value) @variables['game_id'][:value] = value end |
#offline ⇒ ushort
Note:
defaults to
Gets the offline variable.
356 357 358 |
# File 'lib/steamd/generated/steammsg.rb', line 356 def offline @variables['offline'][:value] end |
#offline=(value) ⇒ Object
Sets the offline variable.
363 364 365 |
# File 'lib/steamd/generated/steammsg.rb', line 363 def offline=(value) @variables['offline'][:value] = value end |