Class: MsgClientGenericResponse

Inherits:
Object
  • Object
show all
Includes:
SteamSerializable
Defined in:
lib/steamd/generated/steammsg.rb

Overview

Class for the MsgClientGenericResponse in the Steam Language.

Instance Attribute Summary

Attributes included from SteamSerializable

#constants, #variables

Instance Method Summary collapse

Methods included from SteamSerializable

#consts, #deserialize, #encode_to, #flag, #serialize, #vars

Constructor Details

#initializeMsgClientGenericResponse

Instantiate a MsgClientGenericResponse object



19
20
21
# 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

Instance Method Details

#resultEResult

Note:

defaults to

Gets the result variable.

Returns:

  • (EResult)

    the value of result



27
28
29
# File 'lib/steamd/generated/steammsg.rb', line 27

def result
  @variables['result'][:value]
end

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



34
35
36
# File 'lib/steamd/generated/steammsg.rb', line 34

def result=(value)
  @variables['result'][:value] = value
end