Class: MsgClientGenericResponse
- Inherits:
-
Object
- Object
- MsgClientGenericResponse
- 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
Instance Method Summary collapse
-
#initialize ⇒ MsgClientGenericResponse
constructor
Instantiate a MsgClientGenericResponse object.
-
#result ⇒ EResult
Gets the result variable.
-
#result=(value) ⇒ Object
Sets the result variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientGenericResponse
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
#result ⇒ EResult
Note:
defaults to
Gets the result variable.
27 28 29 |
# File 'lib/steamd/generated/steammsg.rb', line 27 def result @variables['result'][:value] end |
#result=(value) ⇒ Object
Sets the result variable.
34 35 36 |
# File 'lib/steamd/generated/steammsg.rb', line 34 def result=(value) @variables['result'][:value] = value end |