Class: MsgClientOGSBeginSession
- Inherits:
-
Object
- Object
- MsgClientOGSBeginSession
- 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
Instance Method Summary collapse
-
#account_id ⇒ ulong
Gets the account_id variable.
-
#account_id=(value) ⇒ Object
Sets the account_id variable.
-
#account_type ⇒ byte
Gets the account_type variable.
-
#account_type=(value) ⇒ Object
Sets the account_type variable.
-
#app_id ⇒ uint
Gets the app_id variable.
-
#app_id=(value) ⇒ Object
Sets the app_id variable.
-
#initialize ⇒ MsgClientOGSBeginSession
constructor
Instantiate a MsgClientOGSBeginSession object.
-
#time_started ⇒ uint
Gets the time_started variable.
-
#time_started=(value) ⇒ Object
Sets the time_started variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientOGSBeginSession
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_id ⇒ ulong
Note:
defaults to
Gets the account_id variable.
611 612 613 |
# File 'lib/steamd/generated/steammsg.rb', line 611 def account_id @variables['account_id'][:value] end |
#account_id=(value) ⇒ Object
Sets the account_id variable.
618 619 620 |
# File 'lib/steamd/generated/steammsg.rb', line 618 def account_id=(value) @variables['account_id'][:value] = value end |
#account_type ⇒ byte
Note:
defaults to
Gets the account_type variable.
596 597 598 |
# File 'lib/steamd/generated/steammsg.rb', line 596 def account_type @variables['account_type'][:value] end |
#account_type=(value) ⇒ Object
Sets the account_type variable.
603 604 605 |
# File 'lib/steamd/generated/steammsg.rb', line 603 def account_type=(value) @variables['account_type'][:value] = value end |
#app_id ⇒ uint
Note:
defaults to
Gets the app_id variable.
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.
633 634 635 |
# File 'lib/steamd/generated/steammsg.rb', line 633 def app_id=(value) @variables['app_id'][:value] = value end |
#time_started ⇒ uint
Note:
defaults to
Gets the time_started variable.
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.
648 649 650 |
# File 'lib/steamd/generated/steammsg.rb', line 648 def time_started=(value) @variables['time_started'][:value] = value end |