Class: MsgChannelEncryptResponse
- Inherits:
-
Object
- Object
- MsgChannelEncryptResponse
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgChannelEncryptResponse in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#initialize ⇒ MsgChannelEncryptResponse
constructor
Instantiate a MsgChannelEncryptResponse object.
-
#key_size ⇒ uint
Gets the key_size variable.
-
#key_size=(value) ⇒ Object
Sets the key_size variable.
-
#protocol_version ⇒ uint
Gets the protocol_version variable.
-
#protocol_version=(value) ⇒ Object
Sets the protocol_version variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgChannelEncryptResponse
Instantiate a MsgChannelEncryptResponse object
92 93 94 95 96 |
# 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 |
Instance Method Details
#key_size ⇒ uint
Note:
defaults to 128
Gets the key_size variable.
117 118 119 |
# File 'lib/steamd/generated/steammsg.rb', line 117 def key_size @variables['key_size'][:value] end |
#key_size=(value) ⇒ Object
Sets the key_size variable.
124 125 126 |
# File 'lib/steamd/generated/steammsg.rb', line 124 def key_size=(value) @variables['key_size'][:value] = value end |
#protocol_version ⇒ uint
Note:
defaults to MsgChannelEncryptRequest::PROTOCOL_VERSION
Gets the protocol_version variable.
102 103 104 |
# File 'lib/steamd/generated/steammsg.rb', line 102 def protocol_version @variables['protocol_version'][:value] end |
#protocol_version=(value) ⇒ Object
Sets the protocol_version variable.
109 110 111 |
# File 'lib/steamd/generated/steammsg.rb', line 109 def protocol_version=(value) @variables['protocol_version'][:value] = value end |