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,139 @@
1
+ ## Generated from gcsystemmsgs.proto
2
+ require "beefcake"
3
+
4
+ module Csgo
5
+
6
+ module EGCSystemMsg
7
+ K_EGCMsgInvalid = 0
8
+ K_EGCMsgMulti = 1
9
+ K_EGCMsgGenericReply = 10
10
+ K_EGCMsgSystemBase = 50
11
+ K_EGCMsgAchievementAwarded = 51
12
+ K_EGCMsgConCommand = 52
13
+ K_EGCMsgStartPlaying = 53
14
+ K_EGCMsgStopPlaying = 54
15
+ K_EGCMsgStartGameserver = 55
16
+ K_EGCMsgStopGameserver = 56
17
+ K_EGCMsgWGRequest = 57
18
+ K_EGCMsgWGResponse = 58
19
+ K_EGCMsgGetUserGameStatsSchema = 59
20
+ K_EGCMsgGetUserGameStatsSchemaResponse = 60
21
+ K_EGCMsgGetUserStatsDEPRECATED = 61
22
+ K_EGCMsgGetUserStatsResponse = 62
23
+ K_EGCMsgAppInfoUpdated = 63
24
+ K_EGCMsgValidateSession = 64
25
+ K_EGCMsgValidateSessionResponse = 65
26
+ K_EGCMsgLookupAccountFromInput = 66
27
+ K_EGCMsgSendHTTPRequest = 67
28
+ K_EGCMsgSendHTTPRequestResponse = 68
29
+ K_EGCMsgPreTestSetup = 69
30
+ K_EGCMsgRecordSupportAction = 70
31
+ K_EGCMsgGetAccountDetails_DEPRECATED = 71
32
+ K_EGCMsgReceiveInterAppMessage = 73
33
+ K_EGCMsgFindAccounts = 74
34
+ K_EGCMsgPostAlert = 75
35
+ K_EGCMsgGetLicenses = 76
36
+ K_EGCMsgGetUserStats = 77
37
+ K_EGCMsgGetCommands = 78
38
+ K_EGCMsgGetCommandsResponse = 79
39
+ K_EGCMsgAddFreeLicense = 80
40
+ K_EGCMsgAddFreeLicenseResponse = 81
41
+ K_EGCMsgGetIPLocation = 82
42
+ K_EGCMsgGetIPLocationResponse = 83
43
+ K_EGCMsgSystemStatsSchema = 84
44
+ K_EGCMsgGetSystemStats = 85
45
+ K_EGCMsgGetSystemStatsResponse = 86
46
+ K_EGCMsgSendEmail = 87
47
+ K_EGCMsgSendEmailResponse = 88
48
+ K_EGCMsgGetEmailTemplate = 89
49
+ K_EGCMsgGetEmailTemplateResponse = 90
50
+ K_EGCMsgGrantGuestPass = 91
51
+ K_EGCMsgGrantGuestPassResponse = 92
52
+ K_EGCMsgGetAccountDetails = 93
53
+ K_EGCMsgGetAccountDetailsResponse = 94
54
+ K_EGCMsgGetPersonaNames = 95
55
+ K_EGCMsgGetPersonaNamesResponse = 96
56
+ K_EGCMsgMultiplexMsg = 97
57
+ K_EGCMsgMultiplexMsgResponse = 98
58
+ K_EGCMsgWebAPIRegisterInterfaces = 101
59
+ K_EGCMsgWebAPIJobRequest = 102
60
+ K_EGCMsgWebAPIJobRequestHttpResponse = 104
61
+ K_EGCMsgWebAPIJobRequestForwardResponse = 105
62
+ K_EGCMsgMemCachedGet = 200
63
+ K_EGCMsgMemCachedGetResponse = 201
64
+ K_EGCMsgMemCachedSet = 202
65
+ K_EGCMsgMemCachedDelete = 203
66
+ K_EGCMsgMemCachedStats = 204
67
+ K_EGCMsgMemCachedStatsResponse = 205
68
+ K_EGCMsgMasterSetDirectory = 220
69
+ K_EGCMsgMasterSetDirectoryResponse = 221
70
+ K_EGCMsgMasterSetWebAPIRouting = 222
71
+ K_EGCMsgMasterSetWebAPIRoutingResponse = 223
72
+ K_EGCMsgMasterSetClientMsgRouting = 224
73
+ K_EGCMsgMasterSetClientMsgRoutingResponse = 225
74
+ K_EGCMsgSetOptions = 226
75
+ K_EGCMsgSetOptionsResponse = 227
76
+ K_EGCMsgSystemBase2 = 500
77
+ K_EGCMsgGetPurchaseTrustStatus = 501
78
+ K_EGCMsgGetPurchaseTrustStatusResponse = 502
79
+ K_EGCMsgUpdateSession = 503
80
+ K_EGCMsgGCAccountVacStatusChange = 504
81
+ K_EGCMsgCheckFriendship = 505
82
+ K_EGCMsgCheckFriendshipResponse = 506
83
+ K_EGCMsgVacVerificationChange = 518
84
+ K_EGCMsgAccountPhoneNumberChange = 519
85
+ end
86
+
87
+ module ESOMsg
88
+ K_ESOMsg_Create = 21
89
+ K_ESOMsg_Update = 22
90
+ K_ESOMsg_Destroy = 23
91
+ K_ESOMsg_CacheSubscribed = 24
92
+ K_ESOMsg_CacheUnsubscribed = 25
93
+ K_ESOMsg_UpdateMultiple = 26
94
+ K_ESOMsg_CacheSubscriptionCheck = 27
95
+ K_ESOMsg_CacheSubscriptionRefresh = 28
96
+ end
97
+
98
+ module EGCBaseClientMsg
99
+ K_EMsgGCClientWelcome = 4004
100
+ K_EMsgGCServerWelcome = 4005
101
+ K_EMsgGCClientHello = 4006
102
+ K_EMsgGCServerHello = 4007
103
+ K_EMsgGCClientConnectionStatus = 4009
104
+ K_EMsgGCServerConnectionStatus = 4010
105
+ end
106
+
107
+ module EGCToGCMsg
108
+ K_EGCToGCMsgMasterAck = 150
109
+ K_EGCToGCMsgMasterAckResponse = 151
110
+ K_EGCToGCMsgRouted = 152
111
+ K_EGCToGCMsgRoutedReply = 153
112
+ K_EMsgUpdateSessionIP = 154
113
+ K_EMsgRequestSessionIP = 155
114
+ K_EMsgRequestSessionIPResponse = 156
115
+ K_EGCToGCMsgMasterStartupComplete = 157
116
+ end
117
+
118
+ class CMsgGCHVacVerificationChange
119
+ include Beefcake::Message
120
+ end
121
+
122
+ class CMsgGCHAccountPhoneNumberChange
123
+ include Beefcake::Message
124
+ end
125
+
126
+ class CMsgGCHVacVerificationChange
127
+ optional :steamid, :fixed64, 1
128
+ optional :appid, :uint32, 2
129
+ optional :is_verified, :bool, 3
130
+ end
131
+
132
+ class CMsgGCHAccountPhoneNumberChange
133
+ optional :steamid, :fixed64, 1
134
+ optional :appid, :uint32, 2
135
+ optional :phone_id, :uint64, 3
136
+ optional :is_verified, :bool, 4
137
+ optional :is_identifying, :bool, 5
138
+ end
139
+ end
@@ -0,0 +1,736 @@
1
+ ## Generated from netmessages.proto
2
+ require "beefcake"
3
+
4
+ module Csgo
5
+
6
+ module NET_Messages
7
+ Net_NOP = 0
8
+ Net_Disconnect = 1
9
+ Net_File = 2
10
+ Net_SplitScreenUser = 3
11
+ Net_Tick = 4
12
+ Net_StringCmd = 5
13
+ Net_SetConVar = 6
14
+ Net_SignonState = 7
15
+ Net_PlayerAvatarData = 100
16
+ end
17
+
18
+ module CLC_Messages
19
+ Clc_ClientInfo = 8
20
+ Clc_Move = 9
21
+ Clc_VoiceData = 10
22
+ Clc_BaselineAck = 11
23
+ Clc_ListenEvents = 12
24
+ Clc_RespondCvarValue = 13
25
+ Clc_FileCRCCheck = 14
26
+ Clc_LoadingProgress = 15
27
+ Clc_SplitPlayerConnect = 16
28
+ Clc_ClientMessage = 17
29
+ Clc_CmdKeyValues = 18
30
+ Clc_HltvReplay = 20
31
+ end
32
+
33
+ module VoiceDataFormat_t
34
+ VOICEDATA_FORMAT_STEAM = 0
35
+ VOICEDATA_FORMAT_ENGINE = 1
36
+ end
37
+
38
+ module ESplitScreenMessageType
39
+ MSG_SPLITSCREEN_ADDUSER = 0
40
+ MSG_SPLITSCREEN_REMOVEUSER = 1
41
+ MSG_SPLITSCREEN_TYPE_BITS = 1
42
+ end
43
+
44
+ module SVC_Messages
45
+ Svc_ServerInfo = 8
46
+ Svc_SendTable = 9
47
+ Svc_ClassInfo = 10
48
+ Svc_SetPause = 11
49
+ Svc_CreateStringTable = 12
50
+ Svc_UpdateStringTable = 13
51
+ Svc_VoiceInit = 14
52
+ Svc_VoiceData = 15
53
+ Svc_Print = 16
54
+ Svc_Sounds = 17
55
+ Svc_SetView = 18
56
+ Svc_FixAngle = 19
57
+ Svc_CrosshairAngle = 20
58
+ Svc_BSPDecal = 21
59
+ Svc_SplitScreen = 22
60
+ Svc_UserMessage = 23
61
+ Svc_EntityMessage = 24
62
+ Svc_GameEvent = 25
63
+ Svc_PacketEntities = 26
64
+ Svc_TempEntities = 27
65
+ Svc_Prefetch = 28
66
+ Svc_Menu = 29
67
+ Svc_GameEventList = 30
68
+ Svc_GetCvarValue = 31
69
+ Svc_PaintmapData = 33
70
+ Svc_CmdKeyValues = 34
71
+ Svc_EncryptedData = 35
72
+ Svc_HltvReplay = 36
73
+ Svc_Broadcast_Command = 38
74
+ end
75
+
76
+ module ReplayEventType_t
77
+ REPLAY_EVENT_CANCEL = 0
78
+ REPLAY_EVENT_DEATH = 1
79
+ REPLAY_EVENT_GENERIC = 2
80
+ REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3
81
+ end
82
+
83
+ class CMsgVector
84
+ include Beefcake::Message
85
+ end
86
+
87
+ class CMsgVector2D
88
+ include Beefcake::Message
89
+ end
90
+
91
+ class CMsgQAngle
92
+ include Beefcake::Message
93
+ end
94
+
95
+ class CMsgRGBA
96
+ include Beefcake::Message
97
+ end
98
+
99
+ class CNETMsg_Tick
100
+ include Beefcake::Message
101
+ end
102
+
103
+ class CNETMsg_StringCmd
104
+ include Beefcake::Message
105
+ end
106
+
107
+ class CNETMsg_SignonState
108
+ include Beefcake::Message
109
+ end
110
+
111
+ class CMsg_CVars
112
+ include Beefcake::Message
113
+
114
+ class CVar
115
+ include Beefcake::Message
116
+ end
117
+ end
118
+
119
+ class CNETMsg_SetConVar
120
+ include Beefcake::Message
121
+ end
122
+
123
+ class CNETMsg_NOP
124
+ include Beefcake::Message
125
+ end
126
+
127
+ class CNETMsg_Disconnect
128
+ include Beefcake::Message
129
+ end
130
+
131
+ class CNETMsg_File
132
+ include Beefcake::Message
133
+ end
134
+
135
+ class CNETMsg_SplitScreenUser
136
+ include Beefcake::Message
137
+ end
138
+
139
+ class CNETMsg_PlayerAvatarData
140
+ include Beefcake::Message
141
+ end
142
+
143
+ class CCLCMsg_ClientInfo
144
+ include Beefcake::Message
145
+ end
146
+
147
+ class CCLCMsg_Move
148
+ include Beefcake::Message
149
+ end
150
+
151
+ class CCLCMsg_VoiceData
152
+ include Beefcake::Message
153
+ end
154
+
155
+ class CCLCMsg_BaselineAck
156
+ include Beefcake::Message
157
+ end
158
+
159
+ class CCLCMsg_ListenEvents
160
+ include Beefcake::Message
161
+ end
162
+
163
+ class CCLCMsg_RespondCvarValue
164
+ include Beefcake::Message
165
+ end
166
+
167
+ class CCLCMsg_FileCRCCheck
168
+ include Beefcake::Message
169
+ end
170
+
171
+ class CCLCMsg_LoadingProgress
172
+ include Beefcake::Message
173
+ end
174
+
175
+ class CCLCMsg_SplitPlayerConnect
176
+ include Beefcake::Message
177
+ end
178
+
179
+ class CCLCMsg_CmdKeyValues
180
+ include Beefcake::Message
181
+ end
182
+
183
+ class CSVCMsg_ServerInfo
184
+ include Beefcake::Message
185
+ end
186
+
187
+ class CSVCMsg_ClassInfo
188
+ include Beefcake::Message
189
+
190
+ class Class_t
191
+ include Beefcake::Message
192
+ end
193
+ end
194
+
195
+ class CSVCMsg_SendTable
196
+ include Beefcake::Message
197
+
198
+ class Sendprop_t
199
+ include Beefcake::Message
200
+ end
201
+ end
202
+
203
+ class CSVCMsg_Print
204
+ include Beefcake::Message
205
+ end
206
+
207
+ class CSVCMsg_SetPause
208
+ include Beefcake::Message
209
+ end
210
+
211
+ class CSVCMsg_SetView
212
+ include Beefcake::Message
213
+ end
214
+
215
+ class CSVCMsg_CreateStringTable
216
+ include Beefcake::Message
217
+ end
218
+
219
+ class CSVCMsg_UpdateStringTable
220
+ include Beefcake::Message
221
+ end
222
+
223
+ class CSVCMsg_VoiceInit
224
+ include Beefcake::Message
225
+ end
226
+
227
+ class CSVCMsg_VoiceData
228
+ include Beefcake::Message
229
+ end
230
+
231
+ class CSVCMsg_FixAngle
232
+ include Beefcake::Message
233
+ end
234
+
235
+ class CSVCMsg_CrosshairAngle
236
+ include Beefcake::Message
237
+ end
238
+
239
+ class CSVCMsg_Prefetch
240
+ include Beefcake::Message
241
+ end
242
+
243
+ class CSVCMsg_BSPDecal
244
+ include Beefcake::Message
245
+ end
246
+
247
+ class CSVCMsg_SplitScreen
248
+ include Beefcake::Message
249
+ end
250
+
251
+ class CSVCMsg_GetCvarValue
252
+ include Beefcake::Message
253
+ end
254
+
255
+ class CSVCMsg_Menu
256
+ include Beefcake::Message
257
+ end
258
+
259
+ class CSVCMsg_UserMessage
260
+ include Beefcake::Message
261
+ end
262
+
263
+ class CSVCMsg_PaintmapData
264
+ include Beefcake::Message
265
+ end
266
+
267
+ class CSVCMsg_GameEvent
268
+ include Beefcake::Message
269
+
270
+ class Key_t
271
+ include Beefcake::Message
272
+ end
273
+ end
274
+
275
+ class CSVCMsg_GameEventList
276
+ include Beefcake::Message
277
+
278
+ class Key_t
279
+ include Beefcake::Message
280
+ end
281
+
282
+ class Descriptor_t
283
+ include Beefcake::Message
284
+ end
285
+ end
286
+
287
+ class CSVCMsg_TempEntities
288
+ include Beefcake::Message
289
+ end
290
+
291
+ class CSVCMsg_PacketEntities
292
+ include Beefcake::Message
293
+ end
294
+
295
+ class CSVCMsg_Sounds
296
+ include Beefcake::Message
297
+
298
+ class Sounddata_t
299
+ include Beefcake::Message
300
+ end
301
+ end
302
+
303
+ class CSVCMsg_EntityMsg
304
+ include Beefcake::Message
305
+ end
306
+
307
+ class CSVCMsg_CmdKeyValues
308
+ include Beefcake::Message
309
+ end
310
+
311
+ class CSVCMsg_EncryptedData
312
+ include Beefcake::Message
313
+ end
314
+
315
+ class CSVCMsg_HltvReplay
316
+ include Beefcake::Message
317
+ end
318
+
319
+ class CCLCMsg_HltvReplay
320
+ include Beefcake::Message
321
+ end
322
+
323
+ class CSVCMsg_Broadcast_Command
324
+ include Beefcake::Message
325
+ end
326
+
327
+ class CMsgVector
328
+ optional :x, :float, 1
329
+ optional :y, :float, 2
330
+ optional :z, :float, 3
331
+ end
332
+
333
+ class CMsgVector2D
334
+ optional :x, :float, 1
335
+ optional :y, :float, 2
336
+ end
337
+
338
+ class CMsgQAngle
339
+ optional :x, :float, 1
340
+ optional :y, :float, 2
341
+ optional :z, :float, 3
342
+ end
343
+
344
+ class CMsgRGBA
345
+ optional :r, :int32, 1
346
+ optional :g, :int32, 2
347
+ optional :b, :int32, 3
348
+ optional :a, :int32, 4
349
+ end
350
+
351
+ class CNETMsg_Tick
352
+ optional :tick, :uint32, 1
353
+ optional :host_computationtime, :uint32, 4
354
+ optional :host_computationtime_std_deviation, :uint32, 5
355
+ optional :host_framestarttime_std_deviation, :uint32, 6
356
+ optional :hltv_replay_flags, :uint32, 7
357
+ end
358
+
359
+ class CNETMsg_StringCmd
360
+ optional :command, :string, 1
361
+ end
362
+
363
+ class CNETMsg_SignonState
364
+ optional :signon_state, :uint32, 1
365
+ optional :spawn_count, :uint32, 2
366
+ optional :num_server_players, :uint32, 3
367
+ repeated :players_networkids, :string, 4
368
+ optional :map_name, :string, 5
369
+ end
370
+
371
+ class CMsg_CVars
372
+
373
+ class CVar
374
+ optional :name, :string, 1
375
+ optional :value, :string, 2
376
+ optional :dictionary_name, :uint32, 3
377
+ end
378
+ repeated :cvars, CMsg_CVars::CVar, 1
379
+ end
380
+
381
+ class CNETMsg_SetConVar
382
+ optional :convars, CMsg_CVars, 1
383
+ end
384
+
385
+ class CNETMsg_NOP
386
+ end
387
+
388
+ class CNETMsg_Disconnect
389
+ optional :text, :string, 1
390
+ end
391
+
392
+ class CNETMsg_File
393
+ optional :transfer_id, :int32, 1
394
+ optional :file_name, :string, 2
395
+ optional :is_replay_demo_file, :bool, 3
396
+ optional :deny, :bool, 4
397
+ end
398
+
399
+ class CNETMsg_SplitScreenUser
400
+ optional :slot, :int32, 1
401
+ end
402
+
403
+ class CNETMsg_PlayerAvatarData
404
+ optional :accountid, :uint32, 1
405
+ optional :rgb, :bytes, 2
406
+ end
407
+
408
+ class CCLCMsg_ClientInfo
409
+ optional :send_table_crc, :fixed32, 1
410
+ optional :server_count, :uint32, 2
411
+ optional :is_hltv, :bool, 3
412
+ optional :is_replay, :bool, 4
413
+ optional :friends_id, :uint32, 5
414
+ optional :friends_name, :string, 6
415
+ repeated :custom_files, :fixed32, 7
416
+ end
417
+
418
+ class CCLCMsg_Move
419
+ optional :num_backup_commands, :uint32, 1
420
+ optional :num_new_commands, :uint32, 2
421
+ optional :data, :bytes, 3
422
+ end
423
+
424
+ class CCLCMsg_VoiceData
425
+ optional :data, :bytes, 1
426
+ optional :xuid, :fixed64, 2
427
+ optional :format, VoiceDataFormat_t, 3, :default => VoiceDataFormat_t::VOICEDATA_FORMAT_ENGINE
428
+ optional :sequence_bytes, :int32, 4
429
+ optional :section_number, :uint32, 5
430
+ optional :uncompressed_sample_offset, :uint32, 6
431
+ end
432
+
433
+ class CCLCMsg_BaselineAck
434
+ optional :baseline_tick, :int32, 1
435
+ optional :baseline_nr, :int32, 2
436
+ end
437
+
438
+ class CCLCMsg_ListenEvents
439
+ repeated :event_mask, :fixed32, 1
440
+ end
441
+
442
+ class CCLCMsg_RespondCvarValue
443
+ optional :cookie, :int32, 1
444
+ optional :status_code, :int32, 2
445
+ optional :name, :string, 3
446
+ optional :value, :string, 4
447
+ end
448
+
449
+ class CCLCMsg_FileCRCCheck
450
+ optional :code_path, :int32, 1
451
+ optional :path, :string, 2
452
+ optional :code_filename, :int32, 3
453
+ optional :filename, :string, 4
454
+ optional :file_fraction, :int32, 5
455
+ optional :md5, :bytes, 6
456
+ optional :crc, :uint32, 7
457
+ optional :file_hash_type, :int32, 8
458
+ optional :file_len, :int32, 9
459
+ optional :pack_file_id, :int32, 10
460
+ optional :pack_file_number, :int32, 11
461
+ end
462
+
463
+ class CCLCMsg_LoadingProgress
464
+ optional :progress, :int32, 1
465
+ end
466
+
467
+ class CCLCMsg_SplitPlayerConnect
468
+ optional :convars, CMsg_CVars, 1
469
+ end
470
+
471
+ class CCLCMsg_CmdKeyValues
472
+ optional :keyvalues, :bytes, 1
473
+ end
474
+
475
+ class CSVCMsg_ServerInfo
476
+ optional :protocol, :int32, 1
477
+ optional :server_count, :int32, 2
478
+ optional :is_dedicated, :bool, 3
479
+ optional :is_official_valve_server, :bool, 4
480
+ optional :is_hltv, :bool, 5
481
+ optional :is_replay, :bool, 6
482
+ optional :is_redirecting_to_proxy_relay, :bool, 21
483
+ optional :c_os, :int32, 7
484
+ optional :map_crc, :fixed32, 8
485
+ optional :client_crc, :fixed32, 9
486
+ optional :string_table_crc, :fixed32, 10
487
+ optional :max_clients, :int32, 11
488
+ optional :max_classes, :int32, 12
489
+ optional :player_slot, :int32, 13
490
+ optional :tick_interval, :float, 14
491
+ optional :game_dir, :string, 15
492
+ optional :map_name, :string, 16
493
+ optional :map_group_name, :string, 17
494
+ optional :sky_name, :string, 18
495
+ optional :host_name, :string, 19
496
+ optional :public_ip, :uint32, 20
497
+ optional :ugc_map_id, :uint64, 22
498
+ end
499
+
500
+ class CSVCMsg_ClassInfo
501
+
502
+ class Class_t
503
+ optional :class_id, :int32, 1
504
+ optional :data_table_name, :string, 2
505
+ optional :class_name, :string, 3
506
+ end
507
+ optional :create_on_client, :bool, 1
508
+ repeated :classes, CSVCMsg_ClassInfo::Class_t, 2
509
+ end
510
+
511
+ class CSVCMsg_SendTable
512
+
513
+ class Sendprop_t
514
+ optional :type, :int32, 1
515
+ optional :var_name, :string, 2
516
+ optional :flags, :int32, 3
517
+ optional :priority, :int32, 4
518
+ optional :dt_name, :string, 5
519
+ optional :num_elements, :int32, 6
520
+ optional :low_value, :float, 7
521
+ optional :high_value, :float, 8
522
+ optional :num_bits, :int32, 9
523
+ end
524
+ optional :is_end, :bool, 1
525
+ optional :net_table_name, :string, 2
526
+ optional :needs_decoder, :bool, 3
527
+ repeated :props, CSVCMsg_SendTable::Sendprop_t, 4
528
+ end
529
+
530
+ class CSVCMsg_Print
531
+ optional :text, :string, 1
532
+ end
533
+
534
+ class CSVCMsg_SetPause
535
+ optional :paused, :bool, 1
536
+ end
537
+
538
+ class CSVCMsg_SetView
539
+ optional :entity_index, :int32, 1
540
+ end
541
+
542
+ class CSVCMsg_CreateStringTable
543
+ optional :name, :string, 1
544
+ optional :max_entries, :int32, 2
545
+ optional :num_entries, :int32, 3
546
+ optional :user_data_fixed_size, :bool, 4
547
+ optional :user_data_size, :int32, 5
548
+ optional :user_data_size_bits, :int32, 6
549
+ optional :flags, :int32, 7
550
+ optional :string_data, :bytes, 8
551
+ end
552
+
553
+ class CSVCMsg_UpdateStringTable
554
+ optional :table_id, :int32, 1
555
+ optional :num_changed_entries, :int32, 2
556
+ optional :string_data, :bytes, 3
557
+ end
558
+
559
+ class CSVCMsg_VoiceInit
560
+ optional :quality, :int32, 1
561
+ optional :codec, :string, 2
562
+ optional :version, :int32, 3, :default => 0
563
+ end
564
+
565
+ class CSVCMsg_VoiceData
566
+ optional :client, :int32, 1
567
+ optional :proximity, :bool, 2
568
+ optional :xuid, :fixed64, 3
569
+ optional :audible_mask, :int32, 4
570
+ optional :voice_data, :bytes, 5
571
+ optional :caster, :bool, 6
572
+ optional :format, VoiceDataFormat_t, 7, :default => VoiceDataFormat_t::VOICEDATA_FORMAT_ENGINE
573
+ optional :sequence_bytes, :int32, 8
574
+ optional :section_number, :uint32, 9
575
+ optional :uncompressed_sample_offset, :uint32, 10
576
+ end
577
+
578
+ class CSVCMsg_FixAngle
579
+ optional :relative, :bool, 1
580
+ optional :angle, CMsgQAngle, 2
581
+ end
582
+
583
+ class CSVCMsg_CrosshairAngle
584
+ optional :angle, CMsgQAngle, 1
585
+ end
586
+
587
+ class CSVCMsg_Prefetch
588
+ optional :sound_index, :int32, 1
589
+ end
590
+
591
+ class CSVCMsg_BSPDecal
592
+ optional :pos, CMsgVector, 1
593
+ optional :decal_texture_index, :int32, 2
594
+ optional :entity_index, :int32, 3
595
+ optional :model_index, :int32, 4
596
+ optional :low_priority, :bool, 5
597
+ end
598
+
599
+ class CSVCMsg_SplitScreen
600
+ optional :type, ESplitScreenMessageType, 1, :default => ESplitScreenMessageType::MSG_SPLITSCREEN_ADDUSER
601
+ optional :slot, :int32, 2
602
+ optional :player_index, :int32, 3
603
+ end
604
+
605
+ class CSVCMsg_GetCvarValue
606
+ optional :cookie, :int32, 1
607
+ optional :cvar_name, :string, 2
608
+ end
609
+
610
+ class CSVCMsg_Menu
611
+ optional :dialog_type, :int32, 1
612
+ optional :menu_key_values, :bytes, 2
613
+ end
614
+
615
+ class CSVCMsg_UserMessage
616
+ optional :msg_type, :int32, 1
617
+ optional :msg_data, :bytes, 2
618
+ optional :passthrough, :int32, 3
619
+ end
620
+
621
+ class CSVCMsg_PaintmapData
622
+ optional :paintmap, :bytes, 1
623
+ end
624
+
625
+ class CSVCMsg_GameEvent
626
+
627
+ class Key_t
628
+ optional :type, :int32, 1
629
+ optional :val_string, :string, 2
630
+ optional :val_float, :float, 3
631
+ optional :val_long, :int32, 4
632
+ optional :val_short, :int32, 5
633
+ optional :val_byte, :int32, 6
634
+ optional :val_bool, :bool, 7
635
+ optional :val_uint64, :uint64, 8
636
+ optional :val_wstring, :bytes, 9
637
+ end
638
+ optional :event_name, :string, 1
639
+ optional :eventid, :int32, 2
640
+ repeated :keys, CSVCMsg_GameEvent::Key_t, 3
641
+ optional :passthrough, :int32, 4
642
+ end
643
+
644
+ class CSVCMsg_GameEventList
645
+
646
+ class Key_t
647
+ optional :type, :int32, 1
648
+ optional :name, :string, 2
649
+ end
650
+
651
+ class Descriptor_t
652
+ optional :eventid, :int32, 1
653
+ optional :name, :string, 2
654
+ repeated :keys, CSVCMsg_GameEventList::Key_t, 3
655
+ end
656
+ repeated :descriptors, CSVCMsg_GameEventList::Descriptor_t, 1
657
+ end
658
+
659
+ class CSVCMsg_TempEntities
660
+ optional :reliable, :bool, 1
661
+ optional :num_entries, :int32, 2
662
+ optional :entity_data, :bytes, 3
663
+ end
664
+
665
+ class CSVCMsg_PacketEntities
666
+ optional :max_entries, :int32, 1
667
+ optional :updated_entries, :int32, 2
668
+ optional :is_delta, :bool, 3
669
+ optional :update_baseline, :bool, 4
670
+ optional :baseline, :int32, 5
671
+ optional :delta_from, :int32, 6
672
+ optional :entity_data, :bytes, 7
673
+ end
674
+
675
+ class CSVCMsg_Sounds
676
+
677
+ class Sounddata_t
678
+ optional :origin_x, :sint32, 1
679
+ optional :origin_y, :sint32, 2
680
+ optional :origin_z, :sint32, 3
681
+ optional :volume, :uint32, 4
682
+ optional :delay_value, :float, 5
683
+ optional :sequence_number, :int32, 6
684
+ optional :entity_index, :int32, 7
685
+ optional :channel, :int32, 8
686
+ optional :pitch, :int32, 9
687
+ optional :flags, :int32, 10
688
+ optional :sound_num, :uint32, 11
689
+ optional :sound_num_handle, :fixed32, 12
690
+ optional :speaker_entity, :int32, 13
691
+ optional :random_seed, :int32, 14
692
+ optional :sound_level, :int32, 15
693
+ optional :is_sentence, :bool, 16
694
+ optional :is_ambient, :bool, 17
695
+ end
696
+ optional :reliable_sound, :bool, 1
697
+ repeated :sounds, CSVCMsg_Sounds::Sounddata_t, 2
698
+ end
699
+
700
+ class CSVCMsg_EntityMsg
701
+ optional :ent_index, :int32, 1
702
+ optional :class_id, :int32, 2
703
+ optional :ent_data, :bytes, 3
704
+ end
705
+
706
+ class CSVCMsg_CmdKeyValues
707
+ optional :keyvalues, :bytes, 1
708
+ end
709
+
710
+ class CSVCMsg_EncryptedData
711
+ optional :encrypted, :bytes, 1
712
+ optional :key_type, :int32, 2
713
+ end
714
+
715
+ class CSVCMsg_HltvReplay
716
+ optional :delay, :int32, 1
717
+ optional :primary_target, :int32, 2
718
+ optional :replay_stop_at, :int32, 3
719
+ optional :replay_start_at, :int32, 4
720
+ optional :replay_slowdown_begin, :int32, 5
721
+ optional :replay_slowdown_end, :int32, 6
722
+ optional :replay_slowdown_rate, :float, 7
723
+ end
724
+
725
+ class CCLCMsg_HltvReplay
726
+ optional :request, :int32, 1
727
+ optional :slowdown_length, :float, 2
728
+ optional :slowdown_rate, :float, 3
729
+ optional :primary_target_ent_index, :int32, 4
730
+ optional :event_time, :float, 5
731
+ end
732
+
733
+ class CSVCMsg_Broadcast_Command
734
+ optional :cmd, :string, 1
735
+ end
736
+ end