steam-proto 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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6e364a0d2c68e3f998791871fc30fb46aa9cef5c
4
+ data.tar.gz: bff7d184f75bc263856bd656a28790450689df6d
5
+ SHA512:
6
+ metadata.gz: cfd6b229180816c46e83eb78f6f191bd2fd6577d496272d0e7dbe853f3659cad104f53ed87706d6ba5da9c3c7b6eae75e6ab2b9335bf28fc5f38bd02efae90ad
7
+ data.tar.gz: e0b455920f7d83b7dfbf1570ecf223a64562f72a8c590814c77683d0c1969be9ad8e1443f7424504f19eb33ef7c64e35803ec6f735874f0bb348fcb7cf08b029
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.3
3
+ Exclude:
4
+ - lib/steam/proto/**/*.rb
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.2
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+ source 'https://rubygems.org'
3
+
4
+ gem 'beefcake', github: 'taylorfinnell/beefcake',
5
+ branch: 'capitalize-class-names'
6
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ Requires protoc 2.6.0 and protoc-gen-ruby.
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+ require 'beefcake'
3
+
4
+ require 'rspec/core/rake_task'
5
+
6
+ load './lib/tasks/proto.rake'
7
+ load './lib/tasks/spec.rake'
8
+
9
+ RSpec::Core::RakeTask.new(:spec)
10
+
11
+ task default: :spec
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'steam/proto'
5
+ require 'irb'
6
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ require 'steam/proto/version'
3
+
4
+ module Steam
5
+ # Access to the various Steam Protobuf definitions
6
+ module Proto
7
+ def self.load_protobufs(*args)
8
+ args = args.dup.map(&:to_sym)
9
+
10
+ args.each do |arg|
11
+ raise "Failed to load protobufs for #{arg}" unless allowed?(arg)
12
+ require "steam/proto/#{arg}"
13
+ end
14
+ end
15
+
16
+ def self.allowed?(arg)
17
+ allowed_requires.include?(arg)
18
+ end
19
+
20
+ def self.allowed_requires
21
+ [:csgo, :steamclient, :gc]
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,4 @@
1
+ require 'steam/proto/csgo/engine_gcmessages.pb'
2
+ require 'steam/proto/csgo/gcsdk_gcmessages.pb'
3
+ require 'steam/proto/csgo/gcsystemmsgs.pb'
4
+ require 'steam/proto/csgo/cstrike15_gcmessages.pb'
@@ -0,0 +1,1458 @@
1
+ ## Generated from cstrike15_gcmessages.proto
2
+ require "beefcake"
3
+
4
+ module Csgo
5
+
6
+ module ECsgoGCMsg
7
+ K_EMsgGCCStrike15_v2_Base = 9100
8
+ K_EMsgGCCStrike15_v2_MatchmakingStart = 9101
9
+ K_EMsgGCCStrike15_v2_MatchmakingStop = 9102
10
+ K_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing = 9103
11
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate = 9104
12
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ServerReserve = 9105
13
+ K_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse = 9106
14
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve = 9107
15
+ K_EMsgGCCStrike15_v2_MatchmakingServerRoundStats = 9108
16
+ K_EMsgGCCStrike15_v2_MatchmakingClient2GCHello = 9109
17
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello = 9110
18
+ K_EMsgGCCStrike15_v2_MatchmakingServerMatchEnd = 9111
19
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon = 9112
20
+ K_EMsgGCCStrike15_v2_MatchmakingServer2GCKick = 9113
21
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm = 9114
22
+ K_EMsgGCCStrike15_v2_MatchmakingGCOperationalStats = 9115
23
+ K_EMsgGCCStrike15_v2_MatchmakingGC2ServerRankUpdate = 9116
24
+ K_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate = 9117
25
+ K_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty = 9118
26
+ K_EMsgGCCStrike15_v2_ClientReportPlayer = 9119
27
+ K_EMsgGCCStrike15_v2_ClientReportServer = 9120
28
+ K_EMsgGCCStrike15_v2_ClientCommendPlayer = 9121
29
+ K_EMsgGCCStrike15_v2_ClientReportResponse = 9122
30
+ K_EMsgGCCStrike15_v2_ClientCommendPlayerQuery = 9123
31
+ K_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse = 9124
32
+ K_EMsgGCCStrike15_v2_WatchInfoUsers = 9126
33
+ K_EMsgGCCStrike15_v2_ClientRequestPlayersProfile = 9127
34
+ K_EMsgGCCStrike15_v2_PlayersProfile = 9128
35
+ K_EMsgGCCStrike15_v2_SetMyMedalsInfo = 9129
36
+ K_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate = 9131
37
+ K_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment = 9132
38
+ K_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus = 9133
39
+ K_EMsgGCCStrike15_v2_GC2ClientTextMsg = 9134
40
+ K_EMsgGCCStrike15_v2_Client2GCTextMsg = 9135
41
+ K_EMsgGCCStrike15_v2_MatchEndRunRewardDrops = 9136
42
+ K_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification = 9137
43
+ K_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2 = 9138
44
+ K_EMsgGCCStrike15_v2_MatchList = 9139
45
+ K_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames = 9140
46
+ K_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames = 9141
47
+ K_EMsgGCCStrike15_v2_GC2ServerReservationUpdate = 9142
48
+ K_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo = 9144
49
+ K_EMsgGCCStrike15_v2_TournamentMatchRewardDropsNotification = 9145
50
+ K_EMsgGCCStrike15_v2_MatchListRequestTournamentGames = 9146
51
+ K_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo = 9147
52
+ K_EMsgGCCStrike15_v2_GiftsLeaderboardRequest = 9148
53
+ K_EMsgGCCStrike15_v2_GiftsLeaderboardResponse = 9149
54
+ K_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo = 9150
55
+ K_EMsgGCToGCReloadVersions = 9151
56
+ K_EMsgGCCStrike15_v2_ClientSubmitSurveyVote = 9152
57
+ K_EMsgGCCStrike15_v2_Server2GCClientValidate = 9153
58
+ K_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser = 9154
59
+ K_EMsgGCCStrike15_v2_Server2GCPureServerValidationFailure = 9155
60
+ K_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest = 9156
61
+ K_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse = 9157
62
+ K_EMsgGCCStrike15_v2_AccountPrivacySettings = 9158
63
+ K_EMsgGCCStrike15_v2_SetMyActivityInfo = 9159
64
+ K_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions = 9160
65
+ K_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions = 9161
66
+ K_EMsgGCCStrike15_v2_DraftSummary = 9162
67
+ K_EMsgGCCStrike15_v2_ClientRequestJoinFriendData = 9163
68
+ K_EMsgGCCStrike15_v2_ClientRequestJoinServerData = 9164
69
+ K_EMsgGCCStrike15_v2_ClientRequestNewMission = 9165
70
+ K_EMsgGCCStrike15_v2_GC2ServerNotifyXPRewarded = 9166
71
+ K_EMsgGCCStrike15_v2_GC2ClientTournamentInfo = 9167
72
+ K_EMsgGC_GlobalGame_Subscribe = 9168
73
+ K_EMsgGC_GlobalGame_Unsubscribe = 9169
74
+ K_EMsgGC_GlobalGame_Play = 9170
75
+ K_EMsgGCCStrike15_v2_AcknowledgePenalty = 9171
76
+ K_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin = 9172
77
+ K_EMsgGCCStrike15_v2_GC2ClientGlobalStats = 9173
78
+ K_EMsgGCCStrike15_v2_Client2GCStreamUnlock = 9174
79
+ K_EMsgGCCStrike15_v2_FantasyRequestClientData = 9175
80
+ K_EMsgGCCStrike15_v2_FantasyUpdateClientData = 9176
81
+ K_EMsgGCCStrike15_v2_ClientToGCRequestElevate = 9179
82
+ K_EMsgGCCStrike15_v2_GlobalChat = 9180
83
+ K_EMsgGCCStrike15_v2_GlobalChat_Subscribe = 9181
84
+ K_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe = 9182
85
+ K_EMsgGCCStrike15_v2_ClientAuthKeyCode = 9183
86
+ K_EMsgGCCStrike15_v2_GotvSyncPacket = 9184
87
+ end
88
+
89
+ class GameServerPing
90
+ include Beefcake::Message
91
+ end
92
+
93
+ class DetailedSearchStatistic
94
+ include Beefcake::Message
95
+ end
96
+
97
+ class TournamentPlayer
98
+ include Beefcake::Message
99
+ end
100
+
101
+ class TournamentTeam
102
+ include Beefcake::Message
103
+ end
104
+
105
+ class TournamentEvent
106
+ include Beefcake::Message
107
+ end
108
+
109
+ class GlobalStatistics
110
+ include Beefcake::Message
111
+ end
112
+
113
+ class OperationalStatisticDescription
114
+ include Beefcake::Message
115
+ end
116
+
117
+ class OperationalStatisticElement
118
+ include Beefcake::Message
119
+ end
120
+
121
+ class OperationalStatisticsPacket
122
+ include Beefcake::Message
123
+ end
124
+
125
+ class PlayerRankingInfo
126
+ include Beefcake::Message
127
+ end
128
+
129
+ class PlayerCommendationInfo
130
+ include Beefcake::Message
131
+ end
132
+
133
+ class PlayerMedalsInfo
134
+ include Beefcake::Message
135
+ end
136
+
137
+ class AccountActivity
138
+ include Beefcake::Message
139
+ end
140
+
141
+ class TournamentMatchSetup
142
+ include Beefcake::Message
143
+ end
144
+
145
+ class ServerHltvInfo
146
+ include Beefcake::Message
147
+ end
148
+
149
+ class IpAddressMask
150
+ include Beefcake::Message
151
+ end
152
+
153
+ class XpProgressData
154
+ include Beefcake::Message
155
+ end
156
+
157
+ class MatchEndItemUpdates
158
+ include Beefcake::Message
159
+ end
160
+
161
+ class ScoreLeaderboardData
162
+ include Beefcake::Message
163
+
164
+ class Entry
165
+ include Beefcake::Message
166
+ end
167
+
168
+ class AccountEntries
169
+ include Beefcake::Message
170
+ end
171
+ end
172
+
173
+ class PlayerQuestData
174
+ include Beefcake::Message
175
+
176
+ class QuestItemData
177
+ include Beefcake::Message
178
+ end
179
+ end
180
+
181
+ class CMsgGC_ServerQuestUpdateData
182
+ include Beefcake::Message
183
+ end
184
+
185
+ class CMsgGCCStrike15_v2_MatchmakingGCOperationalStats
186
+ include Beefcake::Message
187
+ end
188
+
189
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm
190
+ include Beefcake::Message
191
+ end
192
+
193
+ class CMsgGCCStrike15_v2_GC2ServerReservationUpdate
194
+ include Beefcake::Message
195
+ end
196
+
197
+ class CMsgGCCStrike15_v2_MatchmakingStart
198
+ include Beefcake::Message
199
+ end
200
+
201
+ class CMsgGCCStrike15_v2_MatchmakingStop
202
+ include Beefcake::Message
203
+ end
204
+
205
+ class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing
206
+ include Beefcake::Message
207
+ end
208
+
209
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate
210
+ include Beefcake::Message
211
+
212
+ class Note
213
+ include Beefcake::Message
214
+ end
215
+ end
216
+
217
+ class CDataGCCStrike15_v2_TournamentMatchDraft
218
+ include Beefcake::Message
219
+
220
+ class Entry
221
+ include Beefcake::Message
222
+ end
223
+ end
224
+
225
+ class CPreMatchInfoData
226
+ include Beefcake::Message
227
+
228
+ class TeamStats
229
+ include Beefcake::Message
230
+ end
231
+ end
232
+
233
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve
234
+ include Beefcake::Message
235
+ end
236
+
237
+ class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse
238
+ include Beefcake::Message
239
+ end
240
+
241
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve
242
+ include Beefcake::Message
243
+ end
244
+
245
+ class CMsgGCCStrike15_v2_MatchmakingServerRoundStats
246
+ include Beefcake::Message
247
+
248
+ class DropInfo
249
+ include Beefcake::Message
250
+ end
251
+ end
252
+
253
+ class CMsgGCCStrike15_v2_MatchmakingServerMatchEnd
254
+ include Beefcake::Message
255
+ end
256
+
257
+ class CMsgGCCStrike15_v2_MatchmakingClient2GCHello
258
+ include Beefcake::Message
259
+ end
260
+
261
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello
262
+ include Beefcake::Message
263
+ end
264
+
265
+ class CMsgGCCStrike15_v2_AccountPrivacySettings
266
+ include Beefcake::Message
267
+
268
+ class Setting
269
+ include Beefcake::Message
270
+ end
271
+ end
272
+
273
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon
274
+ include Beefcake::Message
275
+ end
276
+
277
+ class CMsgGCCStrike15_v2_MatchmakingServer2GCKick
278
+ include Beefcake::Message
279
+ end
280
+
281
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerRankUpdate
282
+ include Beefcake::Message
283
+ end
284
+
285
+ class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate
286
+ include Beefcake::Message
287
+ end
288
+
289
+ class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty
290
+ include Beefcake::Message
291
+ end
292
+
293
+ class CMsgGCCStrike15_v2_ClientReportPlayer
294
+ include Beefcake::Message
295
+ end
296
+
297
+ class CMsgGCCStrike15_v2_ClientCommendPlayer
298
+ include Beefcake::Message
299
+ end
300
+
301
+ class CMsgGCCStrike15_v2_ClientReportServer
302
+ include Beefcake::Message
303
+ end
304
+
305
+ class CMsgGCCStrike15_v2_ClientReportResponse
306
+ include Beefcake::Message
307
+ end
308
+
309
+ class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends
310
+ include Beefcake::Message
311
+ end
312
+
313
+ class WatchableMatchInfo
314
+ include Beefcake::Message
315
+ end
316
+
317
+ class CMsgGCCStrike15_v2_ClientRequestJoinFriendData
318
+ include Beefcake::Message
319
+ end
320
+
321
+ class CMsgGCCStrike15_v2_ClientRequestJoinServerData
322
+ include Beefcake::Message
323
+ end
324
+
325
+ class CMsgGCCstrike15_v2_ClientRequestNewMission
326
+ include Beefcake::Message
327
+ end
328
+
329
+ class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded
330
+ include Beefcake::Message
331
+ end
332
+
333
+ class CMsgGCCStrike15_v2_WatchInfoUsers
334
+ include Beefcake::Message
335
+ end
336
+
337
+ class CMsgGCCStrike15_v2_ClientRequestPlayersProfile
338
+ include Beefcake::Message
339
+ end
340
+
341
+ class CMsgGCCStrike15_v2_PlayersProfile
342
+ include Beefcake::Message
343
+ end
344
+
345
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate
346
+ include Beefcake::Message
347
+ end
348
+
349
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment
350
+ include Beefcake::Message
351
+ end
352
+
353
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus
354
+ include Beefcake::Message
355
+ end
356
+
357
+ class CClientHeaderOverwatchEvidence
358
+ include Beefcake::Message
359
+ end
360
+
361
+ class CMsgGCCStrike15_v2_GC2ClientTextMsg
362
+ include Beefcake::Message
363
+ end
364
+
365
+ class CMsgGCCStrike15_v2_Client2GCTextMsg
366
+ include Beefcake::Message
367
+ end
368
+
369
+ class CMsgGCCStrike15_v2_MatchEndRunRewardDrops
370
+ include Beefcake::Message
371
+ end
372
+
373
+ class CEconItemPreviewDataBlock
374
+ include Beefcake::Message
375
+
376
+ class Sticker
377
+ include Beefcake::Message
378
+ end
379
+ end
380
+
381
+ class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification
382
+ include Beefcake::Message
383
+ end
384
+
385
+ class CMsgItemAcknowledged
386
+ include Beefcake::Message
387
+ end
388
+
389
+ class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest
390
+ include Beefcake::Message
391
+ end
392
+
393
+ class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse
394
+ include Beefcake::Message
395
+ end
396
+
397
+ class CMsgGCCStrike15_v2_TournamentMatchRewardDropsNotification
398
+ include Beefcake::Message
399
+ end
400
+
401
+ class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames
402
+ include Beefcake::Message
403
+ end
404
+
405
+ class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser
406
+ include Beefcake::Message
407
+ end
408
+
409
+ class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames
410
+ include Beefcake::Message
411
+ end
412
+
413
+ class CMsgGCCStrike15_v2_MatchListRequestTournamentGames
414
+ include Beefcake::Message
415
+ end
416
+
417
+ class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo
418
+ include Beefcake::Message
419
+ end
420
+
421
+ class CDataGCCStrike15_v2_MatchInfo
422
+ include Beefcake::Message
423
+ end
424
+
425
+ class CDataGCCStrike15_v2_TournamentGroupTeam
426
+ include Beefcake::Message
427
+ end
428
+
429
+ class CDataGCCStrike15_v2_TournamentGroup
430
+ include Beefcake::Message
431
+
432
+ class Picks
433
+ include Beefcake::Message
434
+ end
435
+ end
436
+
437
+ class CDataGCCStrike15_v2_TournamentSection
438
+ include Beefcake::Message
439
+ end
440
+
441
+ class CDataGCCStrike15_v2_TournamentInfo
442
+ include Beefcake::Message
443
+ end
444
+
445
+ class CMsgGCCStrike15_v2_MatchList
446
+ include Beefcake::Message
447
+ end
448
+
449
+ class CMsgGCCStrike15_v2_Predictions
450
+ include Beefcake::Message
451
+
452
+ class GroupMatchTeamPick
453
+ include Beefcake::Message
454
+ end
455
+ end
456
+
457
+ class CMsgGCCStrike15_v2_Fantasy
458
+ include Beefcake::Message
459
+
460
+ class FantasySlot
461
+ include Beefcake::Message
462
+ end
463
+
464
+ class FantasyTeam
465
+ include Beefcake::Message
466
+ end
467
+ end
468
+
469
+ class CAttribute_String
470
+ include Beefcake::Message
471
+ end
472
+
473
+ class CMsgGCToGCReloadVersions
474
+ include Beefcake::Message
475
+ end
476
+
477
+ class CMsgCStrike15Welcome
478
+ include Beefcake::Message
479
+ end
480
+
481
+ class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo
482
+ include Beefcake::Message
483
+ end
484
+
485
+ class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo
486
+ include Beefcake::Message
487
+ end
488
+
489
+ class CMsgGCCStrike15_v2_GiftsLeaderboardRequest
490
+ include Beefcake::Message
491
+ end
492
+
493
+ class CMsgGCCStrike15_v2_GiftsLeaderboardResponse
494
+ include Beefcake::Message
495
+
496
+ class GiftLeaderboardEntry
497
+ include Beefcake::Message
498
+ end
499
+ end
500
+
501
+ class CMsgGCCStrike15_v2_ClientSubmitSurveyVote
502
+ include Beefcake::Message
503
+ end
504
+
505
+ class CMsgGCCStrike15_v2_Server2GCClientValidate
506
+ include Beefcake::Message
507
+ end
508
+
509
+ class CMsgGCCStrike15_v2_Server2GCPureServerValidationFailure
510
+ include Beefcake::Message
511
+ end
512
+
513
+ class CMsgGCCStrike15_v2_GC2ClientTournamentInfo
514
+ include Beefcake::Message
515
+ end
516
+
517
+ class CSOEconCoupon
518
+ include Beefcake::Message
519
+ end
520
+
521
+ class CSOQuestProgress
522
+ include Beefcake::Message
523
+ end
524
+
525
+ class CSOPersonaDataPublic
526
+ include Beefcake::Message
527
+ end
528
+
529
+ class CMsgGC_GlobalGame_Subscribe
530
+ include Beefcake::Message
531
+ end
532
+
533
+ class CMsgGC_GlobalGame_Unsubscribe
534
+ include Beefcake::Message
535
+ end
536
+
537
+ class CMsgGC_GlobalGame_Play
538
+ include Beefcake::Message
539
+ end
540
+
541
+ class CMsgGCCStrike15_v2_AcknowledgePenalty
542
+ include Beefcake::Message
543
+ end
544
+
545
+ class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin
546
+ include Beefcake::Message
547
+ end
548
+
549
+ class CMsgGCCStrike15_v2_Client2GCStreamUnlock
550
+ include Beefcake::Message
551
+ end
552
+
553
+ class CMsgGCCStrike15_v2_ClientToGCRequestElevate
554
+ include Beefcake::Message
555
+ end
556
+
557
+ class CMsgGCCStrike15_v2_ClientToGCChat
558
+ include Beefcake::Message
559
+ end
560
+
561
+ class CMsgGCCStrike15_v2_GCToClientChat
562
+ include Beefcake::Message
563
+ end
564
+
565
+ class CMsgGCCStrike15_v2_ClientAuthKeyCode
566
+ include Beefcake::Message
567
+ end
568
+
569
+ class CMsgGCCStrike15_GotvSyncPacket
570
+ include Beefcake::Message
571
+ end
572
+
573
+ class GameServerPing
574
+ optional :gameserver_id, :uint64, 1
575
+ optional :ping, :int32, 2
576
+ optional :ip, :uint32, 3
577
+ optional :port, :uint32, 4
578
+ optional :instances, :uint32, 5
579
+ end
580
+
581
+ class DetailedSearchStatistic
582
+ optional :game_type, :uint32, 1
583
+ optional :search_time_avg, :uint32, 2
584
+ optional :players_searching, :uint32, 4
585
+ end
586
+
587
+ class TournamentPlayer
588
+ optional :account_id, :uint32, 1
589
+ optional :player_nick, :string, 2
590
+ optional :player_name, :string, 3
591
+ optional :player_dob, :uint32, 4
592
+ optional :player_flag, :string, 5
593
+ optional :player_location, :string, 6
594
+ optional :player_desc, :string, 7
595
+ end
596
+
597
+ class TournamentTeam
598
+ optional :team_id, :int32, 1
599
+ optional :team_tag, :string, 2
600
+ optional :team_flag, :string, 3
601
+ optional :team_name, :string, 4
602
+ repeated :players, TournamentPlayer, 5
603
+ end
604
+
605
+ class TournamentEvent
606
+ optional :event_id, :int32, 1
607
+ optional :event_tag, :string, 2
608
+ optional :event_name, :string, 3
609
+ optional :event_time_start, :uint32, 4
610
+ optional :event_time_end, :uint32, 5
611
+ optional :event_public, :int32, 6
612
+ optional :event_stage_id, :int32, 7
613
+ optional :event_stage_name, :string, 8
614
+ optional :active_section_id, :uint32, 9
615
+ end
616
+
617
+ class GlobalStatistics
618
+ optional :players_online, :uint32, 1
619
+ optional :servers_online, :uint32, 2
620
+ optional :players_searching, :uint32, 3
621
+ optional :servers_available, :uint32, 4
622
+ optional :ongoing_matches, :uint32, 5
623
+ optional :search_time_avg, :uint32, 6
624
+ repeated :search_statistics, DetailedSearchStatistic, 7
625
+ optional :main_post_url, :string, 8
626
+ optional :required_appid_version, :uint32, 9
627
+ optional :pricesheet_version, :uint32, 10
628
+ optional :twitch_streams_version, :uint32, 11
629
+ optional :active_tournament_eventid, :uint32, 12
630
+ optional :active_survey_id, :uint32, 13
631
+ end
632
+
633
+ class OperationalStatisticDescription
634
+ optional :name, :string, 1
635
+ optional :idkey, :uint32, 2
636
+ end
637
+
638
+ class OperationalStatisticElement
639
+ optional :idkey, :uint32, 1
640
+ repeated :values, :int32, 2
641
+ end
642
+
643
+ class OperationalStatisticsPacket
644
+ optional :packetid, :int32, 1
645
+ optional :mstimestamp, :int32, 2
646
+ repeated :values, OperationalStatisticElement, 3
647
+ end
648
+
649
+ class PlayerRankingInfo
650
+ optional :account_id, :uint32, 1
651
+ optional :rank_id, :uint32, 2
652
+ optional :wins, :uint32, 3
653
+ optional :rank_change, :float, 4
654
+ end
655
+
656
+ class PlayerCommendationInfo
657
+ optional :cmd_friendly, :uint32, 1
658
+ optional :cmd_teaching, :uint32, 2
659
+ optional :cmd_leader, :uint32, 4
660
+ end
661
+
662
+ class PlayerMedalsInfo
663
+ optional :medal_team, :uint32, 1
664
+ optional :medal_combat, :uint32, 2
665
+ optional :medal_weapon, :uint32, 3
666
+ optional :medal_global, :uint32, 4
667
+ optional :medal_arms, :uint32, 5
668
+ repeated :display_items_defidx, :uint32, 7
669
+ optional :featured_display_item_defidx, :uint32, 8
670
+ end
671
+
672
+ class AccountActivity
673
+ optional :activity, :uint32, 1
674
+ optional :mode, :uint32, 2
675
+ optional :map, :uint32, 3
676
+ end
677
+
678
+ class TournamentMatchSetup
679
+ optional :event_id, :int32, 1
680
+ optional :team_id_ct, :int32, 2
681
+ optional :team_id_t, :int32, 3
682
+ optional :event_stage_id, :int32, 4
683
+ end
684
+
685
+ class ServerHltvInfo
686
+ optional :tv_udp_port, :uint32, 1
687
+ optional :tv_watch_key, :uint64, 2
688
+ optional :tv_slots, :uint32, 3
689
+ optional :tv_clients, :uint32, 4
690
+ optional :tv_proxies, :uint32, 5
691
+ optional :tv_time, :uint32, 6
692
+ optional :game_type, :uint32, 8
693
+ optional :game_mapgroup, :string, 9
694
+ optional :game_map, :string, 10
695
+ optional :tv_master_steamid, :uint64, 11
696
+ optional :tv_local_slots, :uint32, 12
697
+ optional :tv_local_clients, :uint32, 13
698
+ optional :tv_local_proxies, :uint32, 14
699
+ optional :tv_relay_slots, :uint32, 15
700
+ optional :tv_relay_clients, :uint32, 16
701
+ optional :tv_relay_proxies, :uint32, 17
702
+ optional :tv_relay_address, :uint32, 18
703
+ optional :tv_relay_port, :uint32, 19
704
+ optional :tv_relay_steamid, :uint64, 20
705
+ end
706
+
707
+ class IpAddressMask
708
+ optional :a, :uint32, 1
709
+ optional :b, :uint32, 2
710
+ optional :c, :uint32, 3
711
+ optional :d, :uint32, 4
712
+ optional :bits, :uint32, 5
713
+ optional :token, :uint32, 6
714
+ end
715
+
716
+ class XpProgressData
717
+ optional :xp_points, :uint32, 1
718
+ optional :xp_category, :int32, 2
719
+ end
720
+
721
+ class MatchEndItemUpdates
722
+ optional :item_id, :uint64, 1
723
+ optional :item_attr_defidx, :uint32, 2
724
+ optional :item_attr_delta_value, :uint32, 3
725
+ end
726
+
727
+ class ScoreLeaderboardData
728
+
729
+ class Entry
730
+ optional :tag, :uint32, 1
731
+ optional :val, :uint32, 2
732
+ end
733
+
734
+ class AccountEntries
735
+ optional :accountid, :uint32, 1
736
+ repeated :entries, ScoreLeaderboardData::Entry, 2
737
+ end
738
+ optional :quest_id, :uint64, 1
739
+ optional :score, :uint32, 2
740
+ repeated :accountentries, ScoreLeaderboardData::AccountEntries, 3
741
+ repeated :matchentries, ScoreLeaderboardData::Entry, 5
742
+ end
743
+
744
+ class PlayerQuestData
745
+
746
+ class QuestItemData
747
+ optional :quest_id, :uint64, 1
748
+ optional :quest_normal_points_earned, :int32, 2
749
+ optional :quest_bonus_points_earned, :int32, 3
750
+ end
751
+ optional :quester_account_id, :uint32, 1
752
+ repeated :quest_item_data, PlayerQuestData::QuestItemData, 2
753
+ repeated :xp_progress_data, XpProgressData, 3
754
+ optional :time_played, :uint32, 4
755
+ optional :mm_game_mode, :uint32, 5
756
+ repeated :item_updates, MatchEndItemUpdates, 6
757
+ end
758
+
759
+ class CMsgGC_ServerQuestUpdateData
760
+ repeated :player_quest_data, PlayerQuestData, 1
761
+ optional :binary_data, :bytes, 2
762
+ optional :mm_game_mode, :uint32, 3
763
+ optional :missionlbsdata, ScoreLeaderboardData, 4
764
+ end
765
+
766
+ class CMsgGCCStrike15_v2_MatchmakingGCOperationalStats
767
+ optional :packetid, :int32, 1
768
+ repeated :namekeys, OperationalStatisticDescription, 2
769
+ repeated :packets, OperationalStatisticsPacket, 3
770
+ end
771
+
772
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm
773
+ optional :token, :uint32, 1
774
+ optional :stamp, :uint32, 2
775
+ optional :exchange, :uint64, 3
776
+ end
777
+
778
+ class CMsgGCCStrike15_v2_GC2ServerReservationUpdate
779
+ optional :viewers_external_total, :uint32, 1
780
+ optional :viewers_external_steam, :uint32, 2
781
+ end
782
+
783
+ class CMsgGCCStrike15_v2_MatchmakingStart
784
+ repeated :account_ids, :uint32, 1
785
+ optional :game_type, :uint32, 2
786
+ optional :ticket_data, :string, 3
787
+ optional :client_version, :uint32, 4
788
+ optional :tournament_match, TournamentMatchSetup, 5
789
+ optional :prime_only, :bool, 6
790
+ end
791
+
792
+ class CMsgGCCStrike15_v2_MatchmakingStop
793
+ optional :abandon, :int32, 1
794
+ end
795
+
796
+ class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing
797
+ repeated :gameserverpings, GameServerPing, 1
798
+ optional :offset_index, :int32, 2
799
+ optional :final_batch, :int32, 3
800
+ end
801
+
802
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate
803
+
804
+ class Note
805
+ optional :type, :int32, 1
806
+ optional :region_id, :int32, 2
807
+ optional :region_r, :float, 3
808
+ optional :distance, :float, 4
809
+ end
810
+ optional :matchmaking, :int32, 1
811
+ repeated :waiting_account_id_sessions, :uint32, 2
812
+ optional :error, :string, 3
813
+ repeated :ongoingmatch_account_id_sessions, :uint32, 6
814
+ optional :global_stats, GlobalStatistics, 7
815
+ repeated :failping_account_id_sessions, :uint32, 8
816
+ repeated :penalty_account_id_sessions, :uint32, 9
817
+ repeated :failready_account_id_sessions, :uint32, 10
818
+ repeated :vacbanned_account_id_sessions, :uint32, 11
819
+ optional :server_ipaddress_mask, IpAddressMask, 12
820
+ repeated :notes, CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::Note, 13
821
+ repeated :penalty_account_id_sessions_green, :uint32, 14
822
+ repeated :insufficientlevel_sessions, :uint32, 15
823
+ end
824
+
825
+ class CDataGCCStrike15_v2_TournamentMatchDraft
826
+
827
+ class Entry
828
+ optional :mapid, :int32, 1
829
+ optional :team_id_ct, :int32, 2
830
+ end
831
+ optional :event_id, :int32, 1
832
+ optional :event_stage_id, :int32, 2
833
+ optional :team_id_0, :int32, 3
834
+ optional :team_id_1, :int32, 4
835
+ optional :maps_count, :int32, 5
836
+ optional :maps_current, :int32, 6
837
+ optional :team_id_start, :int32, 7
838
+ optional :team_id_veto1, :int32, 8
839
+ optional :team_id_pickn, :int32, 9
840
+ repeated :drafts, CDataGCCStrike15_v2_TournamentMatchDraft::Entry, 10
841
+ end
842
+
843
+ class CPreMatchInfoData
844
+
845
+ class TeamStats
846
+ optional :match_info_idxtxt, :int32, 1
847
+ optional :match_info_txt, :string, 2
848
+ repeated :match_info_teams, :string, 3
849
+ end
850
+ optional :predictions_pct, :int32, 1
851
+ optional :draft, CDataGCCStrike15_v2_TournamentMatchDraft, 4
852
+ repeated :stats, CPreMatchInfoData::TeamStats, 5
853
+ end
854
+
855
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve
856
+ repeated :account_ids, :uint32, 1
857
+ optional :game_type, :uint32, 2
858
+ optional :match_id, :uint64, 3
859
+ optional :server_version, :uint32, 4
860
+ repeated :rankings, PlayerRankingInfo, 5
861
+ optional :encryption_key, :uint64, 6
862
+ optional :encryption_key_pub, :uint64, 7
863
+ repeated :party_ids, :uint32, 8
864
+ repeated :whitelist, IpAddressMask, 9
865
+ optional :tv_master_steamid, :uint64, 10
866
+ optional :tournament_event, TournamentEvent, 11
867
+ repeated :tournament_teams, TournamentTeam, 12
868
+ repeated :tournament_casters_account_ids, :uint32, 13
869
+ optional :tv_relay_steamid, :uint64, 14
870
+ optional :pre_match_data, CPreMatchInfoData, 15
871
+ end
872
+
873
+ class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse
874
+ optional :reservationid, :uint64, 1
875
+ optional :reservation, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, 2
876
+ optional :map, :string, 3
877
+ optional :gc_reservation_sent, :uint64, 4
878
+ optional :server_version, :uint32, 5
879
+ optional :tv_info, ServerHltvInfo, 6
880
+ repeated :reward_player_accounts, :uint32, 7
881
+ repeated :idle_player_accounts, :uint32, 8
882
+ optional :reward_item_attr_def_idx, :uint32, 9
883
+ optional :reward_item_attr_value, :uint32, 10
884
+ optional :reward_item_attr_reward_idx, :uint32, 11
885
+ optional :reward_drop_list, :uint32, 12
886
+ optional :tournament_tag, :string, 13
887
+ optional :steamdatagram_port, :uint32, 14
888
+ end
889
+
890
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve
891
+ optional :serverid, :uint64, 1
892
+ optional :reservationid, :uint64, 4
893
+ optional :reservation, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, 5
894
+ optional :map, :string, 6
895
+ optional :server_address, :string, 7
896
+ end
897
+
898
+ class CMsgGCCStrike15_v2_MatchmakingServerRoundStats
899
+
900
+ class DropInfo
901
+ optional :account_mvp, :uint32, 1
902
+ end
903
+ optional :reservationid, :uint64, 1
904
+ optional :reservation, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, 2
905
+ optional :map, :string, 3
906
+ optional :round, :int32, 4
907
+ repeated :kills, :int32, 5
908
+ repeated :assists, :int32, 6
909
+ repeated :deaths, :int32, 7
910
+ repeated :scores, :int32, 8
911
+ repeated :pings, :int32, 9
912
+ optional :round_result, :int32, 10
913
+ optional :match_result, :int32, 11
914
+ repeated :team_scores, :int32, 12
915
+ optional :confirm, CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, 13
916
+ optional :reservation_stage, :int32, 14
917
+ optional :match_duration, :int32, 15
918
+ repeated :enemy_kills, :int32, 16
919
+ repeated :enemy_headshots, :int32, 17
920
+ repeated :enemy_3ks, :int32, 18
921
+ repeated :enemy_4ks, :int32, 19
922
+ repeated :enemy_5ks, :int32, 20
923
+ repeated :mvps, :int32, 21
924
+ optional :spectators_count, :uint32, 22
925
+ optional :spectators_count_tv, :uint32, 23
926
+ optional :spectators_count_lnk, :uint32, 24
927
+ repeated :enemy_kills_agg, :int32, 25
928
+ optional :drop_info, CMsgGCCStrike15_v2_MatchmakingServerRoundStats::DropInfo, 26
929
+ end
930
+
931
+ class CMsgGCCStrike15_v2_MatchmakingServerMatchEnd
932
+ optional :stats, CMsgGCCStrike15_v2_MatchmakingServerRoundStats, 1
933
+ optional :confirm, CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, 3
934
+ optional :rematch, :uint64, 4
935
+ optional :replay_token, :uint32, 5
936
+ optional :replay_cluster_id, :uint32, 6
937
+ optional :aborted_match, :bool, 7
938
+ optional :match_end_quest_data, CMsgGC_ServerQuestUpdateData, 8
939
+ optional :server_version, :uint32, 9
940
+ end
941
+
942
+ class CMsgGCCStrike15_v2_MatchmakingClient2GCHello
943
+ end
944
+
945
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello
946
+ optional :account_id, :uint32, 1
947
+ optional :ongoingmatch, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, 2
948
+ optional :global_stats, GlobalStatistics, 3
949
+ optional :penalty_seconds, :uint32, 4
950
+ optional :penalty_reason, :uint32, 5
951
+ optional :vac_banned, :int32, 6
952
+ optional :ranking, PlayerRankingInfo, 7
953
+ optional :commendation, PlayerCommendationInfo, 8
954
+ optional :medals, PlayerMedalsInfo, 9
955
+ optional :my_current_event, TournamentEvent, 10
956
+ repeated :my_current_event_teams, TournamentTeam, 11
957
+ optional :my_current_team, TournamentTeam, 12
958
+ repeated :my_current_event_stages, TournamentEvent, 13
959
+ optional :survey_vote, :uint32, 14
960
+ optional :activity, AccountActivity, 15
961
+ optional :player_level, :int32, 17
962
+ optional :player_cur_xp, :int32, 18
963
+ optional :player_xp_bonus_flags, :int32, 19
964
+ end
965
+
966
+ class CMsgGCCStrike15_v2_AccountPrivacySettings
967
+
968
+ class Setting
969
+ optional :setting_type, :uint32, 1
970
+ optional :setting_value, :uint32, 2
971
+ end
972
+ repeated :settings, CMsgGCCStrike15_v2_AccountPrivacySettings::Setting, 1
973
+ end
974
+
975
+ class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon
976
+ optional :account_id, :uint32, 1
977
+ optional :abandoned_match, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, 2
978
+ optional :penalty_seconds, :uint32, 3
979
+ optional :penalty_reason, :uint32, 4
980
+ end
981
+
982
+ class CMsgGCCStrike15_v2_MatchmakingServer2GCKick
983
+ optional :account_id, :uint32, 1
984
+ optional :reservation, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, 2
985
+ optional :reason, :uint32, 3
986
+ end
987
+
988
+ class CMsgGCCStrike15_v2_MatchmakingGC2ServerRankUpdate
989
+ repeated :rankings, PlayerRankingInfo, 1
990
+ optional :match_id, :uint64, 2
991
+ end
992
+
993
+ class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate
994
+ optional :main_post_url, :string, 1
995
+ end
996
+
997
+ class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty
998
+ optional :account_id, :uint32, 1
999
+ optional :reason, :uint32, 2
1000
+ optional :seconds, :uint32, 3
1001
+ end
1002
+
1003
+ class CMsgGCCStrike15_v2_ClientReportPlayer
1004
+ optional :account_id, :uint32, 1
1005
+ optional :rpt_aimbot, :uint32, 2
1006
+ optional :rpt_wallhack, :uint32, 3
1007
+ optional :rpt_speedhack, :uint32, 4
1008
+ optional :rpt_teamharm, :uint32, 5
1009
+ optional :rpt_textabuse, :uint32, 6
1010
+ optional :rpt_voiceabuse, :uint32, 7
1011
+ optional :match_id, :uint64, 8
1012
+ end
1013
+
1014
+ class CMsgGCCStrike15_v2_ClientCommendPlayer
1015
+ optional :account_id, :uint32, 1
1016
+ optional :match_id, :uint64, 8
1017
+ optional :commendation, PlayerCommendationInfo, 9
1018
+ optional :tokens, :uint32, 10
1019
+ end
1020
+
1021
+ class CMsgGCCStrike15_v2_ClientReportServer
1022
+ optional :rpt_poorperf, :uint32, 1
1023
+ optional :rpt_abusivemodels, :uint32, 2
1024
+ optional :rpt_badmotd, :uint32, 3
1025
+ optional :rpt_listingabuse, :uint32, 4
1026
+ optional :rpt_inventoryabuse, :uint32, 5
1027
+ optional :match_id, :uint64, 8
1028
+ end
1029
+
1030
+ class CMsgGCCStrike15_v2_ClientReportResponse
1031
+ optional :confirmation_id, :uint64, 1
1032
+ optional :account_id, :uint32, 2
1033
+ optional :server_ip, :uint32, 3
1034
+ optional :response_type, :uint32, 4
1035
+ optional :response_result, :uint32, 5
1036
+ optional :tokens, :uint32, 6
1037
+ end
1038
+
1039
+ class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends
1040
+ optional :request_id, :uint32, 1
1041
+ repeated :account_ids, :uint32, 2
1042
+ optional :serverid, :uint64, 3
1043
+ optional :matchid, :uint64, 4
1044
+ end
1045
+
1046
+ class WatchableMatchInfo
1047
+ optional :server_ip, :uint32, 1
1048
+ optional :tv_port, :uint32, 2
1049
+ optional :tv_spectators, :uint32, 3
1050
+ optional :tv_time, :uint32, 4
1051
+ optional :tv_watch_password, :bytes, 5
1052
+ optional :cl_decryptdata_key, :uint64, 6
1053
+ optional :cl_decryptdata_key_pub, :uint64, 7
1054
+ optional :game_type, :uint32, 8
1055
+ optional :game_mapgroup, :string, 9
1056
+ optional :game_map, :string, 10
1057
+ optional :server_id, :uint64, 11
1058
+ optional :match_id, :uint64, 12
1059
+ optional :reservation_id, :uint64, 13
1060
+ end
1061
+
1062
+ class CMsgGCCStrike15_v2_ClientRequestJoinFriendData
1063
+ optional :version, :uint32, 1
1064
+ optional :account_id, :uint32, 2
1065
+ optional :join_token, :uint32, 3
1066
+ optional :join_ipp, :uint32, 4
1067
+ optional :res, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, 5
1068
+ optional :errormsg, :string, 6
1069
+ end
1070
+
1071
+ class CMsgGCCStrike15_v2_ClientRequestJoinServerData
1072
+ optional :version, :uint32, 1
1073
+ optional :account_id, :uint32, 2
1074
+ optional :serverid, :uint64, 3
1075
+ optional :server_ip, :uint32, 4
1076
+ optional :server_port, :uint32, 5
1077
+ optional :res, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, 6
1078
+ end
1079
+
1080
+ class CMsgGCCstrike15_v2_ClientRequestNewMission
1081
+ optional :mission_id, :uint32, 2
1082
+ optional :campaign_id, :uint32, 3
1083
+ end
1084
+
1085
+ class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded
1086
+ repeated :xp_progress_data, XpProgressData, 1
1087
+ optional :account_id, :uint32, 2
1088
+ optional :current_xp, :uint32, 3
1089
+ optional :current_level, :uint32, 4
1090
+ optional :upgraded_defidx, :uint32, 5
1091
+ end
1092
+
1093
+ class CMsgGCCStrike15_v2_WatchInfoUsers
1094
+ optional :request_id, :uint32, 1
1095
+ repeated :account_ids, :uint32, 2
1096
+ repeated :watchable_match_infos, WatchableMatchInfo, 3
1097
+ optional :extended_timeout, :uint32, 5
1098
+ end
1099
+
1100
+ class CMsgGCCStrike15_v2_ClientRequestPlayersProfile
1101
+ optional :request_id__deprecated, :uint32, 1
1102
+ repeated :account_ids__deprecated, :uint32, 2
1103
+ optional :account_id, :uint32, 3
1104
+ optional :request_level, :uint32, 4
1105
+ end
1106
+
1107
+ class CMsgGCCStrike15_v2_PlayersProfile
1108
+ optional :request_id, :uint32, 1
1109
+ repeated :account_profiles, CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, 2
1110
+ end
1111
+
1112
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate
1113
+ optional :caseid, :uint64, 1
1114
+ optional :suspectid, :uint32, 3
1115
+ optional :fractionid, :uint32, 4
1116
+ optional :rpt_aimbot, :uint32, 5
1117
+ optional :rpt_wallhack, :uint32, 6
1118
+ optional :rpt_speedhack, :uint32, 7
1119
+ optional :rpt_teamharm, :uint32, 8
1120
+ optional :reason, :uint32, 9
1121
+ end
1122
+
1123
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment
1124
+ optional :caseid, :uint64, 1
1125
+ optional :caseurl, :string, 2
1126
+ optional :verdict, :uint32, 3
1127
+ optional :timestamp, :uint32, 4
1128
+ optional :throttleseconds, :uint32, 5
1129
+ optional :suspectid, :uint32, 6
1130
+ optional :fractionid, :uint32, 7
1131
+ optional :numrounds, :uint32, 8
1132
+ optional :fractionrounds, :uint32, 9
1133
+ optional :streakconvictions, :int32, 10
1134
+ optional :reason, :uint32, 11
1135
+ end
1136
+
1137
+ class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus
1138
+ optional :caseid, :uint64, 1
1139
+ optional :statusid, :uint32, 2
1140
+ end
1141
+
1142
+ class CClientHeaderOverwatchEvidence
1143
+ optional :accountid, :uint32, 1
1144
+ optional :caseid, :uint64, 2
1145
+ end
1146
+
1147
+ class CMsgGCCStrike15_v2_GC2ClientTextMsg
1148
+ optional :id, :uint32, 1
1149
+ optional :type, :uint32, 2
1150
+ optional :payload, :bytes, 3
1151
+ end
1152
+
1153
+ class CMsgGCCStrike15_v2_Client2GCTextMsg
1154
+ optional :id, :uint32, 1
1155
+ repeated :args, :bytes, 2
1156
+ end
1157
+
1158
+ class CMsgGCCStrike15_v2_MatchEndRunRewardDrops
1159
+ optional :serverinfo, CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, 3
1160
+ optional :match_end_quest_data, CMsgGC_ServerQuestUpdateData, 4
1161
+ end
1162
+
1163
+ class CEconItemPreviewDataBlock
1164
+
1165
+ class Sticker
1166
+ optional :slot, :uint32, 1
1167
+ optional :sticker_id, :uint32, 2
1168
+ optional :wear, :float, 3
1169
+ optional :scale, :float, 4
1170
+ optional :rotation, :float, 5
1171
+ end
1172
+ optional :accountid, :uint32, 1
1173
+ optional :itemid, :uint64, 2
1174
+ optional :defindex, :uint32, 3
1175
+ optional :paintindex, :uint32, 4
1176
+ optional :rarity, :uint32, 5
1177
+ optional :quality, :uint32, 6
1178
+ optional :paintwear, :uint32, 7
1179
+ optional :paintseed, :uint32, 8
1180
+ optional :killeaterscoretype, :uint32, 9
1181
+ optional :killeatervalue, :uint32, 10
1182
+ optional :customname, :string, 11
1183
+ repeated :stickers, CEconItemPreviewDataBlock::Sticker, 12
1184
+ optional :inventory, :uint32, 13
1185
+ optional :origin, :uint32, 14
1186
+ optional :questid, :uint32, 15
1187
+ optional :dropreason, :uint32, 16
1188
+ end
1189
+
1190
+ class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification
1191
+ optional :iteminfo, CEconItemPreviewDataBlock, 6
1192
+ end
1193
+
1194
+ class CMsgItemAcknowledged
1195
+ optional :iteminfo, CEconItemPreviewDataBlock, 1
1196
+ end
1197
+
1198
+ class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest
1199
+ optional :param_s, :uint64, 1
1200
+ optional :param_a, :uint64, 2
1201
+ optional :param_d, :uint64, 3
1202
+ optional :param_m, :uint64, 4
1203
+ end
1204
+
1205
+ class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse
1206
+ optional :iteminfo, CEconItemPreviewDataBlock, 1
1207
+ end
1208
+
1209
+ class CMsgGCCStrike15_v2_TournamentMatchRewardDropsNotification
1210
+ optional :match_id, :uint64, 1
1211
+ optional :defindex, :uint32, 2
1212
+ repeated :accountids, :uint32, 3
1213
+ end
1214
+
1215
+ class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames
1216
+ end
1217
+
1218
+ class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser
1219
+ optional :accountid, :uint32, 1
1220
+ end
1221
+
1222
+ class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames
1223
+ optional :accountid, :uint32, 1
1224
+ end
1225
+
1226
+ class CMsgGCCStrike15_v2_MatchListRequestTournamentGames
1227
+ optional :eventid, :int32, 1
1228
+ end
1229
+
1230
+ class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo
1231
+ optional :matchid, :uint64, 1
1232
+ optional :outcomeid, :uint64, 2
1233
+ optional :token, :uint32, 3
1234
+ end
1235
+
1236
+ class CDataGCCStrike15_v2_MatchInfo
1237
+ optional :matchid, :uint64, 1
1238
+ optional :matchtime, :uint32, 2
1239
+ optional :watchablematchinfo, WatchableMatchInfo, 3
1240
+ optional :roundstats_legacy, CMsgGCCStrike15_v2_MatchmakingServerRoundStats, 4
1241
+ repeated :roundstatsall, CMsgGCCStrike15_v2_MatchmakingServerRoundStats, 5
1242
+ end
1243
+
1244
+ class CDataGCCStrike15_v2_TournamentGroupTeam
1245
+ optional :team_id, :int32, 1
1246
+ optional :score, :int32, 2
1247
+ optional :correctpick, :bool, 3
1248
+ end
1249
+
1250
+ class CDataGCCStrike15_v2_TournamentGroup
1251
+
1252
+ class Picks
1253
+ repeated :pickids, :int32, 1
1254
+ end
1255
+ optional :groupid, :uint32, 1
1256
+ optional :name, :string, 2
1257
+ optional :desc, :string, 3
1258
+ optional :picks__deprecated, :uint32, 4
1259
+ repeated :teams, CDataGCCStrike15_v2_TournamentGroupTeam, 5
1260
+ repeated :stage_ids, :int32, 6
1261
+ optional :picklockuntiltime, :uint32, 7
1262
+ optional :pickableteams, :uint32, 8
1263
+ optional :points_per_pick, :uint32, 9
1264
+ repeated :picks, CDataGCCStrike15_v2_TournamentGroup::Picks, 10
1265
+ end
1266
+
1267
+ class CDataGCCStrike15_v2_TournamentSection
1268
+ optional :sectionid, :uint32, 1
1269
+ optional :name, :string, 2
1270
+ optional :desc, :string, 3
1271
+ repeated :groups, CDataGCCStrike15_v2_TournamentGroup, 4
1272
+ end
1273
+
1274
+ class CDataGCCStrike15_v2_TournamentInfo
1275
+ repeated :sections, CDataGCCStrike15_v2_TournamentSection, 1
1276
+ optional :tournament_event, TournamentEvent, 2
1277
+ repeated :tournament_teams, TournamentTeam, 3
1278
+ end
1279
+
1280
+ class CMsgGCCStrike15_v2_MatchList
1281
+ optional :msgrequestid, :uint32, 1
1282
+ optional :accountid, :uint32, 2
1283
+ optional :servertime, :uint32, 3
1284
+ repeated :matches, CDataGCCStrike15_v2_MatchInfo, 4
1285
+ repeated :streams, TournamentTeam, 5
1286
+ optional :tournamentinfo, CDataGCCStrike15_v2_TournamentInfo, 6
1287
+ end
1288
+
1289
+ class CMsgGCCStrike15_v2_Predictions
1290
+
1291
+ class GroupMatchTeamPick
1292
+ optional :sectionid, :int32, 1
1293
+ optional :groupid, :int32, 2
1294
+ optional :index, :int32, 3
1295
+ optional :teamid, :int32, 4
1296
+ optional :itemid, :uint64, 5
1297
+ end
1298
+ optional :event_id, :uint32, 1
1299
+ repeated :group_match_team_picks, CMsgGCCStrike15_v2_Predictions::GroupMatchTeamPick, 2
1300
+ end
1301
+
1302
+ class CMsgGCCStrike15_v2_Fantasy
1303
+
1304
+ class FantasySlot
1305
+ optional :type, :int32, 1
1306
+ optional :pick, :int32, 2
1307
+ optional :itemid, :uint64, 3
1308
+ end
1309
+
1310
+ class FantasyTeam
1311
+ optional :sectionid, :int32, 1
1312
+ repeated :slots, CMsgGCCStrike15_v2_Fantasy::FantasySlot, 2
1313
+ end
1314
+ optional :event_id, :uint32, 1
1315
+ repeated :teams, CMsgGCCStrike15_v2_Fantasy::FantasyTeam, 2
1316
+ end
1317
+
1318
+ class CAttribute_String
1319
+ optional :value, :string, 1
1320
+ end
1321
+
1322
+ class CMsgGCToGCReloadVersions
1323
+ end
1324
+
1325
+ class CMsgCStrike15Welcome
1326
+ optional :store_item_hash, :uint32, 5
1327
+ optional :timeplayedconsecutively, :uint32, 6
1328
+ optional :time_first_played, :uint32, 10
1329
+ optional :last_time_played, :uint32, 12
1330
+ optional :last_ip_address, :uint32, 13
1331
+ optional :gscookieid, :uint64, 18
1332
+ optional :uniqueid, :uint64, 19
1333
+ end
1334
+
1335
+ class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo
1336
+ optional :value_name, :string, 1
1337
+ optional :value_int, :int32, 2
1338
+ optional :server_addr, :uint32, 3
1339
+ optional :server_port, :uint32, 4
1340
+ repeated :choked_blocks, :string, 5
1341
+ end
1342
+
1343
+ class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo
1344
+ optional :accountid, :uint32, 1
1345
+ repeated :viewangles, :uint32, 2
1346
+ optional :type, :uint32, 3
1347
+ end
1348
+
1349
+ class CMsgGCCStrike15_v2_GiftsLeaderboardRequest
1350
+ end
1351
+
1352
+ class CMsgGCCStrike15_v2_GiftsLeaderboardResponse
1353
+
1354
+ class GiftLeaderboardEntry
1355
+ optional :accountid, :uint32, 1
1356
+ optional :gifts, :uint32, 2
1357
+ end
1358
+ optional :servertime, :uint32, 1
1359
+ optional :time_period_seconds, :uint32, 2
1360
+ optional :total_gifts_given, :uint32, 3
1361
+ optional :total_givers, :uint32, 4
1362
+ repeated :entries, CMsgGCCStrike15_v2_GiftsLeaderboardResponse::GiftLeaderboardEntry, 5
1363
+ end
1364
+
1365
+ class CMsgGCCStrike15_v2_ClientSubmitSurveyVote
1366
+ optional :survey_id, :uint32, 1
1367
+ optional :vote, :uint32, 2
1368
+ end
1369
+
1370
+ class CMsgGCCStrike15_v2_Server2GCClientValidate
1371
+ optional :accountid, :uint32, 1
1372
+ end
1373
+
1374
+ class CMsgGCCStrike15_v2_Server2GCPureServerValidationFailure
1375
+ optional :accountid, :uint32, 1
1376
+ optional :path, :string, 2
1377
+ optional :file, :string, 3
1378
+ optional :crc, :uint32, 4
1379
+ optional :hash, :int32, 5
1380
+ optional :len, :int32, 6
1381
+ optional :pack_number, :int32, 7
1382
+ optional :pack_file_id, :int32, 8
1383
+ end
1384
+
1385
+ class CMsgGCCStrike15_v2_GC2ClientTournamentInfo
1386
+ optional :eventid, :uint32, 1
1387
+ optional :stageid, :uint32, 2
1388
+ optional :game_type, :uint32, 3
1389
+ repeated :teamids, :uint32, 4
1390
+ end
1391
+
1392
+ class CSOEconCoupon
1393
+ optional :entryid, :uint32, 1
1394
+ optional :defidx, :uint32, 2
1395
+ optional :expiration_date, :fixed32, 3
1396
+ end
1397
+
1398
+ class CSOQuestProgress
1399
+ optional :questid, :uint32, 1
1400
+ optional :points_remaining, :uint32, 2
1401
+ optional :bonus_points, :uint32, 3
1402
+ end
1403
+
1404
+ class CSOPersonaDataPublic
1405
+ optional :player_level, :int32, 1
1406
+ optional :commendation, PlayerCommendationInfo, 2
1407
+ optional :elevated_state, :bool, 3
1408
+ end
1409
+
1410
+ class CMsgGC_GlobalGame_Subscribe
1411
+ optional :ticket, :uint64, 1
1412
+ end
1413
+
1414
+ class CMsgGC_GlobalGame_Unsubscribe
1415
+ optional :timeleft, :int32, 1
1416
+ end
1417
+
1418
+ class CMsgGC_GlobalGame_Play
1419
+ optional :ticket, :uint64, 1
1420
+ optional :gametimems, :uint32, 2
1421
+ optional :msperpoint, :uint32, 3
1422
+ end
1423
+
1424
+ class CMsgGCCStrike15_v2_AcknowledgePenalty
1425
+ optional :acknowledged, :int32, 1
1426
+ end
1427
+
1428
+ class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin
1429
+ end
1430
+
1431
+ class CMsgGCCStrike15_v2_Client2GCStreamUnlock
1432
+ optional :ticket, :uint64, 1
1433
+ optional :os, :int32, 2
1434
+ end
1435
+
1436
+ class CMsgGCCStrike15_v2_ClientToGCRequestElevate
1437
+ optional :stage, :uint32, 1
1438
+ end
1439
+
1440
+ class CMsgGCCStrike15_v2_ClientToGCChat
1441
+ optional :match_id, :uint64, 1
1442
+ optional :text, :string, 2
1443
+ end
1444
+
1445
+ class CMsgGCCStrike15_v2_GCToClientChat
1446
+ optional :account_id, :uint32, 1
1447
+ optional :text, :string, 2
1448
+ end
1449
+
1450
+ class CMsgGCCStrike15_v2_ClientAuthKeyCode
1451
+ optional :eventid, :uint32, 1
1452
+ optional :code, :string, 2
1453
+ end
1454
+
1455
+ class CMsgGCCStrike15_GotvSyncPacket
1456
+ optional :data, CEngineGotvSyncPacket, 1
1457
+ end
1458
+ end