Class: MsgGSKick

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

Overview

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

#initializeMsgGSKick

Instantiate a MsgGSKick object



1242
1243
1244
# File 'lib/steamd/generated/steammsg.rb', line 1242

def initialize
  super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"deny_reason", :type=>"EDenyReason", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"wait_til_map_change", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#deny_reasonEDenyReason

Note:

defaults to

Gets the deny_reason variable.

Returns:



1265
1266
1267
# File 'lib/steamd/generated/steammsg.rb', line 1265

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

#deny_reason=(value) ⇒ Object

Sets the deny_reason variable.

Parameters:



1272
1273
1274
# File 'lib/steamd/generated/steammsg.rb', line 1272

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

#steam_idulong

Note:

defaults to

Gets the steam_id variable.

Returns:

  • (ulong)

    the value of steam_id



1250
1251
1252
# File 'lib/steamd/generated/steammsg.rb', line 1250

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

#steam_id=(value) ⇒ Object

Sets the steam_id variable.

Parameters:

  • value (ulong)

    the new value



1257
1258
1259
# File 'lib/steamd/generated/steammsg.rb', line 1257

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

#wait_til_map_changeint

Note:

defaults to

Gets the wait_til_map_change variable.

Returns:

  • (int)

    the value of wait_til_map_change



1280
1281
1282
# File 'lib/steamd/generated/steammsg.rb', line 1280

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

#wait_til_map_change=(value) ⇒ Object

Sets the wait_til_map_change variable.

Parameters:

  • value (int)

    the new value



1287
1288
1289
# File 'lib/steamd/generated/steammsg.rb', line 1287

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