class MsgGSGetReputationResponse

Class for the MsgGSGetReputationResponse in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgGSGetReputationResponse object

Calls superclass method SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 1056
def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"reputation_score", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"banned", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"banned_ip", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"banned_port", :type=>"ushort", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"banned_game_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_ban_expires", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Public Instance Methods

banned() click to toggle source

Gets the banned variable.

@note defaults to @return [byte] the value of banned

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

Sets the banned variable.

@param value [byte] the new value

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

Gets the banned_game_id variable.

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

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

Sets the banned_game_id variable.

@param value [ulong] the new value

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

Gets the banned_ip variable.

@note defaults to @return [uint] the value of banned_ip

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

Sets the banned_ip variable.

@param value [uint] the new value

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

Gets the banned_port variable.

@note defaults to @return [ushort] the value of banned_port

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

Sets the banned_port variable.

@param value [ushort] the new value

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

Gets the reputation_score variable.

@note defaults to @return [uint] the value of reputation_score

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

Sets the reputation_score variable.

@param value [uint] the new value

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

Gets the result variable.

@note defaults to @return [EResult] the value of result

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

Sets the result variable.

@param value [EResult] the new value

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

Gets the time_ban_expires variable.

@note defaults to @return [uint] the value of time_ban_expires

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

Sets the time_ban_expires variable.

@param value [uint] the new value

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