Class: MsgGSGetReputationResponse

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

Overview

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

#initializeMsgGSGetReputationResponse

Instantiate a MsgGSGetReputationResponse object



1056
1057
1058
# 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

Instance Method Details

#bannedbyte

Note:

defaults to

Gets the banned variable.

Returns:

  • (byte)

    the value of banned



1094
1095
1096
# File 'lib/steamd/generated/steammsg.rb', line 1094

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

#banned=(value) ⇒ Object

Sets the banned variable.

Parameters:

  • value (byte)

    the new value



1101
1102
1103
# File 'lib/steamd/generated/steammsg.rb', line 1101

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

#banned_game_idulong

Note:

defaults to

Gets the banned_game_id variable.

Returns:

  • (ulong)

    the value of banned_game_id



1139
1140
1141
# File 'lib/steamd/generated/steammsg.rb', line 1139

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

#banned_game_id=(value) ⇒ Object

Sets the banned_game_id variable.

Parameters:

  • value (ulong)

    the new value



1146
1147
1148
# File 'lib/steamd/generated/steammsg.rb', line 1146

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

#banned_ipuint

Note:

defaults to

Gets the banned_ip variable.

Returns:

  • (uint)

    the value of banned_ip



1109
1110
1111
# File 'lib/steamd/generated/steammsg.rb', line 1109

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

#banned_ip=(value) ⇒ Object

Sets the banned_ip variable.

Parameters:

  • value (uint)

    the new value



1116
1117
1118
# File 'lib/steamd/generated/steammsg.rb', line 1116

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

#banned_portushort

Note:

defaults to

Gets the banned_port variable.

Returns:

  • (ushort)

    the value of banned_port



1124
1125
1126
# File 'lib/steamd/generated/steammsg.rb', line 1124

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

#banned_port=(value) ⇒ Object

Sets the banned_port variable.

Parameters:

  • value (ushort)

    the new value



1131
1132
1133
# File 'lib/steamd/generated/steammsg.rb', line 1131

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

#reputation_scoreuint

Note:

defaults to

Gets the reputation_score variable.

Returns:

  • (uint)

    the value of reputation_score



1079
1080
1081
# File 'lib/steamd/generated/steammsg.rb', line 1079

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

#reputation_score=(value) ⇒ Object

Sets the reputation_score variable.

Parameters:

  • value (uint)

    the new value



1086
1087
1088
# File 'lib/steamd/generated/steammsg.rb', line 1086

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

#resultEResult

Note:

defaults to

Gets the result variable.

Returns:

  • (EResult)

    the value of result



1064
1065
1066
# File 'lib/steamd/generated/steammsg.rb', line 1064

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

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



1071
1072
1073
# File 'lib/steamd/generated/steammsg.rb', line 1071

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

#time_ban_expiresuint

Note:

defaults to

Gets the time_ban_expires variable.

Returns:

  • (uint)

    the value of time_ban_expires



1154
1155
1156
# File 'lib/steamd/generated/steammsg.rb', line 1154

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

#time_ban_expires=(value) ⇒ Object

Sets the time_ban_expires variable.

Parameters:

  • value (uint)

    the new value



1161
1162
1163
# File 'lib/steamd/generated/steammsg.rb', line 1161

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