@@ -1369,6 +1369,18 @@ def hijack_replay_game_event(self, data):
1369
1369
method = data .read_bits (1 ),
1370
1370
)
1371
1371
1372
+ def camera_update_event (self , data ):
1373
+ return dict (
1374
+ target = dict (
1375
+ x = data .read_uint16 (),
1376
+ y = data .read_uint16 (),
1377
+ ) if data .read_bool () else None ,
1378
+ distance = data .read_uint16 () if data .read_bool () else None ,
1379
+ pitch = data .read_uint16 () if data .read_bool () else None ,
1380
+ yaw = data .read_uint16 () if data .read_bool () else None ,
1381
+ reason = None ,
1382
+ )
1383
+
1372
1384
def trigger_target_mode_update_event (self , data ):
1373
1385
return dict (
1374
1386
ability_link = data .read_uint16 (),
@@ -1399,7 +1411,7 @@ def user_options_event(self, data):
1399
1411
sync_checksumming_enabled = data .read_bool (),
1400
1412
is_map_to_map_transition = data .read_bool (),
1401
1413
starting_rally = data .read_bool (),
1402
- debug_pause_enabled = None ,
1414
+ debug_pause_enabled = data . read_bool () ,
1403
1415
base_build_num = data .read_uint32 (),
1404
1416
use_ai_beacons = None ,
1405
1417
)
@@ -1455,7 +1467,7 @@ def camera_update_event(self, data):
1455
1467
target = dict (
1456
1468
x = data .read_uint16 (),
1457
1469
y = data .read_uint16 (),
1458
- ),
1470
+ ) if data . read_bool () else None ,
1459
1471
distance = data .read_uint16 () if data .read_bool () else None ,
1460
1472
pitch = data .read_uint16 () if data .read_bool () else None ,
1461
1473
yaw = data .read_uint16 () if data .read_bool () else None ,
0 commit comments