Class: MsgGSDeny

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

Overview

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

#initializeMsgGSDeny

Instantiate a MsgGSDeny object



1173
1174
1175
# File 'lib/steamd/generated/steammsg.rb', line 1173

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}], [])
end

Instance Method Details

#deny_reasonEDenyReason

Note:

defaults to

Gets the deny_reason variable.

Returns:



1196
1197
1198
# File 'lib/steamd/generated/steammsg.rb', line 1196

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

#deny_reason=(value) ⇒ Object

Sets the deny_reason variable.

Parameters:



1203
1204
1205
# File 'lib/steamd/generated/steammsg.rb', line 1203

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



1181
1182
1183
# File 'lib/steamd/generated/steammsg.rb', line 1181

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

#steam_id=(value) ⇒ Object

Sets the steam_id variable.

Parameters:

  • value (ulong)

    the new value



1188
1189
1190
# File 'lib/steamd/generated/steammsg.rb', line 1188

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