steam-proto 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,711 @@
1
+ ## Generated from cstrike15_usermessages.proto
2
+ require "beefcake"
3
+
4
+ module Csgo
5
+
6
+ module ECstrike15UserMessages
7
+ CS_UM_VGUIMenu = 1
8
+ CS_UM_Geiger = 2
9
+ CS_UM_Train = 3
10
+ CS_UM_HudText = 4
11
+ CS_UM_SayText = 5
12
+ CS_UM_SayText2 = 6
13
+ CS_UM_TextMsg = 7
14
+ CS_UM_HudMsg = 8
15
+ CS_UM_ResetHud = 9
16
+ CS_UM_GameTitle = 10
17
+ CS_UM_Shake = 12
18
+ CS_UM_Fade = 13
19
+ CS_UM_Rumble = 14
20
+ CS_UM_CloseCaption = 15
21
+ CS_UM_CloseCaptionDirect = 16
22
+ CS_UM_SendAudio = 17
23
+ CS_UM_RawAudio = 18
24
+ CS_UM_VoiceMask = 19
25
+ CS_UM_RequestState = 20
26
+ CS_UM_Damage = 21
27
+ CS_UM_RadioText = 22
28
+ CS_UM_HintText = 23
29
+ CS_UM_KeyHintText = 24
30
+ CS_UM_ProcessSpottedEntityUpdate = 25
31
+ CS_UM_ReloadEffect = 26
32
+ CS_UM_AdjustMoney = 27
33
+ CS_UM_UpdateTeamMoney = 28
34
+ CS_UM_StopSpectatorMode = 29
35
+ CS_UM_KillCam = 30
36
+ CS_UM_DesiredTimescale = 31
37
+ CS_UM_CurrentTimescale = 32
38
+ CS_UM_AchievementEvent = 33
39
+ CS_UM_MatchEndConditions = 34
40
+ CS_UM_DisconnectToLobby = 35
41
+ CS_UM_PlayerStatsUpdate = 36
42
+ CS_UM_DisplayInventory = 37
43
+ CS_UM_WarmupHasEnded = 38
44
+ CS_UM_ClientInfo = 39
45
+ CS_UM_XRankGet = 40
46
+ CS_UM_XRankUpd = 41
47
+ CS_UM_CallVoteFailed = 45
48
+ CS_UM_VoteStart = 46
49
+ CS_UM_VotePass = 47
50
+ CS_UM_VoteFailed = 48
51
+ CS_UM_VoteSetup = 49
52
+ CS_UM_ServerRankRevealAll = 50
53
+ CS_UM_SendLastKillerDamageToClient = 51
54
+ CS_UM_ServerRankUpdate = 52
55
+ CS_UM_ItemPickup = 53
56
+ CS_UM_ShowMenu = 54
57
+ CS_UM_BarTime = 55
58
+ CS_UM_AmmoDenied = 56
59
+ CS_UM_MarkAchievement = 57
60
+ CS_UM_MatchStatsUpdate = 58
61
+ CS_UM_ItemDrop = 59
62
+ CS_UM_GlowPropTurnOff = 60
63
+ CS_UM_SendPlayerItemDrops = 61
64
+ CS_UM_RoundBackupFilenames = 62
65
+ CS_UM_SendPlayerItemFound = 63
66
+ CS_UM_ReportHit = 64
67
+ CS_UM_XpUpdate = 65
68
+ CS_UM_QuestProgress = 66
69
+ CS_UM_ScoreLeaderboardData = 67
70
+ end
71
+
72
+ class CCSUsrMsg_VGUIMenu
73
+ include Beefcake::Message
74
+
75
+ class Subkey
76
+ include Beefcake::Message
77
+ end
78
+ end
79
+
80
+ class CCSUsrMsg_Geiger
81
+ include Beefcake::Message
82
+ end
83
+
84
+ class CCSUsrMsg_Train
85
+ include Beefcake::Message
86
+ end
87
+
88
+ class CCSUsrMsg_HudText
89
+ include Beefcake::Message
90
+ end
91
+
92
+ class CCSUsrMsg_SayText
93
+ include Beefcake::Message
94
+ end
95
+
96
+ class CCSUsrMsg_SayText2
97
+ include Beefcake::Message
98
+ end
99
+
100
+ class CCSUsrMsg_TextMsg
101
+ include Beefcake::Message
102
+ end
103
+
104
+ class CCSUsrMsg_HudMsg
105
+ include Beefcake::Message
106
+ end
107
+
108
+ class CCSUsrMsg_Shake
109
+ include Beefcake::Message
110
+ end
111
+
112
+ class CCSUsrMsg_Fade
113
+ include Beefcake::Message
114
+ end
115
+
116
+ class CCSUsrMsg_Rumble
117
+ include Beefcake::Message
118
+ end
119
+
120
+ class CCSUsrMsg_CloseCaption
121
+ include Beefcake::Message
122
+ end
123
+
124
+ class CCSUsrMsg_CloseCaptionDirect
125
+ include Beefcake::Message
126
+ end
127
+
128
+ class CCSUsrMsg_SendAudio
129
+ include Beefcake::Message
130
+ end
131
+
132
+ class CCSUsrMsg_RawAudio
133
+ include Beefcake::Message
134
+ end
135
+
136
+ class CCSUsrMsg_VoiceMask
137
+ include Beefcake::Message
138
+
139
+ class PlayerMask
140
+ include Beefcake::Message
141
+ end
142
+ end
143
+
144
+ class CCSUsrMsg_Damage
145
+ include Beefcake::Message
146
+ end
147
+
148
+ class CCSUsrMsg_RadioText
149
+ include Beefcake::Message
150
+ end
151
+
152
+ class CCSUsrMsg_HintText
153
+ include Beefcake::Message
154
+ end
155
+
156
+ class CCSUsrMsg_KeyHintText
157
+ include Beefcake::Message
158
+ end
159
+
160
+ class CCSUsrMsg_ProcessSpottedEntityUpdate
161
+ include Beefcake::Message
162
+
163
+ class SpottedEntityUpdate
164
+ include Beefcake::Message
165
+ end
166
+ end
167
+
168
+ class CCSUsrMsg_SendPlayerItemDrops
169
+ include Beefcake::Message
170
+ end
171
+
172
+ class CCSUsrMsg_SendPlayerItemFound
173
+ include Beefcake::Message
174
+ end
175
+
176
+ class CCSUsrMsg_ReloadEffect
177
+ include Beefcake::Message
178
+ end
179
+
180
+ class CCSUsrMsg_AdjustMoney
181
+ include Beefcake::Message
182
+ end
183
+
184
+ class CCSUsrMsg_ReportHit
185
+ include Beefcake::Message
186
+ end
187
+
188
+ class CCSUsrMsg_KillCam
189
+ include Beefcake::Message
190
+ end
191
+
192
+ class CCSUsrMsg_DesiredTimescale
193
+ include Beefcake::Message
194
+ end
195
+
196
+ class CCSUsrMsg_CurrentTimescale
197
+ include Beefcake::Message
198
+ end
199
+
200
+ class CCSUsrMsg_AchievementEvent
201
+ include Beefcake::Message
202
+ end
203
+
204
+ class CCSUsrMsg_MatchEndConditions
205
+ include Beefcake::Message
206
+ end
207
+
208
+ class CCSUsrMsg_PlayerStatsUpdate
209
+ include Beefcake::Message
210
+
211
+ class Stat
212
+ include Beefcake::Message
213
+ end
214
+ end
215
+
216
+ class CCSUsrMsg_DisplayInventory
217
+ include Beefcake::Message
218
+ end
219
+
220
+ class CCSUsrMsg_QuestProgress
221
+ include Beefcake::Message
222
+ end
223
+
224
+ class CCSUsrMsg_ScoreLeaderboardData
225
+ include Beefcake::Message
226
+ end
227
+
228
+ class CCSUsrMsg_XRankGet
229
+ include Beefcake::Message
230
+ end
231
+
232
+ class CCSUsrMsg_XRankUpd
233
+ include Beefcake::Message
234
+ end
235
+
236
+ class CCSUsrMsg_CallVoteFailed
237
+ include Beefcake::Message
238
+ end
239
+
240
+ class CCSUsrMsg_VoteStart
241
+ include Beefcake::Message
242
+ end
243
+
244
+ class CCSUsrMsg_VotePass
245
+ include Beefcake::Message
246
+ end
247
+
248
+ class CCSUsrMsg_VoteFailed
249
+ include Beefcake::Message
250
+ end
251
+
252
+ class CCSUsrMsg_VoteSetup
253
+ include Beefcake::Message
254
+ end
255
+
256
+ class CCSUsrMsg_SendLastKillerDamageToClient
257
+ include Beefcake::Message
258
+ end
259
+
260
+ class CCSUsrMsg_ServerRankUpdate
261
+ include Beefcake::Message
262
+
263
+ class RankUpdate
264
+ include Beefcake::Message
265
+ end
266
+ end
267
+
268
+ class CCSUsrMsg_XpUpdate
269
+ include Beefcake::Message
270
+ end
271
+
272
+ class CCSUsrMsg_ItemPickup
273
+ include Beefcake::Message
274
+ end
275
+
276
+ class CCSUsrMsg_ShowMenu
277
+ include Beefcake::Message
278
+ end
279
+
280
+ class CCSUsrMsg_BarTime
281
+ include Beefcake::Message
282
+ end
283
+
284
+ class CCSUsrMsg_AmmoDenied
285
+ include Beefcake::Message
286
+ end
287
+
288
+ class CCSUsrMsg_MarkAchievement
289
+ include Beefcake::Message
290
+ end
291
+
292
+ class CCSUsrMsg_MatchStatsUpdate
293
+ include Beefcake::Message
294
+ end
295
+
296
+ class CCSUsrMsg_ItemDrop
297
+ include Beefcake::Message
298
+ end
299
+
300
+ class CCSUsrMsg_GlowPropTurnOff
301
+ include Beefcake::Message
302
+ end
303
+
304
+ class CCSUsrMsg_RoundBackupFilenames
305
+ include Beefcake::Message
306
+ end
307
+
308
+ class CCSUsrMsg_ResetHud
309
+ include Beefcake::Message
310
+ end
311
+
312
+ class CCSUsrMsg_GameTitle
313
+ include Beefcake::Message
314
+ end
315
+
316
+ class CCSUsrMsg_RequestState
317
+ include Beefcake::Message
318
+ end
319
+
320
+ class CCSUsrMsg_StopSpectatorMode
321
+ include Beefcake::Message
322
+ end
323
+
324
+ class CCSUsrMsg_DisconnectToLobby
325
+ include Beefcake::Message
326
+ end
327
+
328
+ class CCSUsrMsg_WarmupHasEnded
329
+ include Beefcake::Message
330
+ end
331
+
332
+ class CCSUsrMsg_ClientInfo
333
+ include Beefcake::Message
334
+ end
335
+
336
+ class CCSUsrMsg_ServerRankRevealAll
337
+ include Beefcake::Message
338
+ end
339
+
340
+ class CCSUsrMsg_VGUIMenu
341
+
342
+ class Subkey
343
+ optional :name, :string, 1
344
+ optional :str, :string, 2
345
+ end
346
+ optional :name, :string, 1
347
+ optional :show, :bool, 2
348
+ repeated :subkeys, CCSUsrMsg_VGUIMenu::Subkey, 3
349
+ end
350
+
351
+ class CCSUsrMsg_Geiger
352
+ optional :range, :int32, 1
353
+ end
354
+
355
+ class CCSUsrMsg_Train
356
+ optional :train, :int32, 1
357
+ end
358
+
359
+ class CCSUsrMsg_HudText
360
+ optional :text, :string, 1
361
+ end
362
+
363
+ class CCSUsrMsg_SayText
364
+ optional :ent_idx, :int32, 1
365
+ optional :text, :string, 2
366
+ optional :chat, :bool, 3
367
+ optional :textallchat, :bool, 4
368
+ end
369
+
370
+ class CCSUsrMsg_SayText2
371
+ optional :ent_idx, :int32, 1
372
+ optional :chat, :bool, 2
373
+ optional :msg_name, :string, 3
374
+ repeated :params, :string, 4
375
+ optional :textallchat, :bool, 5
376
+ end
377
+
378
+ class CCSUsrMsg_TextMsg
379
+ optional :msg_dst, :int32, 1
380
+ repeated :params, :string, 3
381
+ end
382
+
383
+ class CCSUsrMsg_HudMsg
384
+ optional :channel, :int32, 1
385
+ optional :pos, CMsgVector2D, 2
386
+ optional :clr1, CMsgRGBA, 3
387
+ optional :clr2, CMsgRGBA, 4
388
+ optional :effect, :int32, 5
389
+ optional :fade_in_time, :float, 6
390
+ optional :fade_out_time, :float, 7
391
+ optional :hold_time, :float, 9
392
+ optional :fx_time, :float, 10
393
+ optional :text, :string, 11
394
+ end
395
+
396
+ class CCSUsrMsg_Shake
397
+ optional :command, :int32, 1
398
+ optional :local_amplitude, :float, 2
399
+ optional :frequency, :float, 3
400
+ optional :duration, :float, 4
401
+ end
402
+
403
+ class CCSUsrMsg_Fade
404
+ optional :duration, :int32, 1
405
+ optional :hold_time, :int32, 2
406
+ optional :flags, :int32, 3
407
+ optional :clr, CMsgRGBA, 4
408
+ end
409
+
410
+ class CCSUsrMsg_Rumble
411
+ optional :index, :int32, 1
412
+ optional :data, :int32, 2
413
+ optional :flags, :int32, 3
414
+ end
415
+
416
+ class CCSUsrMsg_CloseCaption
417
+ optional :hash, :uint32, 1
418
+ optional :duration, :int32, 2
419
+ optional :from_player, :bool, 3
420
+ end
421
+
422
+ class CCSUsrMsg_CloseCaptionDirect
423
+ optional :hash, :uint32, 1
424
+ optional :duration, :int32, 2
425
+ optional :from_player, :bool, 3
426
+ end
427
+
428
+ class CCSUsrMsg_SendAudio
429
+ optional :radio_sound, :string, 1
430
+ end
431
+
432
+ class CCSUsrMsg_RawAudio
433
+ optional :pitch, :int32, 1
434
+ optional :entidx, :int32, 2
435
+ optional :duration, :float, 3
436
+ optional :voice_filename, :string, 4
437
+ end
438
+
439
+ class CCSUsrMsg_VoiceMask
440
+
441
+ class PlayerMask
442
+ optional :game_rules_mask, :int32, 1
443
+ optional :ban_masks, :int32, 2
444
+ end
445
+ repeated :player_masks, CCSUsrMsg_VoiceMask::PlayerMask, 1
446
+ optional :player_mod_enable, :bool, 2
447
+ end
448
+
449
+ class CCSUsrMsg_Damage
450
+ optional :amount, :int32, 1
451
+ optional :inflictor_world_pos, CMsgVector, 2
452
+ optional :victim_entindex, :int32, 3
453
+ end
454
+
455
+ class CCSUsrMsg_RadioText
456
+ optional :msg_dst, :int32, 1
457
+ optional :client, :int32, 2
458
+ optional :msg_name, :string, 3
459
+ repeated :params, :string, 4
460
+ end
461
+
462
+ class CCSUsrMsg_HintText
463
+ optional :text, :string, 1
464
+ end
465
+
466
+ class CCSUsrMsg_KeyHintText
467
+ repeated :hints, :string, 1
468
+ end
469
+
470
+ class CCSUsrMsg_ProcessSpottedEntityUpdate
471
+
472
+ class SpottedEntityUpdate
473
+ optional :entity_idx, :int32, 1
474
+ optional :class_id, :int32, 2
475
+ optional :origin_x, :int32, 3
476
+ optional :origin_y, :int32, 4
477
+ optional :origin_z, :int32, 5
478
+ optional :angle_y, :int32, 6
479
+ optional :defuser, :bool, 7
480
+ optional :player_has_defuser, :bool, 8
481
+ optional :player_has_c4, :bool, 9
482
+ end
483
+ optional :new_update, :bool, 1
484
+ repeated :entity_updates, CCSUsrMsg_ProcessSpottedEntityUpdate::SpottedEntityUpdate, 2
485
+ end
486
+
487
+ class CCSUsrMsg_SendPlayerItemDrops
488
+ repeated :entity_updates, CEconItemPreviewDataBlock, 1
489
+ end
490
+
491
+ class CCSUsrMsg_SendPlayerItemFound
492
+ optional :iteminfo, CEconItemPreviewDataBlock, 1
493
+ optional :entindex, :int32, 2
494
+ end
495
+
496
+ class CCSUsrMsg_ReloadEffect
497
+ optional :entidx, :int32, 1
498
+ optional :actanim, :int32, 2
499
+ optional :origin_x, :float, 3
500
+ optional :origin_y, :float, 4
501
+ optional :origin_z, :float, 5
502
+ end
503
+
504
+ class CCSUsrMsg_AdjustMoney
505
+ optional :amount, :int32, 1
506
+ end
507
+
508
+ class CCSUsrMsg_ReportHit
509
+ optional :pos_x, :float, 1
510
+ optional :pos_y, :float, 2
511
+ optional :timestamp, :float, 4
512
+ optional :pos_z, :float, 3
513
+ end
514
+
515
+ class CCSUsrMsg_KillCam
516
+ optional :obs_mode, :int32, 1
517
+ optional :first_target, :int32, 2
518
+ optional :second_target, :int32, 3
519
+ end
520
+
521
+ class CCSUsrMsg_DesiredTimescale
522
+ optional :desired_timescale, :float, 1
523
+ optional :duration_realtime_sec, :float, 2
524
+ optional :interpolator_type, :int32, 3
525
+ optional :start_blend_time, :float, 4
526
+ end
527
+
528
+ class CCSUsrMsg_CurrentTimescale
529
+ optional :cur_timescale, :float, 1
530
+ end
531
+
532
+ class CCSUsrMsg_AchievementEvent
533
+ optional :achievement, :int32, 1
534
+ optional :count, :int32, 2
535
+ optional :user_id, :int32, 3
536
+ end
537
+
538
+ class CCSUsrMsg_MatchEndConditions
539
+ optional :fraglimit, :int32, 1
540
+ optional :mp_maxrounds, :int32, 2
541
+ optional :mp_winlimit, :int32, 3
542
+ optional :mp_timelimit, :int32, 4
543
+ end
544
+
545
+ class CCSUsrMsg_PlayerStatsUpdate
546
+
547
+ class Stat
548
+ optional :idx, :int32, 1
549
+ optional :delta, :int32, 2
550
+ end
551
+ optional :version, :int32, 1
552
+ repeated :stats, CCSUsrMsg_PlayerStatsUpdate::Stat, 4
553
+ optional :user_id, :int32, 5
554
+ optional :crc, :int32, 6
555
+ end
556
+
557
+ class CCSUsrMsg_DisplayInventory
558
+ optional :display, :bool, 1
559
+ optional :user_id, :int32, 2
560
+ end
561
+
562
+ class CCSUsrMsg_QuestProgress
563
+ optional :quest_id, :uint32, 1
564
+ optional :normal_points, :uint32, 2
565
+ optional :bonus_points, :uint32, 3
566
+ optional :is_event_quest, :bool, 4
567
+ end
568
+
569
+ class CCSUsrMsg_ScoreLeaderboardData
570
+ optional :data, ScoreLeaderboardData, 1
571
+ end
572
+
573
+ class CCSUsrMsg_XRankGet
574
+ optional :mode_idx, :int32, 1
575
+ optional :controller, :int32, 2
576
+ end
577
+
578
+ class CCSUsrMsg_XRankUpd
579
+ optional :mode_idx, :int32, 1
580
+ optional :controller, :int32, 2
581
+ optional :ranking, :int32, 3
582
+ end
583
+
584
+ class CCSUsrMsg_CallVoteFailed
585
+ optional :reason, :int32, 1
586
+ optional :time, :int32, 2
587
+ end
588
+
589
+ class CCSUsrMsg_VoteStart
590
+ optional :team, :int32, 1
591
+ optional :ent_idx, :int32, 2
592
+ optional :vote_type, :int32, 3
593
+ optional :disp_str, :string, 4
594
+ optional :details_str, :string, 5
595
+ optional :other_team_str, :string, 6
596
+ optional :is_yes_no_vote, :bool, 7
597
+ end
598
+
599
+ class CCSUsrMsg_VotePass
600
+ optional :team, :int32, 1
601
+ optional :vote_type, :int32, 2
602
+ optional :disp_str, :string, 3
603
+ optional :details_str, :string, 4
604
+ end
605
+
606
+ class CCSUsrMsg_VoteFailed
607
+ optional :team, :int32, 1
608
+ optional :reason, :int32, 2
609
+ end
610
+
611
+ class CCSUsrMsg_VoteSetup
612
+ repeated :potential_issues, :string, 1
613
+ end
614
+
615
+ class CCSUsrMsg_SendLastKillerDamageToClient
616
+ optional :num_hits_given, :int32, 1
617
+ optional :damage_given, :int32, 2
618
+ optional :num_hits_taken, :int32, 3
619
+ optional :damage_taken, :int32, 4
620
+ end
621
+
622
+ class CCSUsrMsg_ServerRankUpdate
623
+
624
+ class RankUpdate
625
+ optional :account_id, :int32, 1
626
+ optional :rank_old, :int32, 2
627
+ optional :rank_new, :int32, 3
628
+ optional :num_wins, :int32, 4
629
+ optional :rank_change, :float, 5
630
+ end
631
+ repeated :rank_update, CCSUsrMsg_ServerRankUpdate::RankUpdate, 1
632
+ end
633
+
634
+ class CCSUsrMsg_XpUpdate
635
+ optional :data, CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, 1
636
+ end
637
+
638
+ class CCSUsrMsg_ItemPickup
639
+ optional :item, :string, 1
640
+ end
641
+
642
+ class CCSUsrMsg_ShowMenu
643
+ optional :bits_valid_slots, :int32, 1
644
+ optional :display_time, :int32, 2
645
+ optional :menu_string, :string, 3
646
+ end
647
+
648
+ class CCSUsrMsg_BarTime
649
+ optional :time, :string, 1
650
+ end
651
+
652
+ class CCSUsrMsg_AmmoDenied
653
+ optional :ammoIdx, :int32, 1
654
+ end
655
+
656
+ class CCSUsrMsg_MarkAchievement
657
+ optional :achievement, :string, 1
658
+ end
659
+
660
+ class CCSUsrMsg_MatchStatsUpdate
661
+ optional :update, :string, 1
662
+ end
663
+
664
+ class CCSUsrMsg_ItemDrop
665
+ optional :itemid, :int64, 1
666
+ optional :death, :bool, 2
667
+ end
668
+
669
+ class CCSUsrMsg_GlowPropTurnOff
670
+ optional :entidx, :int32, 1
671
+ end
672
+
673
+ class CCSUsrMsg_RoundBackupFilenames
674
+ optional :count, :int32, 1
675
+ optional :index, :int32, 2
676
+ optional :filename, :string, 3
677
+ optional :nicename, :string, 4
678
+ end
679
+
680
+ class CCSUsrMsg_ResetHud
681
+ optional :reset, :bool, 1
682
+ end
683
+
684
+ class CCSUsrMsg_GameTitle
685
+ optional :dummy, :int32, 1
686
+ end
687
+
688
+ class CCSUsrMsg_RequestState
689
+ optional :dummy, :int32, 1
690
+ end
691
+
692
+ class CCSUsrMsg_StopSpectatorMode
693
+ optional :dummy, :int32, 1
694
+ end
695
+
696
+ class CCSUsrMsg_DisconnectToLobby
697
+ optional :dummy, :int32, 1
698
+ end
699
+
700
+ class CCSUsrMsg_WarmupHasEnded
701
+ optional :dummy, :int32, 1
702
+ end
703
+
704
+ class CCSUsrMsg_ClientInfo
705
+ optional :dummy, :int32, 1
706
+ end
707
+
708
+ class CCSUsrMsg_ServerRankRevealAll
709
+ optional :seconds_till_shutdown, :int32, 1
710
+ end
711
+ end