class MsgChannelEncryptResponse
Class for the MsgChannelEncryptResponse
in the Steam Language.
Public Class Methods
new()
click to toggle source
Instantiate a MsgChannelEncryptResponse
object
Calls superclass method
SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 92 def initialize super([{:name=>"protocol_version", :type=>"uint", :modifier=>nil, :value=>"MsgChannelEncryptRequest::PROTOCOL_VERSION", :size=>nil, :modifier_size=>nil}, {:name=>"key_size", :type=>"uint", :modifier=>nil, :value=>128, :size=>nil, :modifier_size=>nil}], []) self.protocol_version = MsgChannelEncryptRequest::PROTOCOL_VERSION self.key_size = 128 end
Public Instance Methods
key_size()
click to toggle source
key_size=(value)
click to toggle source
Sets the key_size
variable.
@param value [uint] the new value
# File lib/steamd/generated/steammsg.rb, line 124 def key_size=(value) @variables['key_size'][:value] = value end
protocol_version()
click to toggle source
Gets the protocol_version
variable.
@note defaults to MsgChannelEncryptRequest::PROTOCOL_VERSION @return [uint] the value of protocol_version
# File lib/steamd/generated/steammsg.rb, line 102 def protocol_version @variables['protocol_version'][:value] end
protocol_version=(value)
click to toggle source
Sets the protocol_version
variable.
@param value [uint] the new value
# File lib/steamd/generated/steammsg.rb, line 109 def protocol_version=(value) @variables['protocol_version'][:value] = value end