steamd 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/.rspec +2 -0
- data/.rubocop.yml +4 -0
- data/.ruby-version +1 -0
- data/.travis.yml +6 -0
- data/Gemfile +3 -0
- data/LICENSE +21 -0
- data/README.md +51 -0
- data/Rakefile +22 -0
- data/bin/console +6 -0
- data/bin/setup +6 -0
- data/bin/steamd +6 -0
- data/grammar/class.treetop +63 -0
- data/grammar/enums.treetop +44 -0
- data/grammar/import.treetop +11 -0
- data/grammar/shared.treetop +62 -0
- data/grammar/steamd.treetop +15 -0
- data/language/emsg.steamd +1802 -0
- data/language/enums.steamd +989 -0
- data/language/eresult.steamd +119 -0
- data/language/gamecoordinator.steamd +17 -0
- data/language/header.steamd +37 -0
- data/language/netheader.steamd +62 -0
- data/language/steammsg.steamd +357 -0
- data/lib/ext/string.rb +33 -0
- data/lib/steamd.rb +40 -0
- data/lib/steamd/cli.rb +24 -0
- data/lib/steamd/cli_options.rb +58 -0
- data/lib/steamd/code_generator.rb +41 -0
- data/lib/steamd/generated/emsg.rb +3464 -0
- data/lib/steamd/generated/enums.rb +1750 -0
- data/lib/steamd/generated/eresult.rb +236 -0
- data/lib/steamd/generated/gamecoordinator.rb +119 -0
- data/lib/steamd/generated/header.rb +261 -0
- data/lib/steamd/generated/netheader.rb +315 -0
- data/lib/steamd/generated/steammsg.rb +2527 -0
- data/lib/steamd/generator.rb +6 -0
- data/lib/steamd/generator/generated_class.rb +128 -0
- data/lib/steamd/generator/generated_enum.rb +60 -0
- data/lib/steamd/generator/generated_import.rb +21 -0
- data/lib/steamd/generator/implementation.rb +83 -0
- data/lib/steamd/generator/ruby/class.erb +39 -0
- data/lib/steamd/generator/ruby/enum.erb +14 -0
- data/lib/steamd/generator/ruby/import.erb +1 -0
- data/lib/steamd/generator/ruby/ruby.rb +54 -0
- data/lib/steamd/generator/ruby/serializable_constant.rb +20 -0
- data/lib/steamd/generator/ruby/serializable_type.rb +93 -0
- data/lib/steamd/generator/ruby/serializable_variable.rb +85 -0
- data/lib/steamd/generator/ruby/steam_serializable.rb +89 -0
- data/lib/steamd/nodes/block_node.rb +14 -0
- data/lib/steamd/nodes/class_statement_node.rb +46 -0
- data/lib/steamd/nodes/class_type_node.rb +12 -0
- data/lib/steamd/nodes/enum_statement_node.rb +50 -0
- data/lib/steamd/nodes/enum_variable_node.rb +24 -0
- data/lib/steamd/nodes/import_statement_node.rb +26 -0
- data/lib/steamd/nodes/node.rb +3 -0
- data/lib/steamd/nodes/nodes.rb +10 -0
- data/lib/steamd/nodes/variable_node.rb +106 -0
- data/lib/steamd/parser.rb +157 -0
- data/lib/steamd/version.rb +14 -0
- data/steamd.gemspec +38 -0
- data/tasks/language.rake +11 -0
- metadata +220 -0
@@ -0,0 +1,315 @@
|
|
1
|
+
# Class for the UdpHeader in the Steam Language.
|
2
|
+
class UdpHeader
|
3
|
+
# Allows serialization and deserialization of the class
|
4
|
+
include SteamSerializable
|
5
|
+
|
6
|
+
# MAGIC constant
|
7
|
+
MAGIC = 0x31305356
|
8
|
+
# Instantiate a UdpHeader object
|
9
|
+
def initialize
|
10
|
+
super([{:name=>"magic", :type=>"uint", :modifier=>nil, :value=>"UdpHeader::MAGIC", :size=>nil, :modifier_size=>nil}, {:name=>"payload_size", :type=>"ushort", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"packet_type", :type=>"EUdpPacketType", :modifier=>nil, :value=>"EUdpPacketType::INVALID", :size=>nil, :modifier_size=>nil}, {:name=>"flags", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"source_conn_id", :type=>"uint", :modifier=>nil, :value=>512, :size=>nil, :modifier_size=>nil}, {:name=>"dest_conn_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"seq_this", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"seq_ack", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"packets_in_msg", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"msg_start_seq", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"msg_size", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [{:name=>"MAGIC", :type=>"uint", :modifier=>"const", :value=>"0x31305356", :size=>nil, :modifier_size=>nil}])
|
11
|
+
self.magic = UdpHeader::MAGIC
|
12
|
+
self.packet_type = EUdpPacketType::INVALID
|
13
|
+
self.source_conn_id = 512
|
14
|
+
end
|
15
|
+
|
16
|
+
# Gets the magic variable.
|
17
|
+
#
|
18
|
+
# @note defaults to UdpHeader::MAGIC
|
19
|
+
# @return [uint] the value of magic
|
20
|
+
def magic
|
21
|
+
@variables['magic'][:value]
|
22
|
+
end
|
23
|
+
|
24
|
+
# Sets the magic variable.
|
25
|
+
#
|
26
|
+
# @param value [uint] the new value
|
27
|
+
def magic=(value)
|
28
|
+
@variables['magic'][:value] = value
|
29
|
+
end
|
30
|
+
|
31
|
+
# Gets the payload_size variable.
|
32
|
+
#
|
33
|
+
# @note defaults to
|
34
|
+
# @return [ushort] the value of payload_size
|
35
|
+
def payload_size
|
36
|
+
@variables['payload_size'][:value]
|
37
|
+
end
|
38
|
+
|
39
|
+
# Sets the payload_size variable.
|
40
|
+
#
|
41
|
+
# @param value [ushort] the new value
|
42
|
+
def payload_size=(value)
|
43
|
+
@variables['payload_size'][:value] = value
|
44
|
+
end
|
45
|
+
|
46
|
+
# Gets the packet_type variable.
|
47
|
+
#
|
48
|
+
# @note defaults to EUdpPacketType::INVALID
|
49
|
+
# @return [EUdpPacketType] the value of packet_type
|
50
|
+
def packet_type
|
51
|
+
@variables['packet_type'][:value]
|
52
|
+
end
|
53
|
+
|
54
|
+
# Sets the packet_type variable.
|
55
|
+
#
|
56
|
+
# @param value [EUdpPacketType] the new value
|
57
|
+
def packet_type=(value)
|
58
|
+
@variables['packet_type'][:value] = value
|
59
|
+
end
|
60
|
+
|
61
|
+
# Gets the flags variable.
|
62
|
+
#
|
63
|
+
# @note defaults to
|
64
|
+
# @return [byte] the value of flags
|
65
|
+
def flags
|
66
|
+
@variables['flags'][:value]
|
67
|
+
end
|
68
|
+
|
69
|
+
# Sets the flags variable.
|
70
|
+
#
|
71
|
+
# @param value [byte] the new value
|
72
|
+
def flags=(value)
|
73
|
+
@variables['flags'][:value] = value
|
74
|
+
end
|
75
|
+
|
76
|
+
# Gets the source_conn_id variable.
|
77
|
+
#
|
78
|
+
# @note defaults to 512
|
79
|
+
# @return [uint] the value of source_conn_id
|
80
|
+
def source_conn_id
|
81
|
+
@variables['source_conn_id'][:value]
|
82
|
+
end
|
83
|
+
|
84
|
+
# Sets the source_conn_id variable.
|
85
|
+
#
|
86
|
+
# @param value [uint] the new value
|
87
|
+
def source_conn_id=(value)
|
88
|
+
@variables['source_conn_id'][:value] = value
|
89
|
+
end
|
90
|
+
|
91
|
+
# Gets the dest_conn_id variable.
|
92
|
+
#
|
93
|
+
# @note defaults to
|
94
|
+
# @return [uint] the value of dest_conn_id
|
95
|
+
def dest_conn_id
|
96
|
+
@variables['dest_conn_id'][:value]
|
97
|
+
end
|
98
|
+
|
99
|
+
# Sets the dest_conn_id variable.
|
100
|
+
#
|
101
|
+
# @param value [uint] the new value
|
102
|
+
def dest_conn_id=(value)
|
103
|
+
@variables['dest_conn_id'][:value] = value
|
104
|
+
end
|
105
|
+
|
106
|
+
# Gets the seq_this variable.
|
107
|
+
#
|
108
|
+
# @note defaults to
|
109
|
+
# @return [uint] the value of seq_this
|
110
|
+
def seq_this
|
111
|
+
@variables['seq_this'][:value]
|
112
|
+
end
|
113
|
+
|
114
|
+
# Sets the seq_this variable.
|
115
|
+
#
|
116
|
+
# @param value [uint] the new value
|
117
|
+
def seq_this=(value)
|
118
|
+
@variables['seq_this'][:value] = value
|
119
|
+
end
|
120
|
+
|
121
|
+
# Gets the seq_ack variable.
|
122
|
+
#
|
123
|
+
# @note defaults to
|
124
|
+
# @return [uint] the value of seq_ack
|
125
|
+
def seq_ack
|
126
|
+
@variables['seq_ack'][:value]
|
127
|
+
end
|
128
|
+
|
129
|
+
# Sets the seq_ack variable.
|
130
|
+
#
|
131
|
+
# @param value [uint] the new value
|
132
|
+
def seq_ack=(value)
|
133
|
+
@variables['seq_ack'][:value] = value
|
134
|
+
end
|
135
|
+
|
136
|
+
# Gets the packets_in_msg variable.
|
137
|
+
#
|
138
|
+
# @note defaults to
|
139
|
+
# @return [uint] the value of packets_in_msg
|
140
|
+
def packets_in_msg
|
141
|
+
@variables['packets_in_msg'][:value]
|
142
|
+
end
|
143
|
+
|
144
|
+
# Sets the packets_in_msg variable.
|
145
|
+
#
|
146
|
+
# @param value [uint] the new value
|
147
|
+
def packets_in_msg=(value)
|
148
|
+
@variables['packets_in_msg'][:value] = value
|
149
|
+
end
|
150
|
+
|
151
|
+
# Gets the msg_start_seq variable.
|
152
|
+
#
|
153
|
+
# @note defaults to
|
154
|
+
# @return [uint] the value of msg_start_seq
|
155
|
+
def msg_start_seq
|
156
|
+
@variables['msg_start_seq'][:value]
|
157
|
+
end
|
158
|
+
|
159
|
+
# Sets the msg_start_seq variable.
|
160
|
+
#
|
161
|
+
# @param value [uint] the new value
|
162
|
+
def msg_start_seq=(value)
|
163
|
+
@variables['msg_start_seq'][:value] = value
|
164
|
+
end
|
165
|
+
|
166
|
+
# Gets the msg_size variable.
|
167
|
+
#
|
168
|
+
# @note defaults to
|
169
|
+
# @return [uint] the value of msg_size
|
170
|
+
def msg_size
|
171
|
+
@variables['msg_size'][:value]
|
172
|
+
end
|
173
|
+
|
174
|
+
# Sets the msg_size variable.
|
175
|
+
#
|
176
|
+
# @param value [uint] the new value
|
177
|
+
def msg_size=(value)
|
178
|
+
@variables['msg_size'][:value] = value
|
179
|
+
end
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
# Class for the ChallengeData in the Steam Language.
|
184
|
+
class ChallengeData
|
185
|
+
# Allows serialization and deserialization of the class
|
186
|
+
include SteamSerializable
|
187
|
+
|
188
|
+
# CHALLENGE_MASK constant
|
189
|
+
CHALLENGE_MASK = 0xA426DF2B
|
190
|
+
# Instantiate a ChallengeData object
|
191
|
+
def initialize
|
192
|
+
super([{:name=>"challenge_value", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"server_load", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [{:name=>"CHALLENGE_MASK", :type=>"uint", :modifier=>"const", :value=>"0xA426DF2B", :size=>nil, :modifier_size=>nil}])
|
193
|
+
end
|
194
|
+
|
195
|
+
# Gets the challenge_value variable.
|
196
|
+
#
|
197
|
+
# @note defaults to
|
198
|
+
# @return [uint] the value of challenge_value
|
199
|
+
def challenge_value
|
200
|
+
@variables['challenge_value'][:value]
|
201
|
+
end
|
202
|
+
|
203
|
+
# Sets the challenge_value variable.
|
204
|
+
#
|
205
|
+
# @param value [uint] the new value
|
206
|
+
def challenge_value=(value)
|
207
|
+
@variables['challenge_value'][:value] = value
|
208
|
+
end
|
209
|
+
|
210
|
+
# Gets the server_load variable.
|
211
|
+
#
|
212
|
+
# @note defaults to
|
213
|
+
# @return [uint] the value of server_load
|
214
|
+
def server_load
|
215
|
+
@variables['server_load'][:value]
|
216
|
+
end
|
217
|
+
|
218
|
+
# Sets the server_load variable.
|
219
|
+
#
|
220
|
+
# @param value [uint] the new value
|
221
|
+
def server_load=(value)
|
222
|
+
@variables['server_load'][:value] = value
|
223
|
+
end
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
# Class for the ConnectData in the Steam Language.
|
228
|
+
class ConnectData
|
229
|
+
# Allows serialization and deserialization of the class
|
230
|
+
include SteamSerializable
|
231
|
+
|
232
|
+
# CHALLENGE_MASK constant
|
233
|
+
CHALLENGE_MASK = ChallengeData::CHALLENGE_MASK
|
234
|
+
# Instantiate a ConnectData object
|
235
|
+
def initialize
|
236
|
+
super([{:name=>"challenge_value", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [{:name=>"CHALLENGE_MASK", :type=>"uint", :modifier=>"const", :value=>"ChallengeData::CHALLENGE_MASK", :size=>nil, :modifier_size=>nil}])
|
237
|
+
end
|
238
|
+
|
239
|
+
# Gets the challenge_value variable.
|
240
|
+
#
|
241
|
+
# @note defaults to
|
242
|
+
# @return [uint] the value of challenge_value
|
243
|
+
def challenge_value
|
244
|
+
@variables['challenge_value'][:value]
|
245
|
+
end
|
246
|
+
|
247
|
+
# Sets the challenge_value variable.
|
248
|
+
#
|
249
|
+
# @param value [uint] the new value
|
250
|
+
def challenge_value=(value)
|
251
|
+
@variables['challenge_value'][:value] = value
|
252
|
+
end
|
253
|
+
|
254
|
+
end
|
255
|
+
|
256
|
+
# Class for the Accept in the Steam Language.
|
257
|
+
class Accept
|
258
|
+
# Allows serialization and deserialization of the class
|
259
|
+
include SteamSerializable
|
260
|
+
|
261
|
+
# Instantiate a Accept object
|
262
|
+
def initialize
|
263
|
+
super([], [])
|
264
|
+
end
|
265
|
+
|
266
|
+
end
|
267
|
+
|
268
|
+
# Class for the Datagram in the Steam Language.
|
269
|
+
class Datagram
|
270
|
+
# Allows serialization and deserialization of the class
|
271
|
+
include SteamSerializable
|
272
|
+
|
273
|
+
# Instantiate a Datagram object
|
274
|
+
def initialize
|
275
|
+
super([], [])
|
276
|
+
end
|
277
|
+
|
278
|
+
end
|
279
|
+
|
280
|
+
# Class for the Disconnect in the Steam Language.
|
281
|
+
class Disconnect
|
282
|
+
# Allows serialization and deserialization of the class
|
283
|
+
include SteamSerializable
|
284
|
+
|
285
|
+
# Instantiate a Disconnect object
|
286
|
+
def initialize
|
287
|
+
super([], [])
|
288
|
+
end
|
289
|
+
|
290
|
+
end
|
291
|
+
|
292
|
+
# Represents the EUdpPacketType enum
|
293
|
+
class EUdpPacketType
|
294
|
+
# Data type of EUdpPacketType
|
295
|
+
DATA_TYPE = 'byte'
|
296
|
+
# Constant INVALID for EUdpPacketType
|
297
|
+
INVALID = 0
|
298
|
+
# Constant CHALLENGE_REQ for EUdpPacketType
|
299
|
+
CHALLENGE_REQ = 1
|
300
|
+
# Constant CHALLENGE for EUdpPacketType
|
301
|
+
CHALLENGE = 2
|
302
|
+
# Constant CONNECT for EUdpPacketType
|
303
|
+
CONNECT = 3
|
304
|
+
# Constant ACCEPT for EUdpPacketType
|
305
|
+
ACCEPT = 4
|
306
|
+
# Constant DISCONNECT for EUdpPacketType
|
307
|
+
DISCONNECT = 5
|
308
|
+
# Constant DATA for EUdpPacketType
|
309
|
+
DATA = 6
|
310
|
+
# Constant DATAGRAM for EUdpPacketType
|
311
|
+
DATAGRAM = 7
|
312
|
+
# Constant MAX for EUdpPacketType
|
313
|
+
MAX = 8
|
314
|
+
end
|
315
|
+
|
@@ -0,0 +1,2527 @@
|
|
1
|
+
# Class for the MsgClientJustStrings in the Steam Language.
|
2
|
+
class MsgClientJustStrings
|
3
|
+
# Allows serialization and deserialization of the class
|
4
|
+
include SteamSerializable
|
5
|
+
|
6
|
+
# Instantiate a MsgClientJustStrings object
|
7
|
+
def initialize
|
8
|
+
super([], [])
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
12
|
+
|
13
|
+
# Class for the MsgClientGenericResponse in the Steam Language.
|
14
|
+
class MsgClientGenericResponse
|
15
|
+
# Allows serialization and deserialization of the class
|
16
|
+
include SteamSerializable
|
17
|
+
|
18
|
+
# Instantiate a MsgClientGenericResponse object
|
19
|
+
def initialize
|
20
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
21
|
+
end
|
22
|
+
|
23
|
+
# Gets the result variable.
|
24
|
+
#
|
25
|
+
# @note defaults to
|
26
|
+
# @return [EResult] the value of result
|
27
|
+
def result
|
28
|
+
@variables['result'][:value]
|
29
|
+
end
|
30
|
+
|
31
|
+
# Sets the result variable.
|
32
|
+
#
|
33
|
+
# @param value [EResult] the new value
|
34
|
+
def result=(value)
|
35
|
+
@variables['result'][:value] = value
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
# Class for the MsgChannelEncryptRequest in the Steam Language.
|
41
|
+
class MsgChannelEncryptRequest
|
42
|
+
# Allows serialization and deserialization of the class
|
43
|
+
include SteamSerializable
|
44
|
+
|
45
|
+
# PROTOCOL_VERSION constant
|
46
|
+
PROTOCOL_VERSION = 1
|
47
|
+
# Instantiate a MsgChannelEncryptRequest object
|
48
|
+
def initialize
|
49
|
+
super([{:name=>"protocol_version", :type=>"uint", :modifier=>nil, :value=>"MsgChannelEncryptRequest::PROTOCOL_VERSION", :size=>nil, :modifier_size=>nil}, {:name=>"universe", :type=>"EUniverse", :modifier=>nil, :value=>"EUniverse::INVALID", :size=>nil, :modifier_size=>nil}], [{:name=>"PROTOCOL_VERSION", :type=>"uint", :modifier=>"const", :value=>1, :size=>nil, :modifier_size=>nil}])
|
50
|
+
self.protocol_version = MsgChannelEncryptRequest::PROTOCOL_VERSION
|
51
|
+
self.universe = EUniverse::INVALID
|
52
|
+
end
|
53
|
+
|
54
|
+
# Gets the protocol_version variable.
|
55
|
+
#
|
56
|
+
# @note defaults to MsgChannelEncryptRequest::PROTOCOL_VERSION
|
57
|
+
# @return [uint] the value of protocol_version
|
58
|
+
def protocol_version
|
59
|
+
@variables['protocol_version'][:value]
|
60
|
+
end
|
61
|
+
|
62
|
+
# Sets the protocol_version variable.
|
63
|
+
#
|
64
|
+
# @param value [uint] the new value
|
65
|
+
def protocol_version=(value)
|
66
|
+
@variables['protocol_version'][:value] = value
|
67
|
+
end
|
68
|
+
|
69
|
+
# Gets the universe variable.
|
70
|
+
#
|
71
|
+
# @note defaults to EUniverse::INVALID
|
72
|
+
# @return [EUniverse] the value of universe
|
73
|
+
def universe
|
74
|
+
@variables['universe'][:value]
|
75
|
+
end
|
76
|
+
|
77
|
+
# Sets the universe variable.
|
78
|
+
#
|
79
|
+
# @param value [EUniverse] the new value
|
80
|
+
def universe=(value)
|
81
|
+
@variables['universe'][:value] = value
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
85
|
+
|
86
|
+
# Class for the MsgChannelEncryptResponse in the Steam Language.
|
87
|
+
class MsgChannelEncryptResponse
|
88
|
+
# Allows serialization and deserialization of the class
|
89
|
+
include SteamSerializable
|
90
|
+
|
91
|
+
# Instantiate a MsgChannelEncryptResponse object
|
92
|
+
def initialize
|
93
|
+
super([{:name=>"protocol_version", :type=>"uint", :modifier=>nil, :value=>"MsgChannelEncryptRequest::PROTOCOL_VERSION", :size=>nil, :modifier_size=>nil}, {:name=>"key_size", :type=>"uint", :modifier=>nil, :value=>128, :size=>nil, :modifier_size=>nil}], [])
|
94
|
+
self.protocol_version = MsgChannelEncryptRequest::PROTOCOL_VERSION
|
95
|
+
self.key_size = 128
|
96
|
+
end
|
97
|
+
|
98
|
+
# Gets the protocol_version variable.
|
99
|
+
#
|
100
|
+
# @note defaults to MsgChannelEncryptRequest::PROTOCOL_VERSION
|
101
|
+
# @return [uint] the value of protocol_version
|
102
|
+
def protocol_version
|
103
|
+
@variables['protocol_version'][:value]
|
104
|
+
end
|
105
|
+
|
106
|
+
# Sets the protocol_version variable.
|
107
|
+
#
|
108
|
+
# @param value [uint] the new value
|
109
|
+
def protocol_version=(value)
|
110
|
+
@variables['protocol_version'][:value] = value
|
111
|
+
end
|
112
|
+
|
113
|
+
# Gets the key_size variable.
|
114
|
+
#
|
115
|
+
# @note defaults to 128
|
116
|
+
# @return [uint] the value of key_size
|
117
|
+
def key_size
|
118
|
+
@variables['key_size'][:value]
|
119
|
+
end
|
120
|
+
|
121
|
+
# Sets the key_size variable.
|
122
|
+
#
|
123
|
+
# @param value [uint] the new value
|
124
|
+
def key_size=(value)
|
125
|
+
@variables['key_size'][:value] = value
|
126
|
+
end
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
# Class for the MsgChannelEncryptResult in the Steam Language.
|
131
|
+
class MsgChannelEncryptResult
|
132
|
+
# Allows serialization and deserialization of the class
|
133
|
+
include SteamSerializable
|
134
|
+
|
135
|
+
# Instantiate a MsgChannelEncryptResult object
|
136
|
+
def initialize
|
137
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>"EResult::INVALID", :size=>nil, :modifier_size=>nil}], [])
|
138
|
+
self.result = EResult::INVALID
|
139
|
+
end
|
140
|
+
|
141
|
+
# Gets the result variable.
|
142
|
+
#
|
143
|
+
# @note defaults to EResult::INVALID
|
144
|
+
# @return [EResult] the value of result
|
145
|
+
def result
|
146
|
+
@variables['result'][:value]
|
147
|
+
end
|
148
|
+
|
149
|
+
# Sets the result variable.
|
150
|
+
#
|
151
|
+
# @param value [EResult] the new value
|
152
|
+
def result=(value)
|
153
|
+
@variables['result'][:value] = value
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
157
|
+
|
158
|
+
# Class for the MsgClientNewLoginKey in the Steam Language.
|
159
|
+
class MsgClientNewLoginKey
|
160
|
+
# Allows serialization and deserialization of the class
|
161
|
+
include SteamSerializable
|
162
|
+
|
163
|
+
# Instantiate a MsgClientNewLoginKey object
|
164
|
+
def initialize
|
165
|
+
super([{:name=>"unique_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"login_key", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
166
|
+
end
|
167
|
+
|
168
|
+
# Gets the unique_id variable.
|
169
|
+
#
|
170
|
+
# @note defaults to
|
171
|
+
# @return [uint] the value of unique_id
|
172
|
+
def unique_id
|
173
|
+
@variables['unique_id'][:value]
|
174
|
+
end
|
175
|
+
|
176
|
+
# Sets the unique_id variable.
|
177
|
+
#
|
178
|
+
# @param value [uint] the new value
|
179
|
+
def unique_id=(value)
|
180
|
+
@variables['unique_id'][:value] = value
|
181
|
+
end
|
182
|
+
|
183
|
+
# Gets the login_key variable.
|
184
|
+
#
|
185
|
+
# @note defaults to
|
186
|
+
# @return [byte] the value of login_key
|
187
|
+
def login_key
|
188
|
+
@variables['login_key'][:value]
|
189
|
+
end
|
190
|
+
|
191
|
+
# Sets the login_key variable.
|
192
|
+
#
|
193
|
+
# @param value [byte] the new value
|
194
|
+
def login_key=(value)
|
195
|
+
@variables['login_key'][:value] = value
|
196
|
+
end
|
197
|
+
|
198
|
+
end
|
199
|
+
|
200
|
+
# Class for the MsgClientNewLoginKeyAccepted in the Steam Language.
|
201
|
+
class MsgClientNewLoginKeyAccepted
|
202
|
+
# Allows serialization and deserialization of the class
|
203
|
+
include SteamSerializable
|
204
|
+
|
205
|
+
# Instantiate a MsgClientNewLoginKeyAccepted object
|
206
|
+
def initialize
|
207
|
+
super([{:name=>"unique_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
208
|
+
end
|
209
|
+
|
210
|
+
# Gets the unique_id variable.
|
211
|
+
#
|
212
|
+
# @note defaults to
|
213
|
+
# @return [uint] the value of unique_id
|
214
|
+
def unique_id
|
215
|
+
@variables['unique_id'][:value]
|
216
|
+
end
|
217
|
+
|
218
|
+
# Sets the unique_id variable.
|
219
|
+
#
|
220
|
+
# @param value [uint] the new value
|
221
|
+
def unique_id=(value)
|
222
|
+
@variables['unique_id'][:value] = value
|
223
|
+
end
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
# Class for the MsgClientLogon in the Steam Language.
|
228
|
+
class MsgClientLogon
|
229
|
+
# Allows serialization and deserialization of the class
|
230
|
+
include SteamSerializable
|
231
|
+
|
232
|
+
# OBFUSCATION_MASK constant
|
233
|
+
OBFUSCATION_MASK = 0xBAADF00D
|
234
|
+
# CURRENT_PROTOCOL constant
|
235
|
+
CURRENT_PROTOCOL = 65579
|
236
|
+
# PROTOCOL_VER_MAJOR_MASK constant
|
237
|
+
PROTOCOL_VER_MAJOR_MASK = 0xFFFF0000
|
238
|
+
# PROTOCOL_VER_MINOR_MASK constant
|
239
|
+
PROTOCOL_VER_MINOR_MASK = 0xFFFF
|
240
|
+
# PROTOCOL_VER_MINOR_MIN_GAME_SERVERS constant
|
241
|
+
PROTOCOL_VER_MINOR_MIN_GAME_SERVERS = 4
|
242
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_MULTI constant
|
243
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_MULTI = 12
|
244
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_CLIENT_ENCRYPT_PCT constant
|
245
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_CLIENT_ENCRYPT_PCT = 14
|
246
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_EXTENDED_MSG_HDR constant
|
247
|
+
PROTOCOL_VER_MINOR_MIN_FOR_EXTENDED_MSG_HDR = 17
|
248
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_CELL_ID constant
|
249
|
+
PROTOCOL_VER_MINOR_MIN_FOR_CELL_ID = 18
|
250
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST constant
|
251
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST = 19
|
252
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SERVER_AVAILABLITY_MSGS constant
|
253
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SERVER_AVAILABLITY_MSGS = 24
|
254
|
+
# PROTOCOL_VER_MINOR_MIN_CLIENTS constant
|
255
|
+
PROTOCOL_VER_MINOR_MIN_CLIENTS = 25
|
256
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_OS_TYPE constant
|
257
|
+
PROTOCOL_VER_MINOR_MIN_FOR_OS_TYPE = 26
|
258
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_CEG_APPLY_PE_SIG constant
|
259
|
+
PROTOCOL_VER_MINOR_MIN_FOR_CEG_APPLY_PE_SIG = 27
|
260
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_MARKETING_MESSAGES2 constant
|
261
|
+
PROTOCOL_VER_MINOR_MIN_FOR_MARKETING_MESSAGES2 = 27
|
262
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_ANY_PROTO_BUF_MESSAGES constant
|
263
|
+
PROTOCOL_VER_MINOR_MIN_FOR_ANY_PROTO_BUF_MESSAGES = 28
|
264
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_LOGGED_OFF_MESSAGE constant
|
265
|
+
PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_LOGGED_OFF_MESSAGE = 28
|
266
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_MULTI_MESSAGES constant
|
267
|
+
PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_MULTI_MESSAGES = 28
|
268
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SENDING_PROTOCOL_TO_UFS constant
|
269
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SENDING_PROTOCOL_TO_UFS = 30
|
270
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_MACHINE_AUTH constant
|
271
|
+
PROTOCOL_VER_MINOR_MIN_FOR_MACHINE_AUTH = 33
|
272
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST_ANON constant
|
273
|
+
PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST_ANON = 36
|
274
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_ENHANCED_APP_LIST constant
|
275
|
+
PROTOCOL_VER_MINOR_MIN_FOR_ENHANCED_APP_LIST = 40
|
276
|
+
# PROTOCOL_VER_MINOR_MIN_FOR_GZIP_MULTI_MESSAGES constant
|
277
|
+
PROTOCOL_VER_MINOR_MIN_FOR_GZIP_MULTI_MESSAGES = 43
|
278
|
+
# Instantiate a MsgClientLogon object
|
279
|
+
def initialize
|
280
|
+
super([], [{:name=>"OBFUSCATION_MASK", :type=>"uint", :modifier=>"const", :value=>"0xBAADF00D", :size=>nil, :modifier_size=>nil}, {:name=>"CURRENT_PROTOCOL", :type=>"uint", :modifier=>"const", :value=>65579, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MAJOR_MASK", :type=>"uint", :modifier=>"const", :value=>"0xFFFF0000", :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MASK", :type=>"uint", :modifier=>"const", :value=>"0xFFFF", :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_GAME_SERVERS", :type=>"ushort", :modifier=>"const", :value=>4, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_MULTI", :type=>"ushort", :modifier=>"const", :value=>12, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SUPPORTING_E_MSG_CLIENT_ENCRYPT_PCT", :type=>"ushort", :modifier=>"const", :value=>14, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_EXTENDED_MSG_HDR", :type=>"ushort", :modifier=>"const", :value=>17, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_CELL_ID", :type=>"ushort", :modifier=>"const", :value=>18, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST", :type=>"ushort", :modifier=>"const", :value=>19, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SERVER_AVAILABLITY_MSGS", :type=>"ushort", :modifier=>"const", :value=>24, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_CLIENTS", :type=>"ushort", :modifier=>"const", :value=>25, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_OS_TYPE", :type=>"ushort", :modifier=>"const", :value=>26, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_CEG_APPLY_PE_SIG", :type=>"ushort", :modifier=>"const", :value=>27, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_MARKETING_MESSAGES2", :type=>"ushort", :modifier=>"const", :value=>27, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_ANY_PROTO_BUF_MESSAGES", :type=>"ushort", :modifier=>"const", :value=>28, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_LOGGED_OFF_MESSAGE", :type=>"ushort", :modifier=>"const", :value=>28, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_PROTO_BUF_MULTI_MESSAGES", :type=>"ushort", :modifier=>"const", :value=>28, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SENDING_PROTOCOL_TO_UFS", :type=>"ushort", :modifier=>"const", :value=>30, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_MACHINE_AUTH", :type=>"ushort", :modifier=>"const", :value=>33, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_SESSION_ID_LAST_ANON", :type=>"ushort", :modifier=>"const", :value=>36, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_ENHANCED_APP_LIST", :type=>"ushort", :modifier=>"const", :value=>40, :size=>nil, :modifier_size=>nil}, {:name=>"PROTOCOL_VER_MINOR_MIN_FOR_GZIP_MULTI_MESSAGES", :type=>"ushort", :modifier=>"const", :value=>43, :size=>nil, :modifier_size=>nil}])
|
281
|
+
end
|
282
|
+
|
283
|
+
end
|
284
|
+
|
285
|
+
# Class for the MsgClientVACBanStatus in the Steam Language.
|
286
|
+
class MsgClientVACBanStatus
|
287
|
+
# Allows serialization and deserialization of the class
|
288
|
+
include SteamSerializable
|
289
|
+
|
290
|
+
# Instantiate a MsgClientVACBanStatus object
|
291
|
+
def initialize
|
292
|
+
super([{:name=>"num_bans", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
293
|
+
end
|
294
|
+
|
295
|
+
# Gets the num_bans variable.
|
296
|
+
#
|
297
|
+
# @note defaults to
|
298
|
+
# @return [uint] the value of num_bans
|
299
|
+
def num_bans
|
300
|
+
@variables['num_bans'][:value]
|
301
|
+
end
|
302
|
+
|
303
|
+
# Sets the num_bans variable.
|
304
|
+
#
|
305
|
+
# @param value [uint] the new value
|
306
|
+
def num_bans=(value)
|
307
|
+
@variables['num_bans'][:value] = value
|
308
|
+
end
|
309
|
+
|
310
|
+
end
|
311
|
+
|
312
|
+
# Class for the MsgClientAppUsageEvent in the Steam Language.
|
313
|
+
class MsgClientAppUsageEvent
|
314
|
+
# Allows serialization and deserialization of the class
|
315
|
+
include SteamSerializable
|
316
|
+
|
317
|
+
# Instantiate a MsgClientAppUsageEvent object
|
318
|
+
def initialize
|
319
|
+
super([{:name=>"app_usage_event", :type=>"EAppUsageEvent", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"offline", :type=>"ushort", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
320
|
+
end
|
321
|
+
|
322
|
+
# Gets the app_usage_event variable.
|
323
|
+
#
|
324
|
+
# @note defaults to
|
325
|
+
# @return [EAppUsageEvent] the value of app_usage_event
|
326
|
+
def app_usage_event
|
327
|
+
@variables['app_usage_event'][:value]
|
328
|
+
end
|
329
|
+
|
330
|
+
# Sets the app_usage_event variable.
|
331
|
+
#
|
332
|
+
# @param value [EAppUsageEvent] the new value
|
333
|
+
def app_usage_event=(value)
|
334
|
+
@variables['app_usage_event'][:value] = value
|
335
|
+
end
|
336
|
+
|
337
|
+
# Gets the game_id variable.
|
338
|
+
#
|
339
|
+
# @note defaults to
|
340
|
+
# @return [ulong] the value of game_id
|
341
|
+
def game_id
|
342
|
+
@variables['game_id'][:value]
|
343
|
+
end
|
344
|
+
|
345
|
+
# Sets the game_id variable.
|
346
|
+
#
|
347
|
+
# @param value [ulong] the new value
|
348
|
+
def game_id=(value)
|
349
|
+
@variables['game_id'][:value] = value
|
350
|
+
end
|
351
|
+
|
352
|
+
# Gets the offline variable.
|
353
|
+
#
|
354
|
+
# @note defaults to
|
355
|
+
# @return [ushort] the value of offline
|
356
|
+
def offline
|
357
|
+
@variables['offline'][:value]
|
358
|
+
end
|
359
|
+
|
360
|
+
# Sets the offline variable.
|
361
|
+
#
|
362
|
+
# @param value [ushort] the new value
|
363
|
+
def offline=(value)
|
364
|
+
@variables['offline'][:value] = value
|
365
|
+
end
|
366
|
+
|
367
|
+
end
|
368
|
+
|
369
|
+
# Class for the MsgClientEmailAddrInfo in the Steam Language.
|
370
|
+
class MsgClientEmailAddrInfo
|
371
|
+
# Allows serialization and deserialization of the class
|
372
|
+
include SteamSerializable
|
373
|
+
|
374
|
+
# Instantiate a MsgClientEmailAddrInfo object
|
375
|
+
def initialize
|
376
|
+
super([{:name=>"password_strength", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"flags_account_security_policy", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"validated", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
377
|
+
end
|
378
|
+
|
379
|
+
# Gets the password_strength variable.
|
380
|
+
#
|
381
|
+
# @note defaults to
|
382
|
+
# @return [uint] the value of password_strength
|
383
|
+
def password_strength
|
384
|
+
@variables['password_strength'][:value]
|
385
|
+
end
|
386
|
+
|
387
|
+
# Sets the password_strength variable.
|
388
|
+
#
|
389
|
+
# @param value [uint] the new value
|
390
|
+
def password_strength=(value)
|
391
|
+
@variables['password_strength'][:value] = value
|
392
|
+
end
|
393
|
+
|
394
|
+
# Gets the flags_account_security_policy variable.
|
395
|
+
#
|
396
|
+
# @note defaults to
|
397
|
+
# @return [uint] the value of flags_account_security_policy
|
398
|
+
def flags_account_security_policy
|
399
|
+
@variables['flags_account_security_policy'][:value]
|
400
|
+
end
|
401
|
+
|
402
|
+
# Sets the flags_account_security_policy variable.
|
403
|
+
#
|
404
|
+
# @param value [uint] the new value
|
405
|
+
def flags_account_security_policy=(value)
|
406
|
+
@variables['flags_account_security_policy'][:value] = value
|
407
|
+
end
|
408
|
+
|
409
|
+
# Gets the validated variable.
|
410
|
+
#
|
411
|
+
# @note defaults to
|
412
|
+
# @return [byte] the value of validated
|
413
|
+
def validated
|
414
|
+
@variables['validated'][:value]
|
415
|
+
end
|
416
|
+
|
417
|
+
# Sets the validated variable.
|
418
|
+
#
|
419
|
+
# @param value [byte] the new value
|
420
|
+
def validated=(value)
|
421
|
+
@variables['validated'][:value] = value
|
422
|
+
end
|
423
|
+
|
424
|
+
end
|
425
|
+
|
426
|
+
# Class for the MsgClientUpdateGuestPassesList in the Steam Language.
|
427
|
+
class MsgClientUpdateGuestPassesList
|
428
|
+
# Allows serialization and deserialization of the class
|
429
|
+
include SteamSerializable
|
430
|
+
|
431
|
+
# Instantiate a MsgClientUpdateGuestPassesList object
|
432
|
+
def initialize
|
433
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_guest_passes_to_give", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_guest_passes_to_redeem", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
434
|
+
end
|
435
|
+
|
436
|
+
# Gets the result variable.
|
437
|
+
#
|
438
|
+
# @note defaults to
|
439
|
+
# @return [EResult] the value of result
|
440
|
+
def result
|
441
|
+
@variables['result'][:value]
|
442
|
+
end
|
443
|
+
|
444
|
+
# Sets the result variable.
|
445
|
+
#
|
446
|
+
# @param value [EResult] the new value
|
447
|
+
def result=(value)
|
448
|
+
@variables['result'][:value] = value
|
449
|
+
end
|
450
|
+
|
451
|
+
# Gets the count_guest_passes_to_give variable.
|
452
|
+
#
|
453
|
+
# @note defaults to
|
454
|
+
# @return [int] the value of count_guest_passes_to_give
|
455
|
+
def count_guest_passes_to_give
|
456
|
+
@variables['count_guest_passes_to_give'][:value]
|
457
|
+
end
|
458
|
+
|
459
|
+
# Sets the count_guest_passes_to_give variable.
|
460
|
+
#
|
461
|
+
# @param value [int] the new value
|
462
|
+
def count_guest_passes_to_give=(value)
|
463
|
+
@variables['count_guest_passes_to_give'][:value] = value
|
464
|
+
end
|
465
|
+
|
466
|
+
# Gets the count_guest_passes_to_redeem variable.
|
467
|
+
#
|
468
|
+
# @note defaults to
|
469
|
+
# @return [int] the value of count_guest_passes_to_redeem
|
470
|
+
def count_guest_passes_to_redeem
|
471
|
+
@variables['count_guest_passes_to_redeem'][:value]
|
472
|
+
end
|
473
|
+
|
474
|
+
# Sets the count_guest_passes_to_redeem variable.
|
475
|
+
#
|
476
|
+
# @param value [int] the new value
|
477
|
+
def count_guest_passes_to_redeem=(value)
|
478
|
+
@variables['count_guest_passes_to_redeem'][:value] = value
|
479
|
+
end
|
480
|
+
|
481
|
+
end
|
482
|
+
|
483
|
+
# Class for the MsgClientRequestedClientStats in the Steam Language.
|
484
|
+
class MsgClientRequestedClientStats
|
485
|
+
# Allows serialization and deserialization of the class
|
486
|
+
include SteamSerializable
|
487
|
+
|
488
|
+
# Instantiate a MsgClientRequestedClientStats object
|
489
|
+
def initialize
|
490
|
+
super([{:name=>"count_stats", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
491
|
+
end
|
492
|
+
|
493
|
+
# Gets the count_stats variable.
|
494
|
+
#
|
495
|
+
# @note defaults to
|
496
|
+
# @return [int] the value of count_stats
|
497
|
+
def count_stats
|
498
|
+
@variables['count_stats'][:value]
|
499
|
+
end
|
500
|
+
|
501
|
+
# Sets the count_stats variable.
|
502
|
+
#
|
503
|
+
# @param value [int] the new value
|
504
|
+
def count_stats=(value)
|
505
|
+
@variables['count_stats'][:value] = value
|
506
|
+
end
|
507
|
+
|
508
|
+
end
|
509
|
+
|
510
|
+
# Class for the MsgClientP2PIntroducerMessage in the Steam Language.
|
511
|
+
class MsgClientP2PIntroducerMessage
|
512
|
+
# Allows serialization and deserialization of the class
|
513
|
+
include SteamSerializable
|
514
|
+
|
515
|
+
# Instantiate a MsgClientP2PIntroducerMessage object
|
516
|
+
def initialize
|
517
|
+
super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"routing_type", :type=>"EIntroducerRouting", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data_len", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
518
|
+
end
|
519
|
+
|
520
|
+
# Gets the steam_id variable.
|
521
|
+
#
|
522
|
+
# @note defaults to
|
523
|
+
# @return [ulong] the value of steam_id
|
524
|
+
def steam_id
|
525
|
+
@variables['steam_id'][:value]
|
526
|
+
end
|
527
|
+
|
528
|
+
# Sets the steam_id variable.
|
529
|
+
#
|
530
|
+
# @param value [ulong] the new value
|
531
|
+
def steam_id=(value)
|
532
|
+
@variables['steam_id'][:value] = value
|
533
|
+
end
|
534
|
+
|
535
|
+
# Gets the routing_type variable.
|
536
|
+
#
|
537
|
+
# @note defaults to
|
538
|
+
# @return [EIntroducerRouting] the value of routing_type
|
539
|
+
def routing_type
|
540
|
+
@variables['routing_type'][:value]
|
541
|
+
end
|
542
|
+
|
543
|
+
# Sets the routing_type variable.
|
544
|
+
#
|
545
|
+
# @param value [EIntroducerRouting] the new value
|
546
|
+
def routing_type=(value)
|
547
|
+
@variables['routing_type'][:value] = value
|
548
|
+
end
|
549
|
+
|
550
|
+
# Gets the data variable.
|
551
|
+
#
|
552
|
+
# @note defaults to
|
553
|
+
# @return [byte] the value of data
|
554
|
+
def data
|
555
|
+
@variables['data'][:value]
|
556
|
+
end
|
557
|
+
|
558
|
+
# Sets the data variable.
|
559
|
+
#
|
560
|
+
# @param value [byte] the new value
|
561
|
+
def data=(value)
|
562
|
+
@variables['data'][:value] = value
|
563
|
+
end
|
564
|
+
|
565
|
+
# Gets the data_len variable.
|
566
|
+
#
|
567
|
+
# @note defaults to
|
568
|
+
# @return [uint] the value of data_len
|
569
|
+
def data_len
|
570
|
+
@variables['data_len'][:value]
|
571
|
+
end
|
572
|
+
|
573
|
+
# Sets the data_len variable.
|
574
|
+
#
|
575
|
+
# @param value [uint] the new value
|
576
|
+
def data_len=(value)
|
577
|
+
@variables['data_len'][:value] = value
|
578
|
+
end
|
579
|
+
|
580
|
+
end
|
581
|
+
|
582
|
+
# Class for the MsgClientOGSBeginSession in the Steam Language.
|
583
|
+
class MsgClientOGSBeginSession
|
584
|
+
# Allows serialization and deserialization of the class
|
585
|
+
include SteamSerializable
|
586
|
+
|
587
|
+
# Instantiate a MsgClientOGSBeginSession object
|
588
|
+
def initialize
|
589
|
+
super([{:name=>"account_type", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"account_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"app_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_started", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
590
|
+
end
|
591
|
+
|
592
|
+
# Gets the account_type variable.
|
593
|
+
#
|
594
|
+
# @note defaults to
|
595
|
+
# @return [byte] the value of account_type
|
596
|
+
def account_type
|
597
|
+
@variables['account_type'][:value]
|
598
|
+
end
|
599
|
+
|
600
|
+
# Sets the account_type variable.
|
601
|
+
#
|
602
|
+
# @param value [byte] the new value
|
603
|
+
def account_type=(value)
|
604
|
+
@variables['account_type'][:value] = value
|
605
|
+
end
|
606
|
+
|
607
|
+
# Gets the account_id variable.
|
608
|
+
#
|
609
|
+
# @note defaults to
|
610
|
+
# @return [ulong] the value of account_id
|
611
|
+
def account_id
|
612
|
+
@variables['account_id'][:value]
|
613
|
+
end
|
614
|
+
|
615
|
+
# Sets the account_id variable.
|
616
|
+
#
|
617
|
+
# @param value [ulong] the new value
|
618
|
+
def account_id=(value)
|
619
|
+
@variables['account_id'][:value] = value
|
620
|
+
end
|
621
|
+
|
622
|
+
# Gets the app_id variable.
|
623
|
+
#
|
624
|
+
# @note defaults to
|
625
|
+
# @return [uint] the value of app_id
|
626
|
+
def app_id
|
627
|
+
@variables['app_id'][:value]
|
628
|
+
end
|
629
|
+
|
630
|
+
# Sets the app_id variable.
|
631
|
+
#
|
632
|
+
# @param value [uint] the new value
|
633
|
+
def app_id=(value)
|
634
|
+
@variables['app_id'][:value] = value
|
635
|
+
end
|
636
|
+
|
637
|
+
# Gets the time_started variable.
|
638
|
+
#
|
639
|
+
# @note defaults to
|
640
|
+
# @return [uint] the value of time_started
|
641
|
+
def time_started
|
642
|
+
@variables['time_started'][:value]
|
643
|
+
end
|
644
|
+
|
645
|
+
# Sets the time_started variable.
|
646
|
+
#
|
647
|
+
# @param value [uint] the new value
|
648
|
+
def time_started=(value)
|
649
|
+
@variables['time_started'][:value] = value
|
650
|
+
end
|
651
|
+
|
652
|
+
end
|
653
|
+
|
654
|
+
# Class for the MsgClientOGSBeginSessionResponse in the Steam Language.
|
655
|
+
class MsgClientOGSBeginSessionResponse
|
656
|
+
# Allows serialization and deserialization of the class
|
657
|
+
include SteamSerializable
|
658
|
+
|
659
|
+
# Instantiate a MsgClientOGSBeginSessionResponse object
|
660
|
+
def initialize
|
661
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"collecting_any", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"collecting_details", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
662
|
+
end
|
663
|
+
|
664
|
+
# Gets the result variable.
|
665
|
+
#
|
666
|
+
# @note defaults to
|
667
|
+
# @return [EResult] the value of result
|
668
|
+
def result
|
669
|
+
@variables['result'][:value]
|
670
|
+
end
|
671
|
+
|
672
|
+
# Sets the result variable.
|
673
|
+
#
|
674
|
+
# @param value [EResult] the new value
|
675
|
+
def result=(value)
|
676
|
+
@variables['result'][:value] = value
|
677
|
+
end
|
678
|
+
|
679
|
+
# Gets the collecting_any variable.
|
680
|
+
#
|
681
|
+
# @note defaults to
|
682
|
+
# @return [byte] the value of collecting_any
|
683
|
+
def collecting_any
|
684
|
+
@variables['collecting_any'][:value]
|
685
|
+
end
|
686
|
+
|
687
|
+
# Sets the collecting_any variable.
|
688
|
+
#
|
689
|
+
# @param value [byte] the new value
|
690
|
+
def collecting_any=(value)
|
691
|
+
@variables['collecting_any'][:value] = value
|
692
|
+
end
|
693
|
+
|
694
|
+
# Gets the collecting_details variable.
|
695
|
+
#
|
696
|
+
# @note defaults to
|
697
|
+
# @return [byte] the value of collecting_details
|
698
|
+
def collecting_details
|
699
|
+
@variables['collecting_details'][:value]
|
700
|
+
end
|
701
|
+
|
702
|
+
# Sets the collecting_details variable.
|
703
|
+
#
|
704
|
+
# @param value [byte] the new value
|
705
|
+
def collecting_details=(value)
|
706
|
+
@variables['collecting_details'][:value] = value
|
707
|
+
end
|
708
|
+
|
709
|
+
# Gets the session_id variable.
|
710
|
+
#
|
711
|
+
# @note defaults to
|
712
|
+
# @return [ulong] the value of session_id
|
713
|
+
def session_id
|
714
|
+
@variables['session_id'][:value]
|
715
|
+
end
|
716
|
+
|
717
|
+
# Sets the session_id variable.
|
718
|
+
#
|
719
|
+
# @param value [ulong] the new value
|
720
|
+
def session_id=(value)
|
721
|
+
@variables['session_id'][:value] = value
|
722
|
+
end
|
723
|
+
|
724
|
+
end
|
725
|
+
|
726
|
+
# Class for the MsgClientOGSEndSession in the Steam Language.
|
727
|
+
class MsgClientOGSEndSession
|
728
|
+
# Allows serialization and deserialization of the class
|
729
|
+
include SteamSerializable
|
730
|
+
|
731
|
+
# Instantiate a MsgClientOGSEndSession object
|
732
|
+
def initialize
|
733
|
+
super([{:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_ended", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"reason_code", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_attributes", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
734
|
+
end
|
735
|
+
|
736
|
+
# Gets the session_id variable.
|
737
|
+
#
|
738
|
+
# @note defaults to
|
739
|
+
# @return [ulong] the value of session_id
|
740
|
+
def session_id
|
741
|
+
@variables['session_id'][:value]
|
742
|
+
end
|
743
|
+
|
744
|
+
# Sets the session_id variable.
|
745
|
+
#
|
746
|
+
# @param value [ulong] the new value
|
747
|
+
def session_id=(value)
|
748
|
+
@variables['session_id'][:value] = value
|
749
|
+
end
|
750
|
+
|
751
|
+
# Gets the time_ended variable.
|
752
|
+
#
|
753
|
+
# @note defaults to
|
754
|
+
# @return [uint] the value of time_ended
|
755
|
+
def time_ended
|
756
|
+
@variables['time_ended'][:value]
|
757
|
+
end
|
758
|
+
|
759
|
+
# Sets the time_ended variable.
|
760
|
+
#
|
761
|
+
# @param value [uint] the new value
|
762
|
+
def time_ended=(value)
|
763
|
+
@variables['time_ended'][:value] = value
|
764
|
+
end
|
765
|
+
|
766
|
+
# Gets the reason_code variable.
|
767
|
+
#
|
768
|
+
# @note defaults to
|
769
|
+
# @return [int] the value of reason_code
|
770
|
+
def reason_code
|
771
|
+
@variables['reason_code'][:value]
|
772
|
+
end
|
773
|
+
|
774
|
+
# Sets the reason_code variable.
|
775
|
+
#
|
776
|
+
# @param value [int] the new value
|
777
|
+
def reason_code=(value)
|
778
|
+
@variables['reason_code'][:value] = value
|
779
|
+
end
|
780
|
+
|
781
|
+
# Gets the count_attributes variable.
|
782
|
+
#
|
783
|
+
# @note defaults to
|
784
|
+
# @return [int] the value of count_attributes
|
785
|
+
def count_attributes
|
786
|
+
@variables['count_attributes'][:value]
|
787
|
+
end
|
788
|
+
|
789
|
+
# Sets the count_attributes variable.
|
790
|
+
#
|
791
|
+
# @param value [int] the new value
|
792
|
+
def count_attributes=(value)
|
793
|
+
@variables['count_attributes'][:value] = value
|
794
|
+
end
|
795
|
+
|
796
|
+
end
|
797
|
+
|
798
|
+
# Class for the MsgClientOGSEndSessionResponse in the Steam Language.
|
799
|
+
class MsgClientOGSEndSessionResponse
|
800
|
+
# Allows serialization and deserialization of the class
|
801
|
+
include SteamSerializable
|
802
|
+
|
803
|
+
# Instantiate a MsgClientOGSEndSessionResponse object
|
804
|
+
def initialize
|
805
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
806
|
+
end
|
807
|
+
|
808
|
+
# Gets the result variable.
|
809
|
+
#
|
810
|
+
# @note defaults to
|
811
|
+
# @return [EResult] the value of result
|
812
|
+
def result
|
813
|
+
@variables['result'][:value]
|
814
|
+
end
|
815
|
+
|
816
|
+
# Sets the result variable.
|
817
|
+
#
|
818
|
+
# @param value [EResult] the new value
|
819
|
+
def result=(value)
|
820
|
+
@variables['result'][:value] = value
|
821
|
+
end
|
822
|
+
|
823
|
+
end
|
824
|
+
|
825
|
+
# Class for the MsgClientOGSWriteRow in the Steam Language.
|
826
|
+
class MsgClientOGSWriteRow
|
827
|
+
# Allows serialization and deserialization of the class
|
828
|
+
include SteamSerializable
|
829
|
+
|
830
|
+
# Instantiate a MsgClientOGSWriteRow object
|
831
|
+
def initialize
|
832
|
+
super([{:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_attributes", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
833
|
+
end
|
834
|
+
|
835
|
+
# Gets the session_id variable.
|
836
|
+
#
|
837
|
+
# @note defaults to
|
838
|
+
# @return [ulong] the value of session_id
|
839
|
+
def session_id
|
840
|
+
@variables['session_id'][:value]
|
841
|
+
end
|
842
|
+
|
843
|
+
# Sets the session_id variable.
|
844
|
+
#
|
845
|
+
# @param value [ulong] the new value
|
846
|
+
def session_id=(value)
|
847
|
+
@variables['session_id'][:value] = value
|
848
|
+
end
|
849
|
+
|
850
|
+
# Gets the count_attributes variable.
|
851
|
+
#
|
852
|
+
# @note defaults to
|
853
|
+
# @return [int] the value of count_attributes
|
854
|
+
def count_attributes
|
855
|
+
@variables['count_attributes'][:value]
|
856
|
+
end
|
857
|
+
|
858
|
+
# Sets the count_attributes variable.
|
859
|
+
#
|
860
|
+
# @param value [int] the new value
|
861
|
+
def count_attributes=(value)
|
862
|
+
@variables['count_attributes'][:value] = value
|
863
|
+
end
|
864
|
+
|
865
|
+
end
|
866
|
+
|
867
|
+
# Class for the MsgClientGetFriendsWhoPlayGame in the Steam Language.
|
868
|
+
class MsgClientGetFriendsWhoPlayGame
|
869
|
+
# Allows serialization and deserialization of the class
|
870
|
+
include SteamSerializable
|
871
|
+
|
872
|
+
# Instantiate a MsgClientGetFriendsWhoPlayGame object
|
873
|
+
def initialize
|
874
|
+
super([{:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
875
|
+
end
|
876
|
+
|
877
|
+
# Gets the game_id variable.
|
878
|
+
#
|
879
|
+
# @note defaults to
|
880
|
+
# @return [ulong] the value of game_id
|
881
|
+
def game_id
|
882
|
+
@variables['game_id'][:value]
|
883
|
+
end
|
884
|
+
|
885
|
+
# Sets the game_id variable.
|
886
|
+
#
|
887
|
+
# @param value [ulong] the new value
|
888
|
+
def game_id=(value)
|
889
|
+
@variables['game_id'][:value] = value
|
890
|
+
end
|
891
|
+
|
892
|
+
end
|
893
|
+
|
894
|
+
# Class for the MsgClientGetFriendsWhoPlayGameResponse in the Steam Language.
|
895
|
+
class MsgClientGetFriendsWhoPlayGameResponse
|
896
|
+
# Allows serialization and deserialization of the class
|
897
|
+
include SteamSerializable
|
898
|
+
|
899
|
+
# Instantiate a MsgClientGetFriendsWhoPlayGameResponse object
|
900
|
+
def initialize
|
901
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_friends", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
902
|
+
end
|
903
|
+
|
904
|
+
# Gets the result variable.
|
905
|
+
#
|
906
|
+
# @note defaults to
|
907
|
+
# @return [EResult] the value of result
|
908
|
+
def result
|
909
|
+
@variables['result'][:value]
|
910
|
+
end
|
911
|
+
|
912
|
+
# Sets the result variable.
|
913
|
+
#
|
914
|
+
# @param value [EResult] the new value
|
915
|
+
def result=(value)
|
916
|
+
@variables['result'][:value] = value
|
917
|
+
end
|
918
|
+
|
919
|
+
# Gets the game_id variable.
|
920
|
+
#
|
921
|
+
# @note defaults to
|
922
|
+
# @return [ulong] the value of game_id
|
923
|
+
def game_id
|
924
|
+
@variables['game_id'][:value]
|
925
|
+
end
|
926
|
+
|
927
|
+
# Sets the game_id variable.
|
928
|
+
#
|
929
|
+
# @param value [ulong] the new value
|
930
|
+
def game_id=(value)
|
931
|
+
@variables['game_id'][:value] = value
|
932
|
+
end
|
933
|
+
|
934
|
+
# Gets the count_friends variable.
|
935
|
+
#
|
936
|
+
# @note defaults to
|
937
|
+
# @return [uint] the value of count_friends
|
938
|
+
def count_friends
|
939
|
+
@variables['count_friends'][:value]
|
940
|
+
end
|
941
|
+
|
942
|
+
# Sets the count_friends variable.
|
943
|
+
#
|
944
|
+
# @param value [uint] the new value
|
945
|
+
def count_friends=(value)
|
946
|
+
@variables['count_friends'][:value] = value
|
947
|
+
end
|
948
|
+
|
949
|
+
end
|
950
|
+
|
951
|
+
# Class for the MsgGSPerformHardwareSurvey in the Steam Language.
|
952
|
+
class MsgGSPerformHardwareSurvey
|
953
|
+
# Allows serialization and deserialization of the class
|
954
|
+
include SteamSerializable
|
955
|
+
|
956
|
+
# Instantiate a MsgGSPerformHardwareSurvey object
|
957
|
+
def initialize
|
958
|
+
super([{:name=>"flags", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
959
|
+
end
|
960
|
+
|
961
|
+
# Gets the flags variable.
|
962
|
+
#
|
963
|
+
# @note defaults to
|
964
|
+
# @return [uint] the value of flags
|
965
|
+
def flags
|
966
|
+
@variables['flags'][:value]
|
967
|
+
end
|
968
|
+
|
969
|
+
# Sets the flags variable.
|
970
|
+
#
|
971
|
+
# @param value [uint] the new value
|
972
|
+
def flags=(value)
|
973
|
+
@variables['flags'][:value] = value
|
974
|
+
end
|
975
|
+
|
976
|
+
end
|
977
|
+
|
978
|
+
# Class for the MsgGSGetPlayStatsResponse in the Steam Language.
|
979
|
+
class MsgGSGetPlayStatsResponse
|
980
|
+
# Allows serialization and deserialization of the class
|
981
|
+
include SteamSerializable
|
982
|
+
|
983
|
+
# Instantiate a MsgGSGetPlayStatsResponse object
|
984
|
+
def initialize
|
985
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"rank", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"lifetime_connects", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"lifetime_minutes_played", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
986
|
+
end
|
987
|
+
|
988
|
+
# Gets the result variable.
|
989
|
+
#
|
990
|
+
# @note defaults to
|
991
|
+
# @return [EResult] the value of result
|
992
|
+
def result
|
993
|
+
@variables['result'][:value]
|
994
|
+
end
|
995
|
+
|
996
|
+
# Sets the result variable.
|
997
|
+
#
|
998
|
+
# @param value [EResult] the new value
|
999
|
+
def result=(value)
|
1000
|
+
@variables['result'][:value] = value
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
# Gets the rank variable.
|
1004
|
+
#
|
1005
|
+
# @note defaults to
|
1006
|
+
# @return [int] the value of rank
|
1007
|
+
def rank
|
1008
|
+
@variables['rank'][:value]
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# Sets the rank variable.
|
1012
|
+
#
|
1013
|
+
# @param value [int] the new value
|
1014
|
+
def rank=(value)
|
1015
|
+
@variables['rank'][:value] = value
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Gets the lifetime_connects variable.
|
1019
|
+
#
|
1020
|
+
# @note defaults to
|
1021
|
+
# @return [uint] the value of lifetime_connects
|
1022
|
+
def lifetime_connects
|
1023
|
+
@variables['lifetime_connects'][:value]
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# Sets the lifetime_connects variable.
|
1027
|
+
#
|
1028
|
+
# @param value [uint] the new value
|
1029
|
+
def lifetime_connects=(value)
|
1030
|
+
@variables['lifetime_connects'][:value] = value
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# Gets the lifetime_minutes_played variable.
|
1034
|
+
#
|
1035
|
+
# @note defaults to
|
1036
|
+
# @return [uint] the value of lifetime_minutes_played
|
1037
|
+
def lifetime_minutes_played
|
1038
|
+
@variables['lifetime_minutes_played'][:value]
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Sets the lifetime_minutes_played variable.
|
1042
|
+
#
|
1043
|
+
# @param value [uint] the new value
|
1044
|
+
def lifetime_minutes_played=(value)
|
1045
|
+
@variables['lifetime_minutes_played'][:value] = value
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# Class for the MsgGSGetReputationResponse in the Steam Language.
|
1051
|
+
class MsgGSGetReputationResponse
|
1052
|
+
# Allows serialization and deserialization of the class
|
1053
|
+
include SteamSerializable
|
1054
|
+
|
1055
|
+
# Instantiate a MsgGSGetReputationResponse object
|
1056
|
+
def initialize
|
1057
|
+
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}], [])
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# Gets the result variable.
|
1061
|
+
#
|
1062
|
+
# @note defaults to
|
1063
|
+
# @return [EResult] the value of result
|
1064
|
+
def result
|
1065
|
+
@variables['result'][:value]
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
# Sets the result variable.
|
1069
|
+
#
|
1070
|
+
# @param value [EResult] the new value
|
1071
|
+
def result=(value)
|
1072
|
+
@variables['result'][:value] = value
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# Gets the reputation_score variable.
|
1076
|
+
#
|
1077
|
+
# @note defaults to
|
1078
|
+
# @return [uint] the value of reputation_score
|
1079
|
+
def reputation_score
|
1080
|
+
@variables['reputation_score'][:value]
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# Sets the reputation_score variable.
|
1084
|
+
#
|
1085
|
+
# @param value [uint] the new value
|
1086
|
+
def reputation_score=(value)
|
1087
|
+
@variables['reputation_score'][:value] = value
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# Gets the banned variable.
|
1091
|
+
#
|
1092
|
+
# @note defaults to
|
1093
|
+
# @return [byte] the value of banned
|
1094
|
+
def banned
|
1095
|
+
@variables['banned'][:value]
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# Sets the banned variable.
|
1099
|
+
#
|
1100
|
+
# @param value [byte] the new value
|
1101
|
+
def banned=(value)
|
1102
|
+
@variables['banned'][:value] = value
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# Gets the banned_ip variable.
|
1106
|
+
#
|
1107
|
+
# @note defaults to
|
1108
|
+
# @return [uint] the value of banned_ip
|
1109
|
+
def banned_ip
|
1110
|
+
@variables['banned_ip'][:value]
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# Sets the banned_ip variable.
|
1114
|
+
#
|
1115
|
+
# @param value [uint] the new value
|
1116
|
+
def banned_ip=(value)
|
1117
|
+
@variables['banned_ip'][:value] = value
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# Gets the banned_port variable.
|
1121
|
+
#
|
1122
|
+
# @note defaults to
|
1123
|
+
# @return [ushort] the value of banned_port
|
1124
|
+
def banned_port
|
1125
|
+
@variables['banned_port'][:value]
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Sets the banned_port variable.
|
1129
|
+
#
|
1130
|
+
# @param value [ushort] the new value
|
1131
|
+
def banned_port=(value)
|
1132
|
+
@variables['banned_port'][:value] = value
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# Gets the banned_game_id variable.
|
1136
|
+
#
|
1137
|
+
# @note defaults to
|
1138
|
+
# @return [ulong] the value of banned_game_id
|
1139
|
+
def banned_game_id
|
1140
|
+
@variables['banned_game_id'][:value]
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
# Sets the banned_game_id variable.
|
1144
|
+
#
|
1145
|
+
# @param value [ulong] the new value
|
1146
|
+
def banned_game_id=(value)
|
1147
|
+
@variables['banned_game_id'][:value] = value
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
# Gets the time_ban_expires variable.
|
1151
|
+
#
|
1152
|
+
# @note defaults to
|
1153
|
+
# @return [uint] the value of time_ban_expires
|
1154
|
+
def time_ban_expires
|
1155
|
+
@variables['time_ban_expires'][:value]
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# Sets the time_ban_expires variable.
|
1159
|
+
#
|
1160
|
+
# @param value [uint] the new value
|
1161
|
+
def time_ban_expires=(value)
|
1162
|
+
@variables['time_ban_expires'][:value] = value
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# Class for the MsgGSDeny in the Steam Language.
|
1168
|
+
class MsgGSDeny
|
1169
|
+
# Allows serialization and deserialization of the class
|
1170
|
+
include SteamSerializable
|
1171
|
+
|
1172
|
+
# Instantiate a MsgGSDeny object
|
1173
|
+
def initialize
|
1174
|
+
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}], [])
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
# Gets the steam_id variable.
|
1178
|
+
#
|
1179
|
+
# @note defaults to
|
1180
|
+
# @return [ulong] the value of steam_id
|
1181
|
+
def steam_id
|
1182
|
+
@variables['steam_id'][:value]
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# Sets the steam_id variable.
|
1186
|
+
#
|
1187
|
+
# @param value [ulong] the new value
|
1188
|
+
def steam_id=(value)
|
1189
|
+
@variables['steam_id'][:value] = value
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# Gets the deny_reason variable.
|
1193
|
+
#
|
1194
|
+
# @note defaults to
|
1195
|
+
# @return [EDenyReason] the value of deny_reason
|
1196
|
+
def deny_reason
|
1197
|
+
@variables['deny_reason'][:value]
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# Sets the deny_reason variable.
|
1201
|
+
#
|
1202
|
+
# @param value [EDenyReason] the new value
|
1203
|
+
def deny_reason=(value)
|
1204
|
+
@variables['deny_reason'][:value] = value
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# Class for the MsgGSApprove in the Steam Language.
|
1210
|
+
class MsgGSApprove
|
1211
|
+
# Allows serialization and deserialization of the class
|
1212
|
+
include SteamSerializable
|
1213
|
+
|
1214
|
+
# Instantiate a MsgGSApprove object
|
1215
|
+
def initialize
|
1216
|
+
super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# Gets the steam_id variable.
|
1220
|
+
#
|
1221
|
+
# @note defaults to
|
1222
|
+
# @return [ulong] the value of steam_id
|
1223
|
+
def steam_id
|
1224
|
+
@variables['steam_id'][:value]
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
# Sets the steam_id variable.
|
1228
|
+
#
|
1229
|
+
# @param value [ulong] the new value
|
1230
|
+
def steam_id=(value)
|
1231
|
+
@variables['steam_id'][:value] = value
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
# Class for the MsgGSKick in the Steam Language.
|
1237
|
+
class MsgGSKick
|
1238
|
+
# Allows serialization and deserialization of the class
|
1239
|
+
include SteamSerializable
|
1240
|
+
|
1241
|
+
# Instantiate a MsgGSKick object
|
1242
|
+
def initialize
|
1243
|
+
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}], [])
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# Gets the steam_id variable.
|
1247
|
+
#
|
1248
|
+
# @note defaults to
|
1249
|
+
# @return [ulong] the value of steam_id
|
1250
|
+
def steam_id
|
1251
|
+
@variables['steam_id'][:value]
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# Sets the steam_id variable.
|
1255
|
+
#
|
1256
|
+
# @param value [ulong] the new value
|
1257
|
+
def steam_id=(value)
|
1258
|
+
@variables['steam_id'][:value] = value
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# Gets the deny_reason variable.
|
1262
|
+
#
|
1263
|
+
# @note defaults to
|
1264
|
+
# @return [EDenyReason] the value of deny_reason
|
1265
|
+
def deny_reason
|
1266
|
+
@variables['deny_reason'][:value]
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# Sets the deny_reason variable.
|
1270
|
+
#
|
1271
|
+
# @param value [EDenyReason] the new value
|
1272
|
+
def deny_reason=(value)
|
1273
|
+
@variables['deny_reason'][:value] = value
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# Gets the wait_til_map_change variable.
|
1277
|
+
#
|
1278
|
+
# @note defaults to
|
1279
|
+
# @return [int] the value of wait_til_map_change
|
1280
|
+
def wait_til_map_change
|
1281
|
+
@variables['wait_til_map_change'][:value]
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# Sets the wait_til_map_change variable.
|
1285
|
+
#
|
1286
|
+
# @param value [int] the new value
|
1287
|
+
def wait_til_map_change=(value)
|
1288
|
+
@variables['wait_til_map_change'][:value] = value
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
# Class for the MsgGSGetUserGroupStatus in the Steam Language.
|
1294
|
+
class MsgGSGetUserGroupStatus
|
1295
|
+
# Allows serialization and deserialization of the class
|
1296
|
+
include SteamSerializable
|
1297
|
+
|
1298
|
+
# Instantiate a MsgGSGetUserGroupStatus object
|
1299
|
+
def initialize
|
1300
|
+
super([{:name=>"steam_id_user", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_group", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# Gets the steam_id_user variable.
|
1304
|
+
#
|
1305
|
+
# @note defaults to
|
1306
|
+
# @return [ulong] the value of steam_id_user
|
1307
|
+
def steam_id_user
|
1308
|
+
@variables['steam_id_user'][:value]
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# Sets the steam_id_user variable.
|
1312
|
+
#
|
1313
|
+
# @param value [ulong] the new value
|
1314
|
+
def steam_id_user=(value)
|
1315
|
+
@variables['steam_id_user'][:value] = value
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Gets the steam_id_group variable.
|
1319
|
+
#
|
1320
|
+
# @note defaults to
|
1321
|
+
# @return [ulong] the value of steam_id_group
|
1322
|
+
def steam_id_group
|
1323
|
+
@variables['steam_id_group'][:value]
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# Sets the steam_id_group variable.
|
1327
|
+
#
|
1328
|
+
# @param value [ulong] the new value
|
1329
|
+
def steam_id_group=(value)
|
1330
|
+
@variables['steam_id_group'][:value] = value
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
# Class for the MsgGSGetUserGroupStatusResponse in the Steam Language.
|
1336
|
+
class MsgGSGetUserGroupStatusResponse
|
1337
|
+
# Allows serialization and deserialization of the class
|
1338
|
+
include SteamSerializable
|
1339
|
+
|
1340
|
+
# Instantiate a MsgGSGetUserGroupStatusResponse object
|
1341
|
+
def initialize
|
1342
|
+
super([{:name=>"steam_id_user", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_group", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"clan_relationship", :type=>"EClanRelationship", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"clan_rank", :type=>"EClanRank", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# Gets the steam_id_user variable.
|
1346
|
+
#
|
1347
|
+
# @note defaults to
|
1348
|
+
# @return [ulong] the value of steam_id_user
|
1349
|
+
def steam_id_user
|
1350
|
+
@variables['steam_id_user'][:value]
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# Sets the steam_id_user variable.
|
1354
|
+
#
|
1355
|
+
# @param value [ulong] the new value
|
1356
|
+
def steam_id_user=(value)
|
1357
|
+
@variables['steam_id_user'][:value] = value
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
# Gets the steam_id_group variable.
|
1361
|
+
#
|
1362
|
+
# @note defaults to
|
1363
|
+
# @return [ulong] the value of steam_id_group
|
1364
|
+
def steam_id_group
|
1365
|
+
@variables['steam_id_group'][:value]
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Sets the steam_id_group variable.
|
1369
|
+
#
|
1370
|
+
# @param value [ulong] the new value
|
1371
|
+
def steam_id_group=(value)
|
1372
|
+
@variables['steam_id_group'][:value] = value
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
# Gets the clan_relationship variable.
|
1376
|
+
#
|
1377
|
+
# @note defaults to
|
1378
|
+
# @return [EClanRelationship] the value of clan_relationship
|
1379
|
+
def clan_relationship
|
1380
|
+
@variables['clan_relationship'][:value]
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# Sets the clan_relationship variable.
|
1384
|
+
#
|
1385
|
+
# @param value [EClanRelationship] the new value
|
1386
|
+
def clan_relationship=(value)
|
1387
|
+
@variables['clan_relationship'][:value] = value
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# Gets the clan_rank variable.
|
1391
|
+
#
|
1392
|
+
# @note defaults to
|
1393
|
+
# @return [EClanRank] the value of clan_rank
|
1394
|
+
def clan_rank
|
1395
|
+
@variables['clan_rank'][:value]
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
# Sets the clan_rank variable.
|
1399
|
+
#
|
1400
|
+
# @param value [EClanRank] the new value
|
1401
|
+
def clan_rank=(value)
|
1402
|
+
@variables['clan_rank'][:value] = value
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# Class for the MsgClientJoinChat in the Steam Language.
|
1408
|
+
class MsgClientJoinChat
|
1409
|
+
# Allows serialization and deserialization of the class
|
1410
|
+
include SteamSerializable
|
1411
|
+
|
1412
|
+
# Instantiate a MsgClientJoinChat object
|
1413
|
+
def initialize
|
1414
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"is_voice_speaker", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
# Gets the steam_id_chat variable.
|
1418
|
+
#
|
1419
|
+
# @note defaults to
|
1420
|
+
# @return [ulong] the value of steam_id_chat
|
1421
|
+
def steam_id_chat
|
1422
|
+
@variables['steam_id_chat'][:value]
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# Sets the steam_id_chat variable.
|
1426
|
+
#
|
1427
|
+
# @param value [ulong] the new value
|
1428
|
+
def steam_id_chat=(value)
|
1429
|
+
@variables['steam_id_chat'][:value] = value
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
# Gets the is_voice_speaker variable.
|
1433
|
+
#
|
1434
|
+
# @note defaults to
|
1435
|
+
# @return [byte] the value of is_voice_speaker
|
1436
|
+
def is_voice_speaker
|
1437
|
+
@variables['is_voice_speaker'][:value]
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Sets the is_voice_speaker variable.
|
1441
|
+
#
|
1442
|
+
# @param value [byte] the new value
|
1443
|
+
def is_voice_speaker=(value)
|
1444
|
+
@variables['is_voice_speaker'][:value] = value
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# Class for the MsgClientChatEnter in the Steam Language.
|
1450
|
+
class MsgClientChatEnter
|
1451
|
+
# Allows serialization and deserialization of the class
|
1452
|
+
include SteamSerializable
|
1453
|
+
|
1454
|
+
# Instantiate a MsgClientChatEnter object
|
1455
|
+
def initialize
|
1456
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_room_type", :type=>"EChatRoomType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_owner", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_clan", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_flags", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"enter_response", :type=>"EChatRoomEnterResponse", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"num_members", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# Gets the steam_id_chat variable.
|
1460
|
+
#
|
1461
|
+
# @note defaults to
|
1462
|
+
# @return [ulong] the value of steam_id_chat
|
1463
|
+
def steam_id_chat
|
1464
|
+
@variables['steam_id_chat'][:value]
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
# Sets the steam_id_chat variable.
|
1468
|
+
#
|
1469
|
+
# @param value [ulong] the new value
|
1470
|
+
def steam_id_chat=(value)
|
1471
|
+
@variables['steam_id_chat'][:value] = value
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# Gets the steam_id_friend variable.
|
1475
|
+
#
|
1476
|
+
# @note defaults to
|
1477
|
+
# @return [ulong] the value of steam_id_friend
|
1478
|
+
def steam_id_friend
|
1479
|
+
@variables['steam_id_friend'][:value]
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Sets the steam_id_friend variable.
|
1483
|
+
#
|
1484
|
+
# @param value [ulong] the new value
|
1485
|
+
def steam_id_friend=(value)
|
1486
|
+
@variables['steam_id_friend'][:value] = value
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
# Gets the chat_room_type variable.
|
1490
|
+
#
|
1491
|
+
# @note defaults to
|
1492
|
+
# @return [EChatRoomType] the value of chat_room_type
|
1493
|
+
def chat_room_type
|
1494
|
+
@variables['chat_room_type'][:value]
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
# Sets the chat_room_type variable.
|
1498
|
+
#
|
1499
|
+
# @param value [EChatRoomType] the new value
|
1500
|
+
def chat_room_type=(value)
|
1501
|
+
@variables['chat_room_type'][:value] = value
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# Gets the steam_id_owner variable.
|
1505
|
+
#
|
1506
|
+
# @note defaults to
|
1507
|
+
# @return [ulong] the value of steam_id_owner
|
1508
|
+
def steam_id_owner
|
1509
|
+
@variables['steam_id_owner'][:value]
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# Sets the steam_id_owner variable.
|
1513
|
+
#
|
1514
|
+
# @param value [ulong] the new value
|
1515
|
+
def steam_id_owner=(value)
|
1516
|
+
@variables['steam_id_owner'][:value] = value
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# Gets the steam_id_clan variable.
|
1520
|
+
#
|
1521
|
+
# @note defaults to
|
1522
|
+
# @return [ulong] the value of steam_id_clan
|
1523
|
+
def steam_id_clan
|
1524
|
+
@variables['steam_id_clan'][:value]
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
# Sets the steam_id_clan variable.
|
1528
|
+
#
|
1529
|
+
# @param value [ulong] the new value
|
1530
|
+
def steam_id_clan=(value)
|
1531
|
+
@variables['steam_id_clan'][:value] = value
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
# Gets the chat_flags variable.
|
1535
|
+
#
|
1536
|
+
# @note defaults to
|
1537
|
+
# @return [byte] the value of chat_flags
|
1538
|
+
def chat_flags
|
1539
|
+
@variables['chat_flags'][:value]
|
1540
|
+
end
|
1541
|
+
|
1542
|
+
# Sets the chat_flags variable.
|
1543
|
+
#
|
1544
|
+
# @param value [byte] the new value
|
1545
|
+
def chat_flags=(value)
|
1546
|
+
@variables['chat_flags'][:value] = value
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
# Gets the enter_response variable.
|
1550
|
+
#
|
1551
|
+
# @note defaults to
|
1552
|
+
# @return [EChatRoomEnterResponse] the value of enter_response
|
1553
|
+
def enter_response
|
1554
|
+
@variables['enter_response'][:value]
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
# Sets the enter_response variable.
|
1558
|
+
#
|
1559
|
+
# @param value [EChatRoomEnterResponse] the new value
|
1560
|
+
def enter_response=(value)
|
1561
|
+
@variables['enter_response'][:value] = value
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Gets the num_members variable.
|
1565
|
+
#
|
1566
|
+
# @note defaults to
|
1567
|
+
# @return [int] the value of num_members
|
1568
|
+
def num_members
|
1569
|
+
@variables['num_members'][:value]
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
# Sets the num_members variable.
|
1573
|
+
#
|
1574
|
+
# @param value [int] the new value
|
1575
|
+
def num_members=(value)
|
1576
|
+
@variables['num_members'][:value] = value
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# Class for the MsgClientChatMsg in the Steam Language.
|
1582
|
+
class MsgClientChatMsg
|
1583
|
+
# Allows serialization and deserialization of the class
|
1584
|
+
include SteamSerializable
|
1585
|
+
|
1586
|
+
# Instantiate a MsgClientChatMsg object
|
1587
|
+
def initialize
|
1588
|
+
super([{:name=>"steam_id_chatter", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_chat_room", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_msg_type", :type=>"EChatEntryType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
# Gets the steam_id_chatter variable.
|
1592
|
+
#
|
1593
|
+
# @note defaults to
|
1594
|
+
# @return [ulong] the value of steam_id_chatter
|
1595
|
+
def steam_id_chatter
|
1596
|
+
@variables['steam_id_chatter'][:value]
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
# Sets the steam_id_chatter variable.
|
1600
|
+
#
|
1601
|
+
# @param value [ulong] the new value
|
1602
|
+
def steam_id_chatter=(value)
|
1603
|
+
@variables['steam_id_chatter'][:value] = value
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
# Gets the steam_id_chat_room variable.
|
1607
|
+
#
|
1608
|
+
# @note defaults to
|
1609
|
+
# @return [ulong] the value of steam_id_chat_room
|
1610
|
+
def steam_id_chat_room
|
1611
|
+
@variables['steam_id_chat_room'][:value]
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# Sets the steam_id_chat_room variable.
|
1615
|
+
#
|
1616
|
+
# @param value [ulong] the new value
|
1617
|
+
def steam_id_chat_room=(value)
|
1618
|
+
@variables['steam_id_chat_room'][:value] = value
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# Gets the chat_msg_type variable.
|
1622
|
+
#
|
1623
|
+
# @note defaults to
|
1624
|
+
# @return [EChatEntryType] the value of chat_msg_type
|
1625
|
+
def chat_msg_type
|
1626
|
+
@variables['chat_msg_type'][:value]
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
# Sets the chat_msg_type variable.
|
1630
|
+
#
|
1631
|
+
# @param value [EChatEntryType] the new value
|
1632
|
+
def chat_msg_type=(value)
|
1633
|
+
@variables['chat_msg_type'][:value] = value
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
# Class for the MsgClientChatMemberInfo in the Steam Language.
|
1639
|
+
class MsgClientChatMemberInfo
|
1640
|
+
# Allows serialization and deserialization of the class
|
1641
|
+
include SteamSerializable
|
1642
|
+
|
1643
|
+
# Instantiate a MsgClientChatMemberInfo object
|
1644
|
+
def initialize
|
1645
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"type", :type=>"EChatInfoType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
# Gets the steam_id_chat variable.
|
1649
|
+
#
|
1650
|
+
# @note defaults to
|
1651
|
+
# @return [ulong] the value of steam_id_chat
|
1652
|
+
def steam_id_chat
|
1653
|
+
@variables['steam_id_chat'][:value]
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# Sets the steam_id_chat variable.
|
1657
|
+
#
|
1658
|
+
# @param value [ulong] the new value
|
1659
|
+
def steam_id_chat=(value)
|
1660
|
+
@variables['steam_id_chat'][:value] = value
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# Gets the type variable.
|
1664
|
+
#
|
1665
|
+
# @note defaults to
|
1666
|
+
# @return [EChatInfoType] the value of type
|
1667
|
+
def type
|
1668
|
+
@variables['type'][:value]
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# Sets the type variable.
|
1672
|
+
#
|
1673
|
+
# @param value [EChatInfoType] the new value
|
1674
|
+
def type=(value)
|
1675
|
+
@variables['type'][:value] = value
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# Class for the MsgClientChatAction in the Steam Language.
|
1681
|
+
class MsgClientChatAction
|
1682
|
+
# Allows serialization and deserialization of the class
|
1683
|
+
include SteamSerializable
|
1684
|
+
|
1685
|
+
# Instantiate a MsgClientChatAction object
|
1686
|
+
def initialize
|
1687
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_user_to_act_on", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_action", :type=>"EChatAction", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
# Gets the steam_id_chat variable.
|
1691
|
+
#
|
1692
|
+
# @note defaults to
|
1693
|
+
# @return [ulong] the value of steam_id_chat
|
1694
|
+
def steam_id_chat
|
1695
|
+
@variables['steam_id_chat'][:value]
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# Sets the steam_id_chat variable.
|
1699
|
+
#
|
1700
|
+
# @param value [ulong] the new value
|
1701
|
+
def steam_id_chat=(value)
|
1702
|
+
@variables['steam_id_chat'][:value] = value
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# Gets the steam_id_user_to_act_on variable.
|
1706
|
+
#
|
1707
|
+
# @note defaults to
|
1708
|
+
# @return [ulong] the value of steam_id_user_to_act_on
|
1709
|
+
def steam_id_user_to_act_on
|
1710
|
+
@variables['steam_id_user_to_act_on'][:value]
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# Sets the steam_id_user_to_act_on variable.
|
1714
|
+
#
|
1715
|
+
# @param value [ulong] the new value
|
1716
|
+
def steam_id_user_to_act_on=(value)
|
1717
|
+
@variables['steam_id_user_to_act_on'][:value] = value
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
# Gets the chat_action variable.
|
1721
|
+
#
|
1722
|
+
# @note defaults to
|
1723
|
+
# @return [EChatAction] the value of chat_action
|
1724
|
+
def chat_action
|
1725
|
+
@variables['chat_action'][:value]
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
# Sets the chat_action variable.
|
1729
|
+
#
|
1730
|
+
# @param value [EChatAction] the new value
|
1731
|
+
def chat_action=(value)
|
1732
|
+
@variables['chat_action'][:value] = value
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
# Class for the MsgClientChatActionResult in the Steam Language.
|
1738
|
+
class MsgClientChatActionResult
|
1739
|
+
# Allows serialization and deserialization of the class
|
1740
|
+
include SteamSerializable
|
1741
|
+
|
1742
|
+
# Instantiate a MsgClientChatActionResult object
|
1743
|
+
def initialize
|
1744
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_user_acted_on", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_action", :type=>"EChatAction", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"action_result", :type=>"EChatActionResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# Gets the steam_id_chat variable.
|
1748
|
+
#
|
1749
|
+
# @note defaults to
|
1750
|
+
# @return [ulong] the value of steam_id_chat
|
1751
|
+
def steam_id_chat
|
1752
|
+
@variables['steam_id_chat'][:value]
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
# Sets the steam_id_chat variable.
|
1756
|
+
#
|
1757
|
+
# @param value [ulong] the new value
|
1758
|
+
def steam_id_chat=(value)
|
1759
|
+
@variables['steam_id_chat'][:value] = value
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
# Gets the steam_id_user_acted_on variable.
|
1763
|
+
#
|
1764
|
+
# @note defaults to
|
1765
|
+
# @return [ulong] the value of steam_id_user_acted_on
|
1766
|
+
def steam_id_user_acted_on
|
1767
|
+
@variables['steam_id_user_acted_on'][:value]
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# Sets the steam_id_user_acted_on variable.
|
1771
|
+
#
|
1772
|
+
# @param value [ulong] the new value
|
1773
|
+
def steam_id_user_acted_on=(value)
|
1774
|
+
@variables['steam_id_user_acted_on'][:value] = value
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Gets the chat_action variable.
|
1778
|
+
#
|
1779
|
+
# @note defaults to
|
1780
|
+
# @return [EChatAction] the value of chat_action
|
1781
|
+
def chat_action
|
1782
|
+
@variables['chat_action'][:value]
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# Sets the chat_action variable.
|
1786
|
+
#
|
1787
|
+
# @param value [EChatAction] the new value
|
1788
|
+
def chat_action=(value)
|
1789
|
+
@variables['chat_action'][:value] = value
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# Gets the action_result variable.
|
1793
|
+
#
|
1794
|
+
# @note defaults to
|
1795
|
+
# @return [EChatActionResult] the value of action_result
|
1796
|
+
def action_result
|
1797
|
+
@variables['action_result'][:value]
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
# Sets the action_result variable.
|
1801
|
+
#
|
1802
|
+
# @param value [EChatActionResult] the new value
|
1803
|
+
def action_result=(value)
|
1804
|
+
@variables['action_result'][:value] = value
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
# Class for the MsgClientChatRoomInfo in the Steam Language.
|
1810
|
+
class MsgClientChatRoomInfo
|
1811
|
+
# Allows serialization and deserialization of the class
|
1812
|
+
include SteamSerializable
|
1813
|
+
|
1814
|
+
# Instantiate a MsgClientChatRoomInfo object
|
1815
|
+
def initialize
|
1816
|
+
super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"type", :type=>"EChatInfoType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
# Gets the steam_id_chat variable.
|
1820
|
+
#
|
1821
|
+
# @note defaults to
|
1822
|
+
# @return [ulong] the value of steam_id_chat
|
1823
|
+
def steam_id_chat
|
1824
|
+
@variables['steam_id_chat'][:value]
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
# Sets the steam_id_chat variable.
|
1828
|
+
#
|
1829
|
+
# @param value [ulong] the new value
|
1830
|
+
def steam_id_chat=(value)
|
1831
|
+
@variables['steam_id_chat'][:value] = value
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
# Gets the type variable.
|
1835
|
+
#
|
1836
|
+
# @note defaults to
|
1837
|
+
# @return [EChatInfoType] the value of type
|
1838
|
+
def type
|
1839
|
+
@variables['type'][:value]
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# Sets the type variable.
|
1843
|
+
#
|
1844
|
+
# @param value [EChatInfoType] the new value
|
1845
|
+
def type=(value)
|
1846
|
+
@variables['type'][:value] = value
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
# Class for the MsgClientSetIgnoreFriend in the Steam Language.
|
1852
|
+
class MsgClientSetIgnoreFriend
|
1853
|
+
# Allows serialization and deserialization of the class
|
1854
|
+
include SteamSerializable
|
1855
|
+
|
1856
|
+
# Instantiate a MsgClientSetIgnoreFriend object
|
1857
|
+
def initialize
|
1858
|
+
super([{:name=>"my_steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"ignore", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
# Gets the my_steam_id variable.
|
1862
|
+
#
|
1863
|
+
# @note defaults to
|
1864
|
+
# @return [ulong] the value of my_steam_id
|
1865
|
+
def my_steam_id
|
1866
|
+
@variables['my_steam_id'][:value]
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# Sets the my_steam_id variable.
|
1870
|
+
#
|
1871
|
+
# @param value [ulong] the new value
|
1872
|
+
def my_steam_id=(value)
|
1873
|
+
@variables['my_steam_id'][:value] = value
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Gets the steam_id_friend variable.
|
1877
|
+
#
|
1878
|
+
# @note defaults to
|
1879
|
+
# @return [ulong] the value of steam_id_friend
|
1880
|
+
def steam_id_friend
|
1881
|
+
@variables['steam_id_friend'][:value]
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
# Sets the steam_id_friend variable.
|
1885
|
+
#
|
1886
|
+
# @param value [ulong] the new value
|
1887
|
+
def steam_id_friend=(value)
|
1888
|
+
@variables['steam_id_friend'][:value] = value
|
1889
|
+
end
|
1890
|
+
|
1891
|
+
# Gets the ignore variable.
|
1892
|
+
#
|
1893
|
+
# @note defaults to
|
1894
|
+
# @return [byte] the value of ignore
|
1895
|
+
def ignore
|
1896
|
+
@variables['ignore'][:value]
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Sets the ignore variable.
|
1900
|
+
#
|
1901
|
+
# @param value [byte] the new value
|
1902
|
+
def ignore=(value)
|
1903
|
+
@variables['ignore'][:value] = value
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
# Class for the MsgClientSetIgnoreFriendResponse in the Steam Language.
|
1909
|
+
class MsgClientSetIgnoreFriendResponse
|
1910
|
+
# Allows serialization and deserialization of the class
|
1911
|
+
include SteamSerializable
|
1912
|
+
|
1913
|
+
# Instantiate a MsgClientSetIgnoreFriendResponse object
|
1914
|
+
def initialize
|
1915
|
+
super([{:name=>"unknown", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# Gets the unknown variable.
|
1919
|
+
#
|
1920
|
+
# @note defaults to
|
1921
|
+
# @return [ulong] the value of unknown
|
1922
|
+
def unknown
|
1923
|
+
@variables['unknown'][:value]
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
# Sets the unknown variable.
|
1927
|
+
#
|
1928
|
+
# @param value [ulong] the new value
|
1929
|
+
def unknown=(value)
|
1930
|
+
@variables['unknown'][:value] = value
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# Gets the result variable.
|
1934
|
+
#
|
1935
|
+
# @note defaults to
|
1936
|
+
# @return [EResult] the value of result
|
1937
|
+
def result
|
1938
|
+
@variables['result'][:value]
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# Sets the result variable.
|
1942
|
+
#
|
1943
|
+
# @param value [EResult] the new value
|
1944
|
+
def result=(value)
|
1945
|
+
@variables['result'][:value] = value
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
# Class for the MsgClientLoggedOff in the Steam Language.
|
1951
|
+
class MsgClientLoggedOff
|
1952
|
+
# Allows serialization and deserialization of the class
|
1953
|
+
include SteamSerializable
|
1954
|
+
|
1955
|
+
# Instantiate a MsgClientLoggedOff object
|
1956
|
+
def initialize
|
1957
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"sec_min_reconnect_hint", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"sec_max_reconnect_hint", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Gets the result variable.
|
1961
|
+
#
|
1962
|
+
# @note defaults to
|
1963
|
+
# @return [EResult] the value of result
|
1964
|
+
def result
|
1965
|
+
@variables['result'][:value]
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Sets the result variable.
|
1969
|
+
#
|
1970
|
+
# @param value [EResult] the new value
|
1971
|
+
def result=(value)
|
1972
|
+
@variables['result'][:value] = value
|
1973
|
+
end
|
1974
|
+
|
1975
|
+
# Gets the sec_min_reconnect_hint variable.
|
1976
|
+
#
|
1977
|
+
# @note defaults to
|
1978
|
+
# @return [int] the value of sec_min_reconnect_hint
|
1979
|
+
def sec_min_reconnect_hint
|
1980
|
+
@variables['sec_min_reconnect_hint'][:value]
|
1981
|
+
end
|
1982
|
+
|
1983
|
+
# Sets the sec_min_reconnect_hint variable.
|
1984
|
+
#
|
1985
|
+
# @param value [int] the new value
|
1986
|
+
def sec_min_reconnect_hint=(value)
|
1987
|
+
@variables['sec_min_reconnect_hint'][:value] = value
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# Gets the sec_max_reconnect_hint variable.
|
1991
|
+
#
|
1992
|
+
# @note defaults to
|
1993
|
+
# @return [int] the value of sec_max_reconnect_hint
|
1994
|
+
def sec_max_reconnect_hint
|
1995
|
+
@variables['sec_max_reconnect_hint'][:value]
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
# Sets the sec_max_reconnect_hint variable.
|
1999
|
+
#
|
2000
|
+
# @param value [int] the new value
|
2001
|
+
def sec_max_reconnect_hint=(value)
|
2002
|
+
@variables['sec_max_reconnect_hint'][:value] = value
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# Class for the MsgClientLogOnResponse in the Steam Language.
|
2008
|
+
class MsgClientLogOnResponse
|
2009
|
+
# Allows serialization and deserialization of the class
|
2010
|
+
include SteamSerializable
|
2011
|
+
|
2012
|
+
# Instantiate a MsgClientLogOnResponse object
|
2013
|
+
def initialize
|
2014
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"out_of_game_heartbeat_rate_sec", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"in_game_heartbeat_rate_sec", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"client_supplied_steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"ip_public", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"server_real_time", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# Gets the result variable.
|
2018
|
+
#
|
2019
|
+
# @note defaults to
|
2020
|
+
# @return [EResult] the value of result
|
2021
|
+
def result
|
2022
|
+
@variables['result'][:value]
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Sets the result variable.
|
2026
|
+
#
|
2027
|
+
# @param value [EResult] the new value
|
2028
|
+
def result=(value)
|
2029
|
+
@variables['result'][:value] = value
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
# Gets the out_of_game_heartbeat_rate_sec variable.
|
2033
|
+
#
|
2034
|
+
# @note defaults to
|
2035
|
+
# @return [int] the value of out_of_game_heartbeat_rate_sec
|
2036
|
+
def out_of_game_heartbeat_rate_sec
|
2037
|
+
@variables['out_of_game_heartbeat_rate_sec'][:value]
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
# Sets the out_of_game_heartbeat_rate_sec variable.
|
2041
|
+
#
|
2042
|
+
# @param value [int] the new value
|
2043
|
+
def out_of_game_heartbeat_rate_sec=(value)
|
2044
|
+
@variables['out_of_game_heartbeat_rate_sec'][:value] = value
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
# Gets the in_game_heartbeat_rate_sec variable.
|
2048
|
+
#
|
2049
|
+
# @note defaults to
|
2050
|
+
# @return [int] the value of in_game_heartbeat_rate_sec
|
2051
|
+
def in_game_heartbeat_rate_sec
|
2052
|
+
@variables['in_game_heartbeat_rate_sec'][:value]
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
# Sets the in_game_heartbeat_rate_sec variable.
|
2056
|
+
#
|
2057
|
+
# @param value [int] the new value
|
2058
|
+
def in_game_heartbeat_rate_sec=(value)
|
2059
|
+
@variables['in_game_heartbeat_rate_sec'][:value] = value
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
# Gets the client_supplied_steam_id variable.
|
2063
|
+
#
|
2064
|
+
# @note defaults to
|
2065
|
+
# @return [ulong] the value of client_supplied_steam_id
|
2066
|
+
def client_supplied_steam_id
|
2067
|
+
@variables['client_supplied_steam_id'][:value]
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
# Sets the client_supplied_steam_id variable.
|
2071
|
+
#
|
2072
|
+
# @param value [ulong] the new value
|
2073
|
+
def client_supplied_steam_id=(value)
|
2074
|
+
@variables['client_supplied_steam_id'][:value] = value
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
# Gets the ip_public variable.
|
2078
|
+
#
|
2079
|
+
# @note defaults to
|
2080
|
+
# @return [uint] the value of ip_public
|
2081
|
+
def ip_public
|
2082
|
+
@variables['ip_public'][:value]
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# Sets the ip_public variable.
|
2086
|
+
#
|
2087
|
+
# @param value [uint] the new value
|
2088
|
+
def ip_public=(value)
|
2089
|
+
@variables['ip_public'][:value] = value
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
# Gets the server_real_time variable.
|
2093
|
+
#
|
2094
|
+
# @note defaults to
|
2095
|
+
# @return [uint] the value of server_real_time
|
2096
|
+
def server_real_time
|
2097
|
+
@variables['server_real_time'][:value]
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
# Sets the server_real_time variable.
|
2101
|
+
#
|
2102
|
+
# @param value [uint] the new value
|
2103
|
+
def server_real_time=(value)
|
2104
|
+
@variables['server_real_time'][:value] = value
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
# Class for the MsgClientSendGuestPass in the Steam Language.
|
2110
|
+
class MsgClientSendGuestPass
|
2111
|
+
# Allows serialization and deserialization of the class
|
2112
|
+
include SteamSerializable
|
2113
|
+
|
2114
|
+
# Instantiate a MsgClientSendGuestPass object
|
2115
|
+
def initialize
|
2116
|
+
super([{:name=>"gift_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"gift_type", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"account_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2117
|
+
end
|
2118
|
+
|
2119
|
+
# Gets the gift_id variable.
|
2120
|
+
#
|
2121
|
+
# @note defaults to
|
2122
|
+
# @return [ulong] the value of gift_id
|
2123
|
+
def gift_id
|
2124
|
+
@variables['gift_id'][:value]
|
2125
|
+
end
|
2126
|
+
|
2127
|
+
# Sets the gift_id variable.
|
2128
|
+
#
|
2129
|
+
# @param value [ulong] the new value
|
2130
|
+
def gift_id=(value)
|
2131
|
+
@variables['gift_id'][:value] = value
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Gets the gift_type variable.
|
2135
|
+
#
|
2136
|
+
# @note defaults to
|
2137
|
+
# @return [byte] the value of gift_type
|
2138
|
+
def gift_type
|
2139
|
+
@variables['gift_type'][:value]
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
# Sets the gift_type variable.
|
2143
|
+
#
|
2144
|
+
# @param value [byte] the new value
|
2145
|
+
def gift_type=(value)
|
2146
|
+
@variables['gift_type'][:value] = value
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
# Gets the account_id variable.
|
2150
|
+
#
|
2151
|
+
# @note defaults to
|
2152
|
+
# @return [uint] the value of account_id
|
2153
|
+
def account_id
|
2154
|
+
@variables['account_id'][:value]
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# Sets the account_id variable.
|
2158
|
+
#
|
2159
|
+
# @param value [uint] the new value
|
2160
|
+
def account_id=(value)
|
2161
|
+
@variables['account_id'][:value] = value
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
# Class for the MsgClientSendGuestPassResponse in the Steam Language.
|
2167
|
+
class MsgClientSendGuestPassResponse
|
2168
|
+
# Allows serialization and deserialization of the class
|
2169
|
+
include SteamSerializable
|
2170
|
+
|
2171
|
+
# Instantiate a MsgClientSendGuestPassResponse object
|
2172
|
+
def initialize
|
2173
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
# Gets the result variable.
|
2177
|
+
#
|
2178
|
+
# @note defaults to
|
2179
|
+
# @return [EResult] the value of result
|
2180
|
+
def result
|
2181
|
+
@variables['result'][:value]
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
# Sets the result variable.
|
2185
|
+
#
|
2186
|
+
# @param value [EResult] the new value
|
2187
|
+
def result=(value)
|
2188
|
+
@variables['result'][:value] = value
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# Class for the MsgClientServerUnavailable in the Steam Language.
|
2194
|
+
class MsgClientServerUnavailable
|
2195
|
+
# Allows serialization and deserialization of the class
|
2196
|
+
include SteamSerializable
|
2197
|
+
|
2198
|
+
# Instantiate a MsgClientServerUnavailable object
|
2199
|
+
def initialize
|
2200
|
+
super([{:name=>"jobid_sent", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"e_msg_sent", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"e_server_type_unavailable", :type=>"EServerType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# Gets the jobid_sent variable.
|
2204
|
+
#
|
2205
|
+
# @note defaults to
|
2206
|
+
# @return [ulong] the value of jobid_sent
|
2207
|
+
def jobid_sent
|
2208
|
+
@variables['jobid_sent'][:value]
|
2209
|
+
end
|
2210
|
+
|
2211
|
+
# Sets the jobid_sent variable.
|
2212
|
+
#
|
2213
|
+
# @param value [ulong] the new value
|
2214
|
+
def jobid_sent=(value)
|
2215
|
+
@variables['jobid_sent'][:value] = value
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
# Gets the e_msg_sent variable.
|
2219
|
+
#
|
2220
|
+
# @note defaults to
|
2221
|
+
# @return [uint] the value of e_msg_sent
|
2222
|
+
def e_msg_sent
|
2223
|
+
@variables['e_msg_sent'][:value]
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# Sets the e_msg_sent variable.
|
2227
|
+
#
|
2228
|
+
# @param value [uint] the new value
|
2229
|
+
def e_msg_sent=(value)
|
2230
|
+
@variables['e_msg_sent'][:value] = value
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
# Gets the e_server_type_unavailable variable.
|
2234
|
+
#
|
2235
|
+
# @note defaults to
|
2236
|
+
# @return [EServerType] the value of e_server_type_unavailable
|
2237
|
+
def e_server_type_unavailable
|
2238
|
+
@variables['e_server_type_unavailable'][:value]
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
# Sets the e_server_type_unavailable variable.
|
2242
|
+
#
|
2243
|
+
# @param value [EServerType] the new value
|
2244
|
+
def e_server_type_unavailable=(value)
|
2245
|
+
@variables['e_server_type_unavailable'][:value] = value
|
2246
|
+
end
|
2247
|
+
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
# Class for the MsgClientCreateChat in the Steam Language.
|
2251
|
+
class MsgClientCreateChat
|
2252
|
+
# Allows serialization and deserialization of the class
|
2253
|
+
include SteamSerializable
|
2254
|
+
|
2255
|
+
# Instantiate a MsgClientCreateChat object
|
2256
|
+
def initialize
|
2257
|
+
super([{:name=>"chat_room_type", :type=>"EChatRoomType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_clan", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"permission_officer", :type=>"EChatPermission", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"permission_member", :type=>"EChatPermission", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"permission_all", :type=>"EChatPermission", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"members_max", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_flags", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_invited", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# Gets the chat_room_type variable.
|
2261
|
+
#
|
2262
|
+
# @note defaults to
|
2263
|
+
# @return [EChatRoomType] the value of chat_room_type
|
2264
|
+
def chat_room_type
|
2265
|
+
@variables['chat_room_type'][:value]
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# Sets the chat_room_type variable.
|
2269
|
+
#
|
2270
|
+
# @param value [EChatRoomType] the new value
|
2271
|
+
def chat_room_type=(value)
|
2272
|
+
@variables['chat_room_type'][:value] = value
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
# Gets the game_id variable.
|
2276
|
+
#
|
2277
|
+
# @note defaults to
|
2278
|
+
# @return [ulong] the value of game_id
|
2279
|
+
def game_id
|
2280
|
+
@variables['game_id'][:value]
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
# Sets the game_id variable.
|
2284
|
+
#
|
2285
|
+
# @param value [ulong] the new value
|
2286
|
+
def game_id=(value)
|
2287
|
+
@variables['game_id'][:value] = value
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
# Gets the steam_id_clan variable.
|
2291
|
+
#
|
2292
|
+
# @note defaults to
|
2293
|
+
# @return [ulong] the value of steam_id_clan
|
2294
|
+
def steam_id_clan
|
2295
|
+
@variables['steam_id_clan'][:value]
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# Sets the steam_id_clan variable.
|
2299
|
+
#
|
2300
|
+
# @param value [ulong] the new value
|
2301
|
+
def steam_id_clan=(value)
|
2302
|
+
@variables['steam_id_clan'][:value] = value
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
# Gets the permission_officer variable.
|
2306
|
+
#
|
2307
|
+
# @note defaults to
|
2308
|
+
# @return [EChatPermission] the value of permission_officer
|
2309
|
+
def permission_officer
|
2310
|
+
@variables['permission_officer'][:value]
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
# Sets the permission_officer variable.
|
2314
|
+
#
|
2315
|
+
# @param value [EChatPermission] the new value
|
2316
|
+
def permission_officer=(value)
|
2317
|
+
@variables['permission_officer'][:value] = value
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# Gets the permission_member variable.
|
2321
|
+
#
|
2322
|
+
# @note defaults to
|
2323
|
+
# @return [EChatPermission] the value of permission_member
|
2324
|
+
def permission_member
|
2325
|
+
@variables['permission_member'][:value]
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# Sets the permission_member variable.
|
2329
|
+
#
|
2330
|
+
# @param value [EChatPermission] the new value
|
2331
|
+
def permission_member=(value)
|
2332
|
+
@variables['permission_member'][:value] = value
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
# Gets the permission_all variable.
|
2336
|
+
#
|
2337
|
+
# @note defaults to
|
2338
|
+
# @return [EChatPermission] the value of permission_all
|
2339
|
+
def permission_all
|
2340
|
+
@variables['permission_all'][:value]
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# Sets the permission_all variable.
|
2344
|
+
#
|
2345
|
+
# @param value [EChatPermission] the new value
|
2346
|
+
def permission_all=(value)
|
2347
|
+
@variables['permission_all'][:value] = value
|
2348
|
+
end
|
2349
|
+
|
2350
|
+
# Gets the members_max variable.
|
2351
|
+
#
|
2352
|
+
# @note defaults to
|
2353
|
+
# @return [uint] the value of members_max
|
2354
|
+
def members_max
|
2355
|
+
@variables['members_max'][:value]
|
2356
|
+
end
|
2357
|
+
|
2358
|
+
# Sets the members_max variable.
|
2359
|
+
#
|
2360
|
+
# @param value [uint] the new value
|
2361
|
+
def members_max=(value)
|
2362
|
+
@variables['members_max'][:value] = value
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
# Gets the chat_flags variable.
|
2366
|
+
#
|
2367
|
+
# @note defaults to
|
2368
|
+
# @return [byte] the value of chat_flags
|
2369
|
+
def chat_flags
|
2370
|
+
@variables['chat_flags'][:value]
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
# Sets the chat_flags variable.
|
2374
|
+
#
|
2375
|
+
# @param value [byte] the new value
|
2376
|
+
def chat_flags=(value)
|
2377
|
+
@variables['chat_flags'][:value] = value
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
# Gets the steam_id_friend_chat variable.
|
2381
|
+
#
|
2382
|
+
# @note defaults to
|
2383
|
+
# @return [ulong] the value of steam_id_friend_chat
|
2384
|
+
def steam_id_friend_chat
|
2385
|
+
@variables['steam_id_friend_chat'][:value]
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
# Sets the steam_id_friend_chat variable.
|
2389
|
+
#
|
2390
|
+
# @param value [ulong] the new value
|
2391
|
+
def steam_id_friend_chat=(value)
|
2392
|
+
@variables['steam_id_friend_chat'][:value] = value
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
# Gets the steam_id_invited variable.
|
2396
|
+
#
|
2397
|
+
# @note defaults to
|
2398
|
+
# @return [ulong] the value of steam_id_invited
|
2399
|
+
def steam_id_invited
|
2400
|
+
@variables['steam_id_invited'][:value]
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# Sets the steam_id_invited variable.
|
2404
|
+
#
|
2405
|
+
# @param value [ulong] the new value
|
2406
|
+
def steam_id_invited=(value)
|
2407
|
+
@variables['steam_id_invited'][:value] = value
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
# Class for the MsgClientCreateChatResponse in the Steam Language.
|
2413
|
+
class MsgClientCreateChatResponse
|
2414
|
+
# Allows serialization and deserialization of the class
|
2415
|
+
include SteamSerializable
|
2416
|
+
|
2417
|
+
# Instantiate a MsgClientCreateChatResponse object
|
2418
|
+
def initialize
|
2419
|
+
super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_room_type", :type=>"EChatRoomType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
# Gets the result variable.
|
2423
|
+
#
|
2424
|
+
# @note defaults to
|
2425
|
+
# @return [EResult] the value of result
|
2426
|
+
def result
|
2427
|
+
@variables['result'][:value]
|
2428
|
+
end
|
2429
|
+
|
2430
|
+
# Sets the result variable.
|
2431
|
+
#
|
2432
|
+
# @param value [EResult] the new value
|
2433
|
+
def result=(value)
|
2434
|
+
@variables['result'][:value] = value
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
# Gets the steam_id_chat variable.
|
2438
|
+
#
|
2439
|
+
# @note defaults to
|
2440
|
+
# @return [ulong] the value of steam_id_chat
|
2441
|
+
def steam_id_chat
|
2442
|
+
@variables['steam_id_chat'][:value]
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
# Sets the steam_id_chat variable.
|
2446
|
+
#
|
2447
|
+
# @param value [ulong] the new value
|
2448
|
+
def steam_id_chat=(value)
|
2449
|
+
@variables['steam_id_chat'][:value] = value
|
2450
|
+
end
|
2451
|
+
|
2452
|
+
# Gets the chat_room_type variable.
|
2453
|
+
#
|
2454
|
+
# @note defaults to
|
2455
|
+
# @return [EChatRoomType] the value of chat_room_type
|
2456
|
+
def chat_room_type
|
2457
|
+
@variables['chat_room_type'][:value]
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
# Sets the chat_room_type variable.
|
2461
|
+
#
|
2462
|
+
# @param value [EChatRoomType] the new value
|
2463
|
+
def chat_room_type=(value)
|
2464
|
+
@variables['chat_room_type'][:value] = value
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Gets the steam_id_friend_chat variable.
|
2468
|
+
#
|
2469
|
+
# @note defaults to
|
2470
|
+
# @return [ulong] the value of steam_id_friend_chat
|
2471
|
+
def steam_id_friend_chat
|
2472
|
+
@variables['steam_id_friend_chat'][:value]
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
# Sets the steam_id_friend_chat variable.
|
2476
|
+
#
|
2477
|
+
# @param value [ulong] the new value
|
2478
|
+
def steam_id_friend_chat=(value)
|
2479
|
+
@variables['steam_id_friend_chat'][:value] = value
|
2480
|
+
end
|
2481
|
+
|
2482
|
+
end
|
2483
|
+
|
2484
|
+
# Class for the MsgClientMarketingMessageUpdate2 in the Steam Language.
|
2485
|
+
class MsgClientMarketingMessageUpdate2
|
2486
|
+
# Allows serialization and deserialization of the class
|
2487
|
+
include SteamSerializable
|
2488
|
+
|
2489
|
+
# Instantiate a MsgClientMarketingMessageUpdate2 object
|
2490
|
+
def initialize
|
2491
|
+
super([{:name=>"marketing_message_update_time", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
|
2492
|
+
end
|
2493
|
+
|
2494
|
+
# Gets the marketing_message_update_time variable.
|
2495
|
+
#
|
2496
|
+
# @note defaults to
|
2497
|
+
# @return [uint] the value of marketing_message_update_time
|
2498
|
+
def marketing_message_update_time
|
2499
|
+
@variables['marketing_message_update_time'][:value]
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
# Sets the marketing_message_update_time variable.
|
2503
|
+
#
|
2504
|
+
# @param value [uint] the new value
|
2505
|
+
def marketing_message_update_time=(value)
|
2506
|
+
@variables['marketing_message_update_time'][:value] = value
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
# Gets the count variable.
|
2510
|
+
#
|
2511
|
+
# @note defaults to
|
2512
|
+
# @return [uint] the value of count
|
2513
|
+
def count
|
2514
|
+
@variables['count'][:value]
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
# Sets the count variable.
|
2518
|
+
#
|
2519
|
+
# @param value [uint] the new value
|
2520
|
+
def count=(value)
|
2521
|
+
@variables['count'][:value] = value
|
2522
|
+
end
|
2523
|
+
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
require_relative 'header'
|
2527
|
+
require_relative 'gamecoordinator'
|