class MsgClientAppUsageEvent
Class for the MsgClientAppUsageEvent
in the Steam Language.
Public Class Methods
new()
click to toggle source
Instantiate a MsgClientAppUsageEvent
object
Calls superclass method
SteamSerializable::new
# 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
Public Instance Methods
app_usage_event()
click to toggle source
Gets the app_usage_event
variable.
@note defaults to @return [EAppUsageEvent] the value of app_usage_event
# File lib/steamd/generated/steammsg.rb, line 326 def app_usage_event @variables['app_usage_event'][:value] end
app_usage_event=(value)
click to toggle source
Sets the app_usage_event
variable.
@param value [EAppUsageEvent] the new value
# File lib/steamd/generated/steammsg.rb, line 333 def app_usage_event=(value) @variables['app_usage_event'][:value] = value end
game_id()
click to toggle source
game_id=(value)
click to toggle source
Sets the game_id
variable.
@param value [ulong] the new value
# File lib/steamd/generated/steammsg.rb, line 348 def game_id=(value) @variables['game_id'][:value] = value end
offline()
click to toggle source
Gets the offline variable.
@note defaults to @return [ushort] the value of offline
# File lib/steamd/generated/steammsg.rb, line 356 def offline @variables['offline'][:value] end
offline=(value)
click to toggle source
Sets the offline variable.
@param value [ushort] the new value
# File lib/steamd/generated/steammsg.rb, line 363 def offline=(value) @variables['offline'][:value] = value end