Class: MsgClientOGSBeginSession

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

Overview

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

#initializeMsgClientOGSBeginSession

Instantiate a MsgClientOGSBeginSession object



588
589
590
# File 'lib/steamd/generated/steammsg.rb', line 588

def initialize
  super([{:name=>"account_type", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"account_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"app_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_started", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#account_idulong

Note:

defaults to

Gets the account_id variable.

Returns:

  • (ulong)

    the value of account_id



611
612
613
# File 'lib/steamd/generated/steammsg.rb', line 611

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

#account_id=(value) ⇒ Object

Sets the account_id variable.

Parameters:

  • value (ulong)

    the new value



618
619
620
# File 'lib/steamd/generated/steammsg.rb', line 618

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

#account_typebyte

Note:

defaults to

Gets the account_type variable.

Returns:

  • (byte)

    the value of account_type



596
597
598
# File 'lib/steamd/generated/steammsg.rb', line 596

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

#account_type=(value) ⇒ Object

Sets the account_type variable.

Parameters:

  • value (byte)

    the new value



603
604
605
# File 'lib/steamd/generated/steammsg.rb', line 603

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

#app_iduint

Note:

defaults to

Gets the app_id variable.

Returns:

  • (uint)

    the value of app_id



626
627
628
# File 'lib/steamd/generated/steammsg.rb', line 626

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

#app_id=(value) ⇒ Object

Sets the app_id variable.

Parameters:

  • value (uint)

    the new value



633
634
635
# File 'lib/steamd/generated/steammsg.rb', line 633

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

#time_starteduint

Note:

defaults to

Gets the time_started variable.

Returns:

  • (uint)

    the value of time_started



641
642
643
# File 'lib/steamd/generated/steammsg.rb', line 641

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

#time_started=(value) ⇒ Object

Sets the time_started variable.

Parameters:

  • value (uint)

    the new value



648
649
650
# File 'lib/steamd/generated/steammsg.rb', line 648

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