class MsgClientOGSEndSession
Class for the MsgClientOGSEndSession
in the Steam Language.
Public Class Methods
new()
click to toggle source
Instantiate a MsgClientOGSEndSession
object
Calls superclass method
SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 732 def initialize super([{:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_ended", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"reason_code", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_attributes", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end
Public Instance Methods
count_attributes()
click to toggle source
Gets the count_attributes
variable.
@note defaults to @return [int] the value of count_attributes
# File lib/steamd/generated/steammsg.rb, line 785 def count_attributes @variables['count_attributes'][:value] end
count_attributes=(value)
click to toggle source
Sets the count_attributes
variable.
@param value [int] the new value
# File lib/steamd/generated/steammsg.rb, line 792 def count_attributes=(value) @variables['count_attributes'][:value] = value end
reason_code()
click to toggle source
Gets the reason_code
variable.
@note defaults to @return [int] the value of reason_code
# File lib/steamd/generated/steammsg.rb, line 770 def reason_code @variables['reason_code'][:value] end
reason_code=(value)
click to toggle source
Sets the reason_code
variable.
@param value [int] the new value
# File lib/steamd/generated/steammsg.rb, line 777 def reason_code=(value) @variables['reason_code'][:value] = value end
session_id()
click to toggle source
Gets the session_id
variable.
@note defaults to @return [ulong] the value of session_id
# File lib/steamd/generated/steammsg.rb, line 740 def session_id @variables['session_id'][:value] end
session_id=(value)
click to toggle source
Sets the session_id
variable.
@param value [ulong] the new value
# File lib/steamd/generated/steammsg.rb, line 747 def session_id=(value) @variables['session_id'][:value] = value end
time_ended()
click to toggle source
Gets the time_ended
variable.
@note defaults to @return [uint] the value of time_ended
# File lib/steamd/generated/steammsg.rb, line 755 def time_ended @variables['time_ended'][:value] end
time_ended=(value)
click to toggle source
Sets the time_ended
variable.
@param value [uint] the new value
# File lib/steamd/generated/steammsg.rb, line 762 def time_ended=(value) @variables['time_ended'][:value] = value end