Class: MsgChannelEncryptRequest
- Inherits:
-
Object
- Object
- MsgChannelEncryptRequest
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgChannelEncryptRequest in the Steam Language.
Constant Summary collapse
- PROTOCOL_VERSION =
PROTOCOL_VERSION constant
1
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#initialize ⇒ MsgChannelEncryptRequest
constructor
Instantiate a MsgChannelEncryptRequest object.
-
#protocol_version ⇒ uint
Gets the protocol_version variable.
-
#protocol_version=(value) ⇒ Object
Sets the protocol_version variable.
-
#universe ⇒ EUniverse
Gets the universe variable.
-
#universe=(value) ⇒ Object
Sets the universe variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgChannelEncryptRequest
Instantiate a MsgChannelEncryptRequest object
48 49 50 51 52 |
# File 'lib/steamd/generated/steammsg.rb', line 48 def initialize super([{:name=>"protocol_version", :type=>"uint", :modifier=>nil, :value=>"MsgChannelEncryptRequest::PROTOCOL_VERSION", :size=>nil, :modifier_size=>nil}, {:name=>"universe", :type=>"EUniverse", :modifier=>nil, :value=>"EUniverse::INVALID", :size=>nil, :modifier_size=>nil}], [{:name=>"PROTOCOL_VERSION", :type=>"uint", :modifier=>"const", :value=>1, :size=>nil, :modifier_size=>nil}]) self.protocol_version = MsgChannelEncryptRequest::PROTOCOL_VERSION self.universe = EUniverse::INVALID end |
Instance Method Details
#protocol_version ⇒ uint
Note:
defaults to MsgChannelEncryptRequest::PROTOCOL_VERSION
Gets the protocol_version variable.
58 59 60 |
# File 'lib/steamd/generated/steammsg.rb', line 58 def protocol_version @variables['protocol_version'][:value] end |
#protocol_version=(value) ⇒ Object
Sets the protocol_version variable.
65 66 67 |
# File 'lib/steamd/generated/steammsg.rb', line 65 def protocol_version=(value) @variables['protocol_version'][:value] = value end |
#universe ⇒ EUniverse
Note:
defaults to EUniverse::INVALID
Gets the universe variable.
73 74 75 |
# File 'lib/steamd/generated/steammsg.rb', line 73 def universe @variables['universe'][:value] end |
#universe=(value) ⇒ Object
Sets the universe variable.
80 81 82 |
# File 'lib/steamd/generated/steammsg.rb', line 80 def universe=(value) @variables['universe'][:value] = value end |