Class: MsgClientOGSEndSession
- Inherits:
-
Object
- Object
- MsgClientOGSEndSession
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgClientOGSEndSession in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#count_attributes ⇒ int
Gets the count_attributes variable.
-
#count_attributes=(value) ⇒ Object
Sets the count_attributes variable.
-
#initialize ⇒ MsgClientOGSEndSession
constructor
Instantiate a MsgClientOGSEndSession object.
-
#reason_code ⇒ int
Gets the reason_code variable.
-
#reason_code=(value) ⇒ Object
Sets the reason_code variable.
-
#session_id ⇒ ulong
Gets the session_id variable.
-
#session_id=(value) ⇒ Object
Sets the session_id variable.
-
#time_ended ⇒ uint
Gets the time_ended variable.
-
#time_ended=(value) ⇒ Object
Sets the time_ended variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientOGSEndSession
Instantiate a MsgClientOGSEndSession object
732 733 734 |
# 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 |
Instance Method Details
#count_attributes ⇒ int
Note:
defaults to
Gets the count_attributes variable.
785 786 787 |
# File 'lib/steamd/generated/steammsg.rb', line 785 def count_attributes @variables['count_attributes'][:value] end |
#count_attributes=(value) ⇒ Object
Sets the count_attributes variable.
792 793 794 |
# File 'lib/steamd/generated/steammsg.rb', line 792 def count_attributes=(value) @variables['count_attributes'][:value] = value end |
#reason_code ⇒ int
Note:
defaults to
Gets the reason_code variable.
770 771 772 |
# File 'lib/steamd/generated/steammsg.rb', line 770 def reason_code @variables['reason_code'][:value] end |
#reason_code=(value) ⇒ Object
Sets the reason_code variable.
777 778 779 |
# File 'lib/steamd/generated/steammsg.rb', line 777 def reason_code=(value) @variables['reason_code'][:value] = value end |
#session_id ⇒ ulong
Note:
defaults to
Gets the session_id variable.
740 741 742 |
# File 'lib/steamd/generated/steammsg.rb', line 740 def session_id @variables['session_id'][:value] end |
#session_id=(value) ⇒ Object
Sets the session_id variable.
747 748 749 |
# File 'lib/steamd/generated/steammsg.rb', line 747 def session_id=(value) @variables['session_id'][:value] = value end |
#time_ended ⇒ uint
Note:
defaults to
Gets the time_ended variable.
755 756 757 |
# File 'lib/steamd/generated/steammsg.rb', line 755 def time_ended @variables['time_ended'][:value] end |
#time_ended=(value) ⇒ Object
Sets the time_ended variable.
762 763 764 |
# File 'lib/steamd/generated/steammsg.rb', line 762 def time_ended=(value) @variables['time_ended'][:value] = value end |