class MsgChannelEncryptRequest
Class for the MsgChannelEncryptRequest
in the Steam Language.
Constants
- PROTOCOL_VERSION
PROTOCOL_VERSION
constant
Public Class Methods
new()
click to toggle source
Instantiate a MsgChannelEncryptRequest
object
Calls superclass method
SteamSerializable::new
# 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
Public Instance Methods
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 58 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 65 def protocol_version=(value) @variables['protocol_version'][:value] = value end
universe()
click to toggle source
Gets the universe variable.
@note defaults to EUniverse::INVALID @return [EUniverse] the value of universe
# File lib/steamd/generated/steammsg.rb, line 73 def universe @variables['universe'][:value] end
universe=(value)
click to toggle source
Sets the universe variable.
@param value [EUniverse] the new value
# File lib/steamd/generated/steammsg.rb, line 80 def universe=(value) @variables['universe'][:value] = value end