Class: MsgClientVACBanStatus

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

Overview

Class for the MsgClientVACBanStatus 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

#initializeMsgClientVACBanStatus

Instantiate a MsgClientVACBanStatus object



291
292
293
# File 'lib/steamd/generated/steammsg.rb', line 291

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

Instance Method Details

#num_bansuint

Note:

defaults to

Gets the num_bans variable.

Returns:

  • (uint)

    the value of num_bans



299
300
301
# File 'lib/steamd/generated/steammsg.rb', line 299

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

#num_bans=(value) ⇒ Object

Sets the num_bans variable.

Parameters:

  • value (uint)

    the new value



306
307
308
# File 'lib/steamd/generated/steammsg.rb', line 306

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