Class: MsgClientNewLoginKey
- Inherits:
-
Object
- Object
- MsgClientNewLoginKey
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgClientNewLoginKey in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#initialize ⇒ MsgClientNewLoginKey
constructor
Instantiate a MsgClientNewLoginKey object.
-
#login_key ⇒ byte
Gets the login_key variable.
-
#login_key=(value) ⇒ Object
Sets the login_key variable.
-
#unique_id ⇒ uint
Gets the unique_id variable.
-
#unique_id=(value) ⇒ Object
Sets the unique_id variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientNewLoginKey
Instantiate a MsgClientNewLoginKey object
164 165 166 |
# File 'lib/steamd/generated/steammsg.rb', line 164 def initialize super([{:name=>"unique_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"login_key", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end |
Instance Method Details
#login_key ⇒ byte
Note:
defaults to
Gets the login_key variable.
187 188 189 |
# File 'lib/steamd/generated/steammsg.rb', line 187 def login_key @variables['login_key'][:value] end |
#login_key=(value) ⇒ Object
Sets the login_key variable.
194 195 196 |
# File 'lib/steamd/generated/steammsg.rb', line 194 def login_key=(value) @variables['login_key'][:value] = value end |
#unique_id ⇒ uint
Note:
defaults to
Gets the unique_id variable.
172 173 174 |
# File 'lib/steamd/generated/steammsg.rb', line 172 def unique_id @variables['unique_id'][:value] end |
#unique_id=(value) ⇒ Object
Sets the unique_id variable.
179 180 181 |
# File 'lib/steamd/generated/steammsg.rb', line 179 def unique_id=(value) @variables['unique_id'][:value] = value end |