-
Notifications
You must be signed in to change notification settings - Fork 0
/
proto.json
477 lines (416 loc) · 17.9 KB
/
proto.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
[
{
"name": "Loadout",
"description": "",
"bits": [
{ "name": "PRIMARY_TOOL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_TOOL_SRT", "type": "U_INT_8[PRIMARY_TOOL_SRT_LENGTH]" },
{ "name": "PRIMARY_MAIN_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_MAIN_SIGHT_SRT", "type": "U_INT_8[PRIMARY_MAIN_SIGHT_SRT_LENGTH]" },
{ "name": "PRIMARY_TOP_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_TOP_SIGHT_SRT", "type": "U_INT_8[PRIMARY_TOP_SIGHT_SRT_LENGTH]" },
{ "name": "PRIMARY_CANTED_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_CANTED_SIGHT_SRT", "type": "U_INT_8[PRIMARY_CANTED_SIGHT_SRT_LENGTH]" },
{ "name": "PRIMARY_BARREL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_BARREL_SRT", "type": "U_INT_8[PRIMARY_BARREL_SRT_LENGTH]" },
{ "name": "PRIMARY_SIDE_RAIL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_SIDE_RAIL_SRT", "type": "U_INT_8[PRIMARY_SIDE_RAIL_SRT_LENGTH]" },
{ "name": "PRIMARY_UNDER_RAIL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_UNDER_RAIL_SRT", "type": "U_INT_8[PRIMARY_UNDER_RAIL_SRT_LENGTH]" },
{ "name": "PRIMARY_BOLT_ACTION_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PRIMARY_BOLT_ACTION_SRT", "type": "U_INT_8[PRIMARY_BOLT_ACTION_SRT_LENGTH]" },
{ "name": "PRIMARY_SKIN_INDEX", "type": "U_INT_8" },
{ "name": "PRIMARY_MAGAZINE_INDEX", "type": "U_INT_8" },
{ "name": "SECONDARY_TOOL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_TOOL_SRT", "type": "U_INT_8[SECONDARY_TOOL_SRT_LENGTH]" },
{ "name": "SECONDARY_MAIN_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_MAIN_SIGHT_SRT", "type": "U_INT_8[SECONDARY_MAIN_SIGHT_SRT_LENGTH]" },
{ "name": "SECONDARY_TOP_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_TOP_SIGHT_SRT", "type": "U_INT_8[SECONDARY_TOP_SIGHT_SRT_LENGTH]" },
{ "name": "SECONDARY_CANTED_SIGHT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_CANTED_SIGHT_SRT", "type": "U_INT_8[SECONDARY_CANTED_SIGHT_SRT_LENGTH]" },
{ "name": "SECONDARY_BARREL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_BARREL_SRT", "type": "U_INT_8[SECONDARY_BARREL_SRT_LENGTH]" },
{ "name": "SECONDARY_SIDE_RAIL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_SIDE_RAIL_SRT", "type": "U_INT_8[SECONDARY_SIDE_RAIL_SRT_LENGTH]" },
{ "name": "SECONDARY_UNDER_RAIL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_UNDER_RAIL_SRT", "type": "U_INT_8[SECONDARY_UNDER_RAIL_SRT_LENGTH]" },
{ "name": "SECONDARY_BOLT_ACTION_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "SECONDARY_BOLT_ACTION_SRT", "type": "U_INT_8[SECONDARY_BOLT_ACTION_SRT_LENGTH]" },
{ "name": "SECONDARY_SKIN_INDEX", "type": "U_INT_8" },
{ "name": "SECONDARY_MAGAZINE_INDEX", "type": "U_INT_8" },
{ "name": "FIRST_AID_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "FIRST_AID_SRT", "type": "U_INT_8[FIRST_AID_SRT_LENGTH]" },
{ "name": "LIGHT_GADGET_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "LIGHT_GADGET_SRT", "type": "U_INT_8[LIGHT_GADGET_SRT_LENGTH]" },
{ "name": "HEAVY_GADGET_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "HEAVY_GADGET_SRT", "type": "U_INT_8[HEAVY_GADGET_SRT_LENGTH]" },
{ "name": "THROWABLE_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "THROWABLE_SRT", "type": "U_INT_8[THROWABLE_SRT_LENGTH]" },
{ "name": "PRIMARY_EXTRA_MAGAZINES", "type": "U_INT_8" },
{ "name": "SECONDARY_EXTRA_MAGAZINES", "type": "U_INT_8" },
{ "name": "FIRST_AID_EXTRA", "type": "U_INT_8" },
{ "name": "LIGHT_GADGET_EXTRA", "type": "U_INT_8" },
{ "name": "HEAVY_GADGET_EXTRA", "type": "U_INT_8" },
{ "name": "THROWABLE_EXTRA", "type": "U_INT_8" },
{ "name": "PLAYER_HEAD_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_HEAD_SRT", "type": "U_INT_8[PLAYER_HEAD_SRT_LENGTH]" },
{ "name": "PLAYER_CHEST_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_CHEST_SRT", "type": "U_INT_8[PLAYER_CHEST_SRT_LENGTH]" },
{ "name": "PLAYER_BELT_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_BELT_SRT", "type": "U_INT_8[PLAYER_BELT_SRT_LENGTH]" },
{ "name": "PLAYER_BACKPACK_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_BACKPACK_SRT", "type": "U_INT_8[PLAYER_BACKPACK_SRT_LENGTH]" },
{ "name": "PLAYER_EYE_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_EYE_SRT", "type": "U_INT_8[PLAYER_EYE_SRT_LENGTH]" },
{ "name": "PLAYER_FACE_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_FACE_SRT", "type": "U_INT_8[PLAYER_FACE_SRT_LENGTH]" },
{ "name": "PLAYER_HAIR_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_HAIR_SRT", "type": "U_INT_8[PLAYER_HAIR_SRT_LENGTH]" },
{ "name": "PLAYER_SKIN_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_SKIN_SRT", "type": "U_INT_8[PLAYER_SKIN_SRT_LENGTH]" },
{ "name": "PLAYER_UNIFORM_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_UNIFORM_SRT", "type": "U_INT_8[PLAYER_UNIFORM_SRT_LENGTH]" },
{ "name": "PLAYER_CAMO_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "PLAYER_CAMO_SRT", "type": "U_INT_8[PLAYER_CAMO_SRT_LENGTH]" }
]
},
{
"name": "PlayerConnected",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 50 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "USERNAME_LENGTH", "type": "U_INT_16_LE" },
{ "name": "USERNAME", "type": "U_INT_8[USERNAME_LENGTH]" },
{ "name": "TEAM", "type": "U_INT_8" },
{ "name": "SQUAD", "type": "U_INT_8" },
{ "name": "ROLE", "type": "U_INT_8" }
]
},
{
"name": "PlayerDisconnected",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 51 },
{ "name": "STEAMID", "type": "U_INT_64_LE" }
]
},
{
"name": "PlayerMessage",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 52 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "MESSAGE_STR_LENGTH", "type": "U_INT_16_LE" },
{ "name": "MESSAGE_STR", "type": "U_INT_8[MESSAGE_STR_LENGTH]" }
]
},
{
"name": "PlayerKilledPlayer",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 53 },
{ "name": "KILLER_STEAMID", "type": "U_INT_64_LE" },
{ "name": "KILLER_X", "type": "FLOAT_LE" },
{ "name": "KILLER_Y", "type": "FLOAT_LE" },
{ "name": "KILLER_Z", "type": "FLOAT_LE" },
{ "name": "VICTIM_STEAMID", "type": "U_INT_64_LE" },
{ "name": "VICTIM_X", "type": "FLOAT_LE" },
{ "name": "VICTIM_Y", "type": "FLOAT_LE" },
{ "name": "VICTIM_Z", "type": "FLOAT_LE" },
{ "name": "TOOL_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "TOOL_SRT", "type": "U_INT_8[TOOL_SRT_LENGTH]" }
]
},
{
"name": "PlayerStats",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 11 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "BANNED", "type": "U_INT_8" },
{ "name": "ROLES", "type": "U_INT_64_LE" },
{ "name": "KILL_COUNT", "type": "U_INT_32_LE" },
{ "name": "LEADER_KILLS", "type": "U_INT_32_LE" },
{ "name": "ASSAULT_KILLS", "type": "U_INT_32_LE" },
{ "name": "MEDIC_KILLS", "type": "U_INT_32_LE" },
{ "name": "ENGINEER_KILLS", "type": "U_INT_32_LE" },
{ "name": "SUPPORT_KILLS", "type": "U_INT_32_LE" },
{ "name": "RECON_KILLS", "type": "U_INT_32_LE" },
{ "name": "DEATH_COUNT", "type": "U_INT_32_LE" },
{ "name": "WIN_COUNT", "type": "U_INT_32_LE" },
{ "name": "LOSE_COUNT", "type": "U_INT_32_LE" },
{ "name": "FRIENDLY_SHOTS", "type": "U_INT_32_LE" },
{ "name": "FRIENDLY_KILLS", "type": "U_INT_32_LE" },
{ "name": "REVIVED", "type": "U_INT_32_LE" },
{ "name": "REVIVED_TEAMMATES", "type": "U_INT_32_LE" },
{ "name": "ASSISTS", "type": "U_INT_32_LE" },
{ "name": "PRESTIGE", "type": "U_INT_32_LE" },
{ "name": "RANK", "type": "U_INT_32_LE" },
{ "name": "EXP", "type": "U_INT_32_LE" },
{ "name": "SHOTS_FIRED", "type": "U_INT_32_LE" },
{ "name": "SHOTS_HIT", "type": "U_INT_32_LE" },
{ "name": "HEADSHOTS", "type": "U_INT_32_LE" },
{ "name": "OBJECTIVES_COMPLETED", "type": "U_INT_32_LE" },
{ "name": "HEALED_HPS", "type": "U_INT_32_LE" },
{ "name": "ROAD_KILLS", "type": "U_INT_32_LE" },
{ "name": "SUICIDES", "type": "U_INT_32_LE" },
{ "name": "VEHICLES_DESTROYED", "type": "U_INT_32_LE" },
{ "name": "VEHICLE_HP_REPAIRED", "type": "U_INT_32_LE" },
{ "name": "LONGEST_KILL", "type": "U_INT_32_LE" },
{ "name": "PLAY_TIME_SECONDS", "type": "U_INT_32_LE" },
{ "name": "LEADER_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "ASSAULT_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "MEDIC_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "ENGINEER_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "SUPPORT_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "RECON_PLAY_TIME", "type": "U_INT_32_LE" },
{ "name": "LEADER_SCORE", "type": "U_INT_32_LE" },
{ "name": "ASSAULT_SCORE", "type": "U_INT_32_LE" },
{ "name": "MEDIC_SCORE", "type": "U_INT_32_LE" },
{ "name": "SUPPORT_SCORE", "type": "U_INT_32_LE" },
{ "name": "ENGINEER_SCORE", "type": "U_INT_32_LE" },
{ "name": "RECON_Score", "type": "U_INT_32_LE" },
{ "name": "TOTAL_SCORE", "type": "U_INT_32_LE" },
{ "name": "TOOL_PROGRESS_SIZE", "type": "U_INT_16_LE" },
{ "name": "TOOL_PROGRESS", "type": "U_INT_8[TOOL_PROGRESS_SIZE]" },
{ "name": "ACHIEVEMENTS_SIZE", "type": "U_INT_16_LE" },
{ "name": "ACHIEVEMENTS", "type": "U_INT_8[ACHIEVEMENTS_SIZE]" },
{ "name": "SELECTIONS_SIZE", "type": "U_INT_16_LE" },
{ "name": "SELECTIONS", "type": "U_INT_8[SELECTIONS_SIZE]" }
]
},
{
"name": "PlayerStatsGet",
"description": "",
"extends": "PlayerStats",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 54 }
]
},
{
"name": "PlayerStatsSave",
"description": "",
"extends": "PlayerStats",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 55 }
]
},
{
"name": "PlayerRoleChangeRequest",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 56 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "ROLE", "type": "U_INT_8" }
]
},
{
"name": "PlayerRoleChanged",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 57 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "ROLE", "type": "U_INT_8" }
]
},
{
"name": "PlayerSquadJoined",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 58 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "SQUAD", "type": "U_INT_8" }
]
},
{
"name": "PlayerSquadLeft",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 59 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "SQUAD", "type": "U_INT_8" }
]
},
{
"name": "PlayerTeamChanged",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 60 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "TEAM", "type": "U_INT_8" }
]
},
{
"name": "PlayerSpawnRequest",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 61 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "REQUESTED_POINT", "type": "U_INT_8" },
{ "name": "LOADOUT", "type": "PACKET[Loadout]" },
{ "name": "SPAWN_POSITION_X", "type": "FLOAT_LE" },
{ "name": "SPAWN_POSITION_Y", "type": "FLOAT_LE" },
{ "name": "SPAWN_POSITION_Z", "type": "FLOAT_LE" },
{ "name": "LOOK_DIRECTION_X", "type": "FLOAT_LE" },
{ "name": "LOOK_DIRECTION_Y", "type": "FLOAT_LE" },
{ "name": "LOOK_DIRECTION_Z", "type": "FLOAT_LE" },
{ "name": "SPAWN_STANCE", "type": "U_INT_8" },
{ "name": "SPAWN_PROTECTION", "type": "FLOAT_LE" },
{ "name": "VEHICLE_ID", "type": "U_INT_16_LE" }
]
},
{
"name": "PlayerSpawn",
"description": "",
"extends": "PlayerSpawnRequest",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 12 }
]
},
{
"name": "PlayerSpawned",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 63 },
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "LOADOUT", "type": "PACKET[Loadout]" }
]
},
{
"name": "PlayerDeath",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 64 },
{ "name": "STEAMID", "type": "U_INT_64_LE" }
]
},
{
"name": "PlayerReport",
"description": "",
"extends": "PlayerSpawnRequest",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 62 },
{ "name": "REPORTER", "type": "U_INT_64_LE" },
{ "name": "REPORTED", "type": "U_INT_64_LE" },
{ "name": "REASON", "type": "U_INT_8" }
]
},
{
"name": "ServerExecuteCommand",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 10 },
{ "name": "COMMAND_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "COMMAND_SRT", "type": "U_INT_8[COMMAND_SRT_LENGTH]" }
]
},
{
"name": "ServerConnect",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 1 },
{ "name": "PORT", "type": "U_INT_16_LE" },
{ "name": "PASSWORD_PROTECTED", "type": "U_INT_8" },
{ "name": "NAME_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "NAME_SRT", "type": "U_INT_8[NAME_SRT_LENGTH]" },
{ "name": "GAMEMODE_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "GAMEMODE_SRT", "type": "U_INT_8[GAMEMODE_SRT_LENGTH]" },
{ "name": "MAP_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "MAP_SRT", "type": "U_INT_8[MAP_SRT_LENGTH]" },
{ "name": "MAP_SIZE", "type": "U_INT_8" },
{ "name": "DAY_NIGHT", "type": "U_INT_8" },
{ "name": "PLAYER_COUNT", "type": "U_INT_8" },
{ "name": "PLAYER_QUEUE", "type": "U_INT_8" },
{ "name": "PLAYER_MAX", "type": "U_INT_8" },
{ "name": "LOADING_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "LOADING_SRT", "type": "U_INT_8[LOADING_SRT_LENGTH]" },
{ "name": "RULES_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "RULES_SRT", "type": "U_INT_8[RULES_SRT_LENGTH]" },
{ "name": "ROOM_PACKET_SIZE", "type": "U_INT_32_LE" },
{ "name": "DAMAGE_MULTIPLIER", "type": "FLOAT_LE" },
{ "name": "BLEEDING_ENABLED", "type": "U_INT_8" },
{ "name": "STAMINA_ENABLED", "type": "U_INT_8" },
{ "name": "FRIENDLY_FIRE_ENABLED", "type": "U_INT_8" },
{ "name": "HIDE_MAP_VOTES", "type": "U_INT_8" },
{ "name": "ONLY_WINNER_TEAM_CAN_VOTE", "type": "U_INT_8" },
{ "name": "HIT_MARKERS_ENABLED", "type": "U_INT_8" },
{ "name": "POINT_LOG_ENABLED", "type": "U_INT_8" },
{ "name": "SPECTATOR_ENABLED", "type": "U_INT_8" },
{ "name": "SQUAD_MEDIC_LIMIT", "type": "U_INT_8" },
{ "name": "SQUAD_ENGINEER_LIMIT", "type": "U_INT_8" },
{ "name": "SQUAD_SUPPORT_LIMIT", "type": "U_INT_8" },
{ "name": "SQUAD_RECON_LIMIT", "type": "U_INT_8" },
{ "name": "ROTATION_PACKET_SIZE", "type": "U_INT_32_LE" },
{ "name": "MAP_COUNT", "type": "U_INT_32_LE" },
{ "name": "MAP", "type": "LOOP[MAP_COUNT]", "bits": [
{ "name": "STR_SIZE", "type": "U_INT_16_LE" },
{ "name": "STR", "type": "U_INT_8[STR_SIZE]" }
]
},
{ "name": "GAMEMODE_COUNT", "type": "U_INT_32_LE" },
{ "name": "GAMEMODE", "type": "LOOP[GAMEMODE_COUNT]", "bits": [
{ "name": "STR_SIZE", "type": "U_INT_16_LE" },
{ "name": "STR", "type": "U_INT_8[STR_SIZE]" }
]
},
{ "name": "CLIENT_COUNT", "type": "U_INT_8" },
{ "name": "CLIENT", "type": "LOOP[CLIENT_COUNT]", "bits": [
{ "name": "STEAMID", "type": "U_INT_64_LE" },
{ "name": "USERNAME_SRT_LENGTH", "type": "U_INT_16_LE" },
{ "name": "USERNAME_SRT", "type": "U_INT_8[USERNAME_SRT_LENGTH]" },
{ "name": "TEAM", "type": "U_INT_8" },
{ "name": "SQUAD", "type": "U_INT_8" },
{ "name": "ROLE", "type": "U_INT_8" },
{ "name": "ALIVE", "type": "U_INT_8" },
{ "name": "LOADOUT", "type": "CONDITIONAL[ALIVE == 1]", "bits": [
{ "name": "PACKET_SIZE", "type": "U_INT_32", "conditional": "" },
{ "name": "LOADOUT", "type": "PACKET[Loadout]" }
]
}
]
}
]
},
{
"name": "ServerAccepted",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 2 }
]
},
{
"name": "ServerDenied",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 3 }
]
},
{
"name": "ServerMapRotationUpdate",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 65 },
{ "name": "MAP_COUNT", "type": "U_INT_32_LE" },
{ "name": "MAP", "type": "LOOP[MAP_COUNT]", "bits": [
{ "name": "STR_SIZE", "type": "U_INT_16_LE" },
{ "name": "STR", "type": "U_INT_8[STR_SIZE]" }
]
}
]
},
{
"name": "ServerGamemodeRotationUpdate",
"description": "",
"bits": [
{ "name": "OPCODE", "type": "U_INT_8", "value": 65 },
{ "name": "GAMEMODE_COUNT", "type": "U_INT_32_LE" },
{ "name": "GAMEMODE", "type": "LOOP[GAMEMODE_COUNT]", "bits": [
{ "name": "STR_SIZE", "type": "U_INT_16_LE" },
{ "name": "STR", "type": "U_INT_8[STR_SIZE]" }
]
}
]
}
]