class MsgClientNewLoginKey

Class for the MsgClientNewLoginKey in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientNewLoginKey object

Calls superclass method SteamSerializable::new
# 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

Public Instance Methods

login_key() click to toggle source

Gets the login_key variable.

@note defaults to @return [byte] the value of login_key

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

Sets the login_key variable.

@param value [byte] the new value

# File lib/steamd/generated/steammsg.rb, line 194
def login_key=(value)
  @variables['login_key'][:value] = value
end
unique_id() click to toggle source

Gets the unique_id variable.

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

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

Sets the unique_id variable.

@param value [uint] the new value

# File lib/steamd/generated/steammsg.rb, line 179
def unique_id=(value)
  @variables['unique_id'][:value] = value
end