class MsgClientOGSBeginSession

Class for the MsgClientOGSBeginSession in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientOGSBeginSession object

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

Public Instance Methods

account_id() click to toggle source

Gets the account_id variable.

@note defaults to @return [ulong] the value of account_id

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

Sets the account_id variable.

@param value [ulong] the new value

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

Gets the account_type variable.

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

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

Sets the account_type variable.

@param value [byte] the new value

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

Gets the app_id variable.

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

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

Sets the app_id variable.

@param value [uint] the new value

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

Gets the time_started variable.

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

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

Sets the time_started variable.

@param value [uint] the new value

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