Class: MsgChannelEncryptResult

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

Overview

Class for the MsgChannelEncryptResult 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

#initializeMsgChannelEncryptResult

Instantiate a MsgChannelEncryptResult object



136
137
138
139
# File 'lib/steamd/generated/steammsg.rb', line 136

def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>"EResult::INVALID", :size=>nil, :modifier_size=>nil}], [])
  self.result = EResult::INVALID
end

Instance Method Details

#resultEResult

Note:

defaults to EResult::INVALID

Gets the result variable.

Returns:

  • (EResult)

    the value of result



145
146
147
# File 'lib/steamd/generated/steammsg.rb', line 145

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

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



152
153
154
# File 'lib/steamd/generated/steammsg.rb', line 152

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