Class: MsgClientNewLoginKeyAccepted

Inherits:
Object
  • Object
show all
Includes:
SteamSerializable
Defined in:
lib/steamd/generated/steammsg.rb

Overview

Class for the MsgClientNewLoginKeyAccepted 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

#initializeMsgClientNewLoginKeyAccepted

Instantiate a MsgClientNewLoginKeyAccepted object



206
207
208
# File 'lib/steamd/generated/steammsg.rb', line 206

def initialize
  super([{:name=>"unique_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#unique_iduint

Note:

defaults to

Gets the unique_id variable.

Returns:

  • (uint)

    the value of unique_id



214
215
216
# File 'lib/steamd/generated/steammsg.rb', line 214

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

#unique_id=(value) ⇒ Object

Sets the unique_id variable.

Parameters:

  • value (uint)

    the new value



221
222
223
# File 'lib/steamd/generated/steammsg.rb', line 221

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