Class: MsgGSGetPlayStatsResponse
- Inherits:
-
Object
- Object
- MsgGSGetPlayStatsResponse
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgGSGetPlayStatsResponse in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#initialize ⇒ MsgGSGetPlayStatsResponse
constructor
Instantiate a MsgGSGetPlayStatsResponse object.
-
#lifetime_connects ⇒ uint
Gets the lifetime_connects variable.
-
#lifetime_connects=(value) ⇒ Object
Sets the lifetime_connects variable.
-
#lifetime_minutes_played ⇒ uint
Gets the lifetime_minutes_played variable.
-
#lifetime_minutes_played=(value) ⇒ Object
Sets the lifetime_minutes_played variable.
-
#rank ⇒ int
Gets the rank variable.
-
#rank=(value) ⇒ Object
Sets the rank variable.
-
#result ⇒ EResult
Gets the result variable.
-
#result=(value) ⇒ Object
Sets the result variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgGSGetPlayStatsResponse
Instantiate a MsgGSGetPlayStatsResponse object
984 985 986 |
# File 'lib/steamd/generated/steammsg.rb', line 984 def initialize super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"rank", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"lifetime_connects", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"lifetime_minutes_played", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end |
Instance Method Details
#lifetime_connects ⇒ uint
defaults to
Gets the lifetime_connects variable.
1022 1023 1024 |
# File 'lib/steamd/generated/steammsg.rb', line 1022 def lifetime_connects @variables['lifetime_connects'][:value] end |
#lifetime_connects=(value) ⇒ Object
Sets the lifetime_connects variable.
1029 1030 1031 |
# File 'lib/steamd/generated/steammsg.rb', line 1029 def lifetime_connects=(value) @variables['lifetime_connects'][:value] = value end |
#lifetime_minutes_played ⇒ uint
defaults to
Gets the lifetime_minutes_played variable.
1037 1038 1039 |
# File 'lib/steamd/generated/steammsg.rb', line 1037 def lifetime_minutes_played @variables['lifetime_minutes_played'][:value] end |
#lifetime_minutes_played=(value) ⇒ Object
Sets the lifetime_minutes_played variable.
1044 1045 1046 |
# File 'lib/steamd/generated/steammsg.rb', line 1044 def lifetime_minutes_played=(value) @variables['lifetime_minutes_played'][:value] = value end |
#rank ⇒ int
defaults to
Gets the rank variable.
1007 1008 1009 |
# File 'lib/steamd/generated/steammsg.rb', line 1007 def rank @variables['rank'][:value] end |
#rank=(value) ⇒ Object
Sets the rank variable.
1014 1015 1016 |
# File 'lib/steamd/generated/steammsg.rb', line 1014 def rank=(value) @variables['rank'][:value] = value end |
#result ⇒ EResult
defaults to
Gets the result variable.
992 993 994 |
# File 'lib/steamd/generated/steammsg.rb', line 992 def result @variables['result'][:value] end |
#result=(value) ⇒ Object
Sets the result variable.
999 1000 1001 |
# File 'lib/steamd/generated/steammsg.rb', line 999 def result=(value) @variables['result'][:value] = value end |