class MsgGSGetPlayStatsResponse

Class for the MsgGSGetPlayStatsResponse in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgGSGetPlayStatsResponse object

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

Public Instance Methods

lifetime_connects() click to toggle source

Gets the lifetime_connects variable.

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

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

Sets the lifetime_connects variable.

@param value [uint] the new value

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

Gets the lifetime_minutes_played variable.

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

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

Sets the lifetime_minutes_played variable.

@param value [uint] the new value

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

Gets the rank variable.

@note defaults to @return [int] the value of rank

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

Sets the rank variable.

@param value [int] the new value

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

Gets the result variable.

@note defaults to @return [EResult] the value of result

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

Sets the result variable.

@param value [EResult] the new value

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