class ConnectData

Class for the ConnectData in the Steam Language.

Constants

CHALLENGE_MASK

CHALLENGE_MASK constant

Public Class Methods

new() click to toggle source

Instantiate a ConnectData object

Calls superclass method SteamSerializable::new
# File lib/steamd/generated/netheader.rb, line 235
def initialize
  super([{:name=>"challenge_value", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [{:name=>"CHALLENGE_MASK", :type=>"uint", :modifier=>"const", :value=>"ChallengeData::CHALLENGE_MASK", :size=>nil, :modifier_size=>nil}])
end

Public Instance Methods

challenge_value() click to toggle source

Gets the challenge_value variable.

@note defaults to @return [uint] the value of challenge_value

# File lib/steamd/generated/netheader.rb, line 243
def challenge_value
  @variables['challenge_value'][:value]
end
challenge_value=(value) click to toggle source

Sets the challenge_value variable.

@param value [uint] the new value

# File lib/steamd/generated/netheader.rb, line 250
def challenge_value=(value)
  @variables['challenge_value'][:value] = value
end