class MsgClientGenericResponse

Class for the MsgClientGenericResponse in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientGenericResponse object

Calls superclass method SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 19
def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Public Instance Methods

result() click to toggle source

Gets the result variable.

@note defaults to @return [EResult] the value of result

# File lib/steamd/generated/steammsg.rb, line 27
def result
  @variables['result'][:value]
end
result=(value) click to toggle source

Sets the result variable.

@param value [EResult] the new value

# File lib/steamd/generated/steammsg.rb, line 34
def result=(value)
  @variables['result'][:value] = value
end