class MsgGSDeny

Class for the MsgGSDeny in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgGSDeny object

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

Public Instance Methods

deny_reason() click to toggle source

Gets the deny_reason variable.

@note defaults to @return [EDenyReason] the value of deny_reason

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

Sets the deny_reason variable.

@param value [EDenyReason] the new value

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

Gets the steam_id variable.

@note defaults to @return [ulong] the value of steam_id

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

Sets the steam_id variable.

@param value [ulong] the new value

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