Class: MsgClientNewLoginKey

Inherits:
Object
  • Object
show all
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

#constants, #variables

Instance Method Summary collapse

Methods included from SteamSerializable

#consts, #deserialize, #encode_to, #flag, #serialize, #vars

Constructor Details

#initializeMsgClientNewLoginKey

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_keybyte

Note:

defaults to

Gets the login_key variable.

Returns:

  • (byte)

    the value of login_key



187
188
189
# File 'lib/steamd/generated/steammsg.rb', line 187

def 
  @variables['login_key'][:value]
end

#login_key=(value) ⇒ Object

Sets the login_key variable.

Parameters:

  • value (byte)

    the new value



194
195
196
# File 'lib/steamd/generated/steammsg.rb', line 194

def (value)
  @variables['login_key'][:value] = value
end

#unique_iduint

Note:

defaults to

Gets the unique_id variable.

Returns:

  • (uint)

    the value of unique_id



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.

Parameters:

  • value (uint)

    the new value



179
180
181
# File 'lib/steamd/generated/steammsg.rb', line 179

def unique_id=(value)
  @variables['unique_id'][:value] = value
end