Class: MsgClientRequestedClientStats

Inherits:
Object
  • Object
show all
Includes:
SteamSerializable
Defined in:
lib/steamd/generated/steammsg.rb

Overview

Class for the MsgClientRequestedClientStats in the Steam Language.

Instance Attribute Summary

Attributes included from SteamSerializable

#constants, #variables

Instance Method Summary collapse

Methods included from SteamSerializable

#consts, #deserialize, #encode_to, #flag, #serialize, #vars

Constructor Details

#initializeMsgClientRequestedClientStats

Instantiate a MsgClientRequestedClientStats object



489
490
491
# File 'lib/steamd/generated/steammsg.rb', line 489

def initialize
  super([{:name=>"count_stats", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#count_statsint

Note:

defaults to

Gets the count_stats variable.

Returns:

  • (int)

    the value of count_stats



497
498
499
# File 'lib/steamd/generated/steammsg.rb', line 497

def count_stats
  @variables['count_stats'][:value]
end

#count_stats=(value) ⇒ Object

Sets the count_stats variable.

Parameters:

  • value (int)

    the new value



504
505
506
# File 'lib/steamd/generated/steammsg.rb', line 504

def count_stats=(value)
  @variables['count_stats'][:value] = value
end