Class: ConnectData
- Inherits:
-
Object
- Object
- ConnectData
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/netheader.rb
Overview
Class for the ConnectData in the Steam Language.
Constant Summary collapse
- CHALLENGE_MASK =
CHALLENGE_MASK constant
ChallengeData::CHALLENGE_MASK
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#challenge_value ⇒ uint
Gets the challenge_value variable.
-
#challenge_value=(value) ⇒ Object
Sets the challenge_value variable.
-
#initialize ⇒ ConnectData
constructor
Instantiate a ConnectData object.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ ConnectData
Instantiate a ConnectData object
235 236 237 |
# 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 |
Instance Method Details
#challenge_value ⇒ uint
Note:
defaults to
Gets the challenge_value variable.
243 244 245 |
# File 'lib/steamd/generated/netheader.rb', line 243 def challenge_value @variables['challenge_value'][:value] end |
#challenge_value=(value) ⇒ Object
Sets the challenge_value variable.
250 251 252 |
# File 'lib/steamd/generated/netheader.rb', line 250 def challenge_value=(value) @variables['challenge_value'][:value] = value end |