rlbot-flatbuffers 0.13.2__cp310-abi3-win_amd64.whl → 0.14.1__cp310-abi3-win_amd64.whl

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.
@@ -91,10 +91,21 @@ class BallAnchor:
91
91
  index: int = 0,
92
92
  local: Vector3 = Vector3(),
93
93
  ): ...
94
- def pack(self) -> bytes: ...
94
+ def pack(self) -> bytes:
95
+ """
96
+ Serializes this instance into a byte array
97
+ """
98
+ def unpack_with(self, data: bytes):
99
+ """
100
+ Deserializes the data into this instance
101
+
102
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
103
+ """
95
104
  @staticmethod
96
105
  def unpack(data: bytes) -> BallAnchor:
97
106
  """
107
+ Deserializes the data into a new instance
108
+
98
109
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
99
110
  """
100
111
  def __str__(self) -> str: ...
@@ -139,17 +150,28 @@ class BallInfo:
139
150
  def __new__(
140
151
  cls,
141
152
  physics: Physics = Physics(),
142
- shape: Optional[BoxShape | SphereShape | CylinderShape] = None,
153
+ shape: BoxShape | SphereShape | CylinderShape = BoxShape(),
143
154
  ): ...
144
155
  def __init__(
145
156
  self,
146
157
  physics: Physics = Physics(),
147
- shape: Optional[BoxShape | SphereShape | CylinderShape] = None,
158
+ shape: BoxShape | SphereShape | CylinderShape = BoxShape(),
148
159
  ): ...
149
- def pack(self) -> bytes: ...
160
+ def pack(self) -> bytes:
161
+ """
162
+ Serializes this instance into a byte array
163
+ """
164
+ def unpack_with(self, data: bytes):
165
+ """
166
+ Deserializes the data into this instance
167
+
168
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
169
+ """
150
170
  @staticmethod
151
171
  def unpack(data: bytes) -> BallInfo:
152
172
  """
173
+ Deserializes the data into a new instance
174
+
153
175
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
154
176
  """
155
177
  def __str__(self) -> str: ...
@@ -195,10 +217,21 @@ class BallPrediction:
195
217
  self,
196
218
  slices: Sequence[PredictionSlice] = [],
197
219
  ): ...
198
- def pack(self) -> bytes: ...
220
+ def pack(self) -> bytes:
221
+ """
222
+ Serializes this instance into a byte array
223
+ """
224
+ def unpack_with(self, data: bytes):
225
+ """
226
+ Deserializes the data into this instance
227
+
228
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
229
+ """
199
230
  @staticmethod
200
231
  def unpack(data: bytes) -> BallPrediction:
201
232
  """
233
+ Deserializes the data into a new instance
234
+
202
235
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
203
236
  """
204
237
  def __str__(self) -> str: ...
@@ -279,21 +312,32 @@ class Bool:
279
312
  self,
280
313
  val: bool = False,
281
314
  ): ...
282
- def pack(self) -> bytes: ...
315
+ def pack(self) -> bytes:
316
+ """
317
+ Serializes this instance into a byte array
318
+ """
319
+ def unpack_with(self, data: bytes):
320
+ """
321
+ Deserializes the data into this instance
322
+
323
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
324
+ """
283
325
  @staticmethod
284
326
  def unpack(data: bytes) -> Bool:
285
327
  """
328
+ Deserializes the data into a new instance
329
+
286
330
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
287
331
  """
288
332
  def __str__(self) -> str: ...
289
333
  def __repr__(self) -> str: ...
290
334
 
291
- class BoostMutator:
292
- NormalBoost = BoostMutator(0)
293
- UnlimitedBoost = BoostMutator(1)
294
- SlowRecharge = BoostMutator(2)
295
- RapidRecharge = BoostMutator(3)
296
- NoBoost = BoostMutator(4)
335
+ class BoostAmountMutator:
336
+ NormalBoost = BoostAmountMutator(0)
337
+ UnlimitedBoost = BoostAmountMutator(1)
338
+ SlowRecharge = BoostAmountMutator(2)
339
+ RapidRecharge = BoostAmountMutator(3)
340
+ NoBoost = BoostAmountMutator(4)
297
341
 
298
342
  def __new__(cls, value: int = 0): ...
299
343
  def __init__(self, value: int = 0):
@@ -301,7 +345,7 @@ class BoostMutator:
301
345
  :raises ValueError: If the `value` is not a valid enum value
302
346
  """
303
347
  def __int__(self) -> int: ...
304
- def __eq__(self, other: BoostMutator) -> bool: ...
348
+ def __eq__(self, other: BoostAmountMutator) -> bool: ...
305
349
  def __hash__(self) -> str: ...
306
350
  def __str__(self) -> str: ...
307
351
  def __repr__(self) -> str: ...
@@ -336,10 +380,15 @@ class BoostPad:
336
380
  location: Vector3 = Vector3(),
337
381
  is_full_boost: bool = False,
338
382
  ): ...
339
- def pack(self) -> bytes: ...
383
+ def pack(self) -> bytes:
384
+ """
385
+ Serializes this instance into a byte array
386
+ """
340
387
  @staticmethod
341
388
  def unpack(data: bytes) -> BoostPad:
342
389
  """
390
+ Deserializes the data into a new instance
391
+
343
392
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
344
393
  """
345
394
  def __str__(self) -> str: ...
@@ -368,10 +417,21 @@ class BoostPadState:
368
417
  is_active: bool = False,
369
418
  timer: float = 0,
370
419
  ): ...
371
- def pack(self) -> bytes: ...
420
+ def pack(self) -> bytes:
421
+ """
422
+ Serializes this instance into a byte array
423
+ """
424
+ def unpack_with(self, data: bytes):
425
+ """
426
+ Deserializes the data into this instance
427
+
428
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
429
+ """
372
430
  @staticmethod
373
431
  def unpack(data: bytes) -> BoostPadState:
374
432
  """
433
+ Deserializes the data into a new instance
434
+
375
435
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
376
436
  """
377
437
  def __str__(self) -> str: ...
@@ -422,10 +482,21 @@ class BoxShape:
422
482
  width: float = 0,
423
483
  height: float = 0,
424
484
  ): ...
425
- def pack(self) -> bytes: ...
485
+ def pack(self) -> bytes:
486
+ """
487
+ Serializes this instance into a byte array
488
+ """
489
+ def unpack_with(self, data: bytes):
490
+ """
491
+ Deserializes the data into this instance
492
+
493
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
494
+ """
426
495
  @staticmethod
427
496
  def unpack(data: bytes) -> BoxShape:
428
497
  """
498
+ Deserializes the data into a new instance
499
+
429
500
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
430
501
  """
431
502
  def __str__(self) -> str: ...
@@ -461,23 +532,34 @@ class CarAnchor:
461
532
  index: int = 0,
462
533
  local: Vector3 = Vector3(),
463
534
  ): ...
464
- def pack(self) -> bytes: ...
535
+ def pack(self) -> bytes:
536
+ """
537
+ Serializes this instance into a byte array
538
+ """
539
+ def unpack_with(self, data: bytes):
540
+ """
541
+ Deserializes the data into this instance
542
+
543
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
544
+ """
465
545
  @staticmethod
466
546
  def unpack(data: bytes) -> CarAnchor:
467
547
  """
548
+ Deserializes the data into a new instance
549
+
468
550
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
469
551
  """
470
552
  def __str__(self) -> str: ...
471
553
  def __repr__(self) -> str: ...
472
554
 
473
555
  class CollisionShape:
474
- item: Optional[BoxShape | SphereShape | CylinderShape]
556
+ item: BoxShape | SphereShape | CylinderShape
475
557
 
476
558
  def __new__(
477
- cls, item: Optional[BoxShape | SphereShape | CylinderShape] = None
559
+ cls, item: BoxShape | SphereShape | CylinderShape = BoxShape()
478
560
  ): ...
479
561
  def __init__(
480
- self, item: Optional[BoxShape | SphereShape | CylinderShape] = None
562
+ self, item: BoxShape | SphereShape | CylinderShape = BoxShape()
481
563
  ): ...
482
564
 
483
565
  def __str__(self) -> str: ...
@@ -501,19 +583,30 @@ class Color:
501
583
  r: int = 0,
502
584
  g: int = 0,
503
585
  b: int = 0,
504
- a: int = 0,
586
+ a: int = 255,
505
587
  ): ...
506
588
  def __init__(
507
589
  self,
508
590
  r: int = 0,
509
591
  g: int = 0,
510
592
  b: int = 0,
511
- a: int = 0,
593
+ a: int = 255,
512
594
  ): ...
513
- def pack(self) -> bytes: ...
595
+ def pack(self) -> bytes:
596
+ """
597
+ Serializes this instance into a byte array
598
+ """
599
+ def unpack_with(self, data: bytes):
600
+ """
601
+ Deserializes the data into this instance
602
+
603
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
604
+ """
514
605
  @staticmethod
515
606
  def unpack(data: bytes) -> Color:
516
607
  """
608
+ Deserializes the data into a new instance
609
+
517
610
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
518
611
  """
519
612
  def __str__(self) -> str: ...
@@ -564,10 +657,21 @@ class ConnectionSettings:
564
657
  wants_comms: bool = False,
565
658
  close_between_matches: bool = False,
566
659
  ): ...
567
- def pack(self) -> bytes: ...
660
+ def pack(self) -> bytes:
661
+ """
662
+ Serializes this instance into a byte array
663
+ """
664
+ def unpack_with(self, data: bytes):
665
+ """
666
+ Deserializes the data into this instance
667
+
668
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
669
+ """
568
670
  @staticmethod
569
671
  def unpack(data: bytes) -> ConnectionSettings:
570
672
  """
673
+ Deserializes the data into a new instance
674
+
571
675
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
572
676
  """
573
677
  def __str__(self) -> str: ...
@@ -592,10 +696,21 @@ class ConsoleCommand:
592
696
  self,
593
697
  command: str = "",
594
698
  ): ...
595
- def pack(self) -> bytes: ...
699
+ def pack(self) -> bytes:
700
+ """
701
+ Serializes this instance into a byte array
702
+ """
703
+ def unpack_with(self, data: bytes):
704
+ """
705
+ Deserializes the data into this instance
706
+
707
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
708
+ """
596
709
  @staticmethod
597
710
  def unpack(data: bytes) -> ConsoleCommand:
598
711
  """
712
+ Deserializes the data into a new instance
713
+
599
714
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
600
715
  """
601
716
  def __str__(self) -> str: ...
@@ -631,10 +746,15 @@ class ControllableInfo:
631
746
  index: int = 0,
632
747
  spawn_id: int = 0,
633
748
  ): ...
634
- def pack(self) -> bytes: ...
749
+ def pack(self) -> bytes:
750
+ """
751
+ Serializes this instance into a byte array
752
+ """
635
753
  @staticmethod
636
754
  def unpack(data: bytes) -> ControllableInfo:
637
755
  """
756
+ Deserializes the data into a new instance
757
+
638
758
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
639
759
  """
640
760
  def __str__(self) -> str: ...
@@ -670,10 +790,15 @@ class ControllableTeamInfo:
670
790
  team: int = 0,
671
791
  controllables: Sequence[ControllableInfo] = [],
672
792
  ): ...
673
- def pack(self) -> bytes: ...
793
+ def pack(self) -> bytes:
794
+ """
795
+ Serializes this instance into a byte array
796
+ """
674
797
  @staticmethod
675
798
  def unpack(data: bytes) -> ControllableTeamInfo:
676
799
  """
800
+ Deserializes the data into a new instance
801
+
677
802
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
678
803
  """
679
804
  def __str__(self) -> str: ...
@@ -726,10 +851,21 @@ class ControllerState:
726
851
  handbrake: bool = False,
727
852
  use_item: bool = False,
728
853
  ): ...
729
- def pack(self) -> bytes: ...
854
+ def pack(self) -> bytes:
855
+ """
856
+ Serializes this instance into a byte array
857
+ """
858
+ def unpack_with(self, data: bytes):
859
+ """
860
+ Deserializes the data into this instance
861
+
862
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
863
+ """
730
864
  @staticmethod
731
865
  def unpack(data: bytes) -> ControllerState:
732
866
  """
867
+ Deserializes the data into a new instance
868
+
733
869
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
734
870
  """
735
871
  def __str__(self) -> str: ...
@@ -740,10 +876,21 @@ class CustomBot:
740
876
  A bot controlled by the RLBot framework.
741
877
  """
742
878
  def __init__(self): ...
743
- def pack(self) -> bytes: ...
879
+ def pack(self) -> bytes:
880
+ """
881
+ Serializes this instance into a byte array
882
+ """
883
+ def unpack_with(self, data: bytes):
884
+ """
885
+ Deserializes the data into this instance
886
+
887
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
888
+ """
744
889
  @staticmethod
745
890
  def unpack(data: bytes) -> CustomBot:
746
891
  """
892
+ Deserializes the data into a new instance
893
+
747
894
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
748
895
  """
749
896
  def __str__(self) -> str: ...
@@ -772,10 +919,21 @@ class CylinderShape:
772
919
  diameter: float = 0,
773
920
  height: float = 0,
774
921
  ): ...
775
- def pack(self) -> bytes: ...
922
+ def pack(self) -> bytes:
923
+ """
924
+ Serializes this instance into a byte array
925
+ """
926
+ def unpack_with(self, data: bytes):
927
+ """
928
+ Deserializes the data into this instance
929
+
930
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
931
+ """
776
932
  @staticmethod
777
933
  def unpack(data: bytes) -> CylinderShape:
778
934
  """
935
+ Deserializes the data into a new instance
936
+
779
937
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
780
938
  """
781
939
  def __str__(self) -> str: ...
@@ -818,10 +976,21 @@ class DesiredBallState:
818
976
  self,
819
977
  physics: DesiredPhysics = DesiredPhysics(),
820
978
  ): ...
821
- def pack(self) -> bytes: ...
979
+ def pack(self) -> bytes:
980
+ """
981
+ Serializes this instance into a byte array
982
+ """
983
+ def unpack_with(self, data: bytes):
984
+ """
985
+ Deserializes the data into this instance
986
+
987
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
988
+ """
822
989
  @staticmethod
823
990
  def unpack(data: bytes) -> DesiredBallState:
824
991
  """
992
+ Deserializes the data into a new instance
993
+
825
994
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
826
995
  """
827
996
  def __str__(self) -> str: ...
@@ -850,10 +1019,21 @@ class DesiredCarState:
850
1019
  physics: Optional[DesiredPhysics] = None,
851
1020
  boost_amount: Optional[Float | float] = None,
852
1021
  ): ...
853
- def pack(self) -> bytes: ...
1022
+ def pack(self) -> bytes:
1023
+ """
1024
+ Serializes this instance into a byte array
1025
+ """
1026
+ def unpack_with(self, data: bytes):
1027
+ """
1028
+ Deserializes the data into this instance
1029
+
1030
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1031
+ """
854
1032
  @staticmethod
855
1033
  def unpack(data: bytes) -> DesiredCarState:
856
1034
  """
1035
+ Deserializes the data into a new instance
1036
+
857
1037
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
858
1038
  """
859
1039
  def __str__(self) -> str: ...
@@ -904,10 +1084,21 @@ class DesiredGameState:
904
1084
  match_info: Optional[DesiredMatchInfo] = None,
905
1085
  console_commands: Sequence[ConsoleCommand] = [],
906
1086
  ): ...
907
- def pack(self) -> bytes: ...
1087
+ def pack(self) -> bytes:
1088
+ """
1089
+ Serializes this instance into a byte array
1090
+ """
1091
+ def unpack_with(self, data: bytes):
1092
+ """
1093
+ Deserializes the data into this instance
1094
+
1095
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1096
+ """
908
1097
  @staticmethod
909
1098
  def unpack(data: bytes) -> DesiredGameState:
910
1099
  """
1100
+ Deserializes the data into a new instance
1101
+
911
1102
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
912
1103
  """
913
1104
  def __str__(self) -> str: ...
@@ -943,10 +1134,21 @@ class DesiredMatchInfo:
943
1134
  world_gravity_z: Optional[Float | float] = None,
944
1135
  game_speed: Optional[Float | float] = None,
945
1136
  ): ...
946
- def pack(self) -> bytes: ...
1137
+ def pack(self) -> bytes:
1138
+ """
1139
+ Serializes this instance into a byte array
1140
+ """
1141
+ def unpack_with(self, data: bytes):
1142
+ """
1143
+ Deserializes the data into this instance
1144
+
1145
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1146
+ """
947
1147
  @staticmethod
948
1148
  def unpack(data: bytes) -> DesiredMatchInfo:
949
1149
  """
1150
+ Deserializes the data into a new instance
1151
+
950
1152
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
951
1153
  """
952
1154
  def __str__(self) -> str: ...
@@ -984,10 +1186,21 @@ class DesiredPhysics:
984
1186
  velocity: Optional[Vector3Partial] = None,
985
1187
  angular_velocity: Optional[Vector3Partial] = None,
986
1188
  ): ...
987
- def pack(self) -> bytes: ...
1189
+ def pack(self) -> bytes:
1190
+ """
1191
+ Serializes this instance into a byte array
1192
+ """
1193
+ def unpack_with(self, data: bytes):
1194
+ """
1195
+ Deserializes the data into this instance
1196
+
1197
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1198
+ """
988
1199
  @staticmethod
989
1200
  def unpack(data: bytes) -> DesiredPhysics:
990
1201
  """
1202
+ Deserializes the data into a new instance
1203
+
991
1204
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
992
1205
  """
993
1206
  def __str__(self) -> str: ...
@@ -1052,10 +1265,15 @@ class FieldInfo:
1052
1265
  boost_pads: Sequence[BoostPad] = [],
1053
1266
  goals: Sequence[GoalInfo] = [],
1054
1267
  ): ...
1055
- def pack(self) -> bytes: ...
1268
+ def pack(self) -> bytes:
1269
+ """
1270
+ Serializes this instance into a byte array
1271
+ """
1056
1272
  @staticmethod
1057
1273
  def unpack(data: bytes) -> FieldInfo:
1058
1274
  """
1275
+ Deserializes the data into a new instance
1276
+
1059
1277
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1060
1278
  """
1061
1279
  def __str__(self) -> str: ...
@@ -1076,10 +1294,21 @@ class Float:
1076
1294
  self,
1077
1295
  val: float = 0,
1078
1296
  ): ...
1079
- def pack(self) -> bytes: ...
1297
+ def pack(self) -> bytes:
1298
+ """
1299
+ Serializes this instance into a byte array
1300
+ """
1301
+ def unpack_with(self, data: bytes):
1302
+ """
1303
+ Deserializes the data into this instance
1304
+
1305
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1306
+ """
1080
1307
  @staticmethod
1081
1308
  def unpack(data: bytes) -> Float:
1082
1309
  """
1310
+ Deserializes the data into a new instance
1311
+
1083
1312
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1084
1313
  """
1085
1314
  def __str__(self) -> str: ...
@@ -1175,10 +1404,21 @@ class GamePacket:
1175
1404
  match_info: MatchInfo = MatchInfo(),
1176
1405
  teams: Sequence[TeamInfo] = [],
1177
1406
  ): ...
1178
- def pack(self) -> bytes: ...
1407
+ def pack(self) -> bytes:
1408
+ """
1409
+ Serializes this instance into a byte array
1410
+ """
1411
+ def unpack_with(self, data: bytes):
1412
+ """
1413
+ Deserializes the data into this instance
1414
+
1415
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1416
+ """
1179
1417
  @staticmethod
1180
1418
  def unpack(data: bytes) -> GamePacket:
1181
1419
  """
1420
+ Deserializes the data into a new instance
1421
+
1182
1422
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1183
1423
  """
1184
1424
  def __str__(self) -> str: ...
@@ -1250,10 +1490,15 @@ class GoalInfo:
1250
1490
  width: float = 0,
1251
1491
  height: float = 0,
1252
1492
  ): ...
1253
- def pack(self) -> bytes: ...
1493
+ def pack(self) -> bytes:
1494
+ """
1495
+ Serializes this instance into a byte array
1496
+ """
1254
1497
  @staticmethod
1255
1498
  def unpack(data: bytes) -> GoalInfo:
1256
1499
  """
1500
+ Deserializes the data into a new instance
1501
+
1257
1502
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1258
1503
  """
1259
1504
  def __str__(self) -> str: ...
@@ -1282,10 +1527,21 @@ class Human:
1282
1527
  A normal human player.
1283
1528
  """
1284
1529
  def __init__(self): ...
1285
- def pack(self) -> bytes: ...
1530
+ def pack(self) -> bytes:
1531
+ """
1532
+ Serializes this instance into a byte array
1533
+ """
1534
+ def unpack_with(self, data: bytes):
1535
+ """
1536
+ Deserializes the data into this instance
1537
+
1538
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1539
+ """
1286
1540
  @staticmethod
1287
1541
  def unpack(data: bytes) -> Human:
1288
1542
  """
1543
+ Deserializes the data into a new instance
1544
+
1289
1545
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1290
1546
  """
1291
1547
  def __str__(self) -> str: ...
@@ -1338,10 +1594,21 @@ class Line3D:
1338
1594
  end: RenderAnchor = RenderAnchor(),
1339
1595
  color: Color = Color(),
1340
1596
  ): ...
1341
- def pack(self) -> bytes: ...
1597
+ def pack(self) -> bytes:
1598
+ """
1599
+ Serializes this instance into a byte array
1600
+ """
1601
+ def unpack_with(self, data: bytes):
1602
+ """
1603
+ Deserializes the data into this instance
1604
+
1605
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1606
+ """
1342
1607
  @staticmethod
1343
1608
  def unpack(data: bytes) -> Line3D:
1344
1609
  """
1610
+ Deserializes the data into a new instance
1611
+
1345
1612
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1346
1613
  """
1347
1614
  def __str__(self) -> str: ...
@@ -1393,10 +1660,21 @@ class LoadoutPaint:
1393
1660
  trails_paint_id: int = 0,
1394
1661
  goal_explosion_paint_id: int = 0,
1395
1662
  ): ...
1396
- def pack(self) -> bytes: ...
1663
+ def pack(self) -> bytes:
1664
+ """
1665
+ Serializes this instance into a byte array
1666
+ """
1667
+ def unpack_with(self, data: bytes):
1668
+ """
1669
+ Deserializes the data into this instance
1670
+
1671
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1672
+ """
1397
1673
  @staticmethod
1398
1674
  def unpack(data: bytes) -> LoadoutPaint:
1399
1675
  """
1676
+ Deserializes the data into a new instance
1677
+
1400
1678
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1401
1679
  """
1402
1680
  def __str__(self) -> str: ...
@@ -1458,10 +1736,21 @@ class MatchComm:
1458
1736
  display: Optional[str] = None,
1459
1737
  content: bytes = b"",
1460
1738
  ): ...
1461
- def pack(self) -> bytes: ...
1739
+ def pack(self) -> bytes:
1740
+ """
1741
+ Serializes this instance into a byte array
1742
+ """
1743
+ def unpack_with(self, data: bytes):
1744
+ """
1745
+ Deserializes the data into this instance
1746
+
1747
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1748
+ """
1462
1749
  @staticmethod
1463
1750
  def unpack(data: bytes) -> MatchComm:
1464
1751
  """
1752
+ Deserializes the data into a new instance
1753
+
1465
1754
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1466
1755
  """
1467
1756
  def __str__(self) -> str: ...
@@ -1596,10 +1885,21 @@ class MatchConfiguration:
1596
1885
  auto_save_replay: bool = False,
1597
1886
  freeplay: bool = False,
1598
1887
  ): ...
1599
- def pack(self) -> bytes: ...
1888
+ def pack(self) -> bytes:
1889
+ """
1890
+ Serializes this instance into a byte array
1891
+ """
1892
+ def unpack_with(self, data: bytes):
1893
+ """
1894
+ Deserializes the data into this instance
1895
+
1896
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1897
+ """
1600
1898
  @staticmethod
1601
1899
  def unpack(data: bytes) -> MatchConfiguration:
1602
1900
  """
1901
+ Deserializes the data into a new instance
1902
+
1603
1903
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1604
1904
  """
1605
1905
  def __str__(self) -> str: ...
@@ -1687,10 +1987,21 @@ class MatchInfo:
1687
1987
  last_spectated: int = 0,
1688
1988
  frame_num: int = 0,
1689
1989
  ): ...
1690
- def pack(self) -> bytes: ...
1990
+ def pack(self) -> bytes:
1991
+ """
1992
+ Serializes this instance into a byte array
1993
+ """
1994
+ def unpack_with(self, data: bytes):
1995
+ """
1996
+ Deserializes the data into this instance
1997
+
1998
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
1999
+ """
1691
2000
  @staticmethod
1692
2001
  def unpack(data: bytes) -> MatchInfo:
1693
2002
  """
2003
+ Deserializes the data into a new instance
2004
+
1694
2005
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1695
2006
  """
1696
2007
  def __str__(self) -> str: ...
@@ -1858,9 +2169,9 @@ class MutatorSettings:
1858
2169
  """
1859
2170
  Ball bounciness.
1860
2171
  """
1861
- boost: BoostMutator
2172
+ boost_amount: BoostAmountMutator
1862
2173
  """
1863
- Boost meter behaviour.
2174
+ Boost amount/recharge.
1864
2175
  """
1865
2176
  rumble: RumbleMutator
1866
2177
  """
@@ -1908,7 +2219,7 @@ class MutatorSettings:
1908
2219
  "ball_weight",
1909
2220
  "ball_size",
1910
2221
  "ball_bounciness",
1911
- "boost",
2222
+ "boost_amount",
1912
2223
  "rumble",
1913
2224
  "boost_strength",
1914
2225
  "gravity",
@@ -1932,7 +2243,7 @@ class MutatorSettings:
1932
2243
  ball_weight: BallWeightMutator = BallWeightMutator(),
1933
2244
  ball_size: BallSizeMutator = BallSizeMutator(),
1934
2245
  ball_bounciness: BallBouncinessMutator = BallBouncinessMutator(),
1935
- boost: BoostMutator = BoostMutator(),
2246
+ boost_amount: BoostAmountMutator = BoostAmountMutator(),
1936
2247
  rumble: RumbleMutator = RumbleMutator(),
1937
2248
  boost_strength: BoostStrengthMutator = BoostStrengthMutator(),
1938
2249
  gravity: GravityMutator = GravityMutator(),
@@ -1955,7 +2266,7 @@ class MutatorSettings:
1955
2266
  ball_weight: BallWeightMutator = BallWeightMutator(),
1956
2267
  ball_size: BallSizeMutator = BallSizeMutator(),
1957
2268
  ball_bounciness: BallBouncinessMutator = BallBouncinessMutator(),
1958
- boost: BoostMutator = BoostMutator(),
2269
+ boost_amount: BoostAmountMutator = BoostAmountMutator(),
1959
2270
  rumble: RumbleMutator = RumbleMutator(),
1960
2271
  boost_strength: BoostStrengthMutator = BoostStrengthMutator(),
1961
2272
  gravity: GravityMutator = GravityMutator(),
@@ -1965,10 +2276,21 @@ class MutatorSettings:
1965
2276
  game_event: GameEventMutator = GameEventMutator(),
1966
2277
  audio: AudioMutator = AudioMutator(),
1967
2278
  ): ...
1968
- def pack(self) -> bytes: ...
2279
+ def pack(self) -> bytes:
2280
+ """
2281
+ Serializes this instance into a byte array
2282
+ """
2283
+ def unpack_with(self, data: bytes):
2284
+ """
2285
+ Deserializes the data into this instance
2286
+
2287
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2288
+ """
1969
2289
  @staticmethod
1970
2290
  def unpack(data: bytes) -> MutatorSettings:
1971
2291
  """
2292
+ Deserializes the data into a new instance
2293
+
1972
2294
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
1973
2295
  """
1974
2296
  def __str__(self) -> str: ...
@@ -1996,10 +2318,21 @@ class PartyMember:
1996
2318
  but is actually controlled by a bot.
1997
2319
  """
1998
2320
  def __init__(self): ...
1999
- def pack(self) -> bytes: ...
2321
+ def pack(self) -> bytes:
2322
+ """
2323
+ Serializes this instance into a byte array
2324
+ """
2325
+ def unpack_with(self, data: bytes):
2326
+ """
2327
+ Deserializes the data into this instance
2328
+
2329
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2330
+ """
2000
2331
  @staticmethod
2001
2332
  def unpack(data: bytes) -> PartyMember:
2002
2333
  """
2334
+ Deserializes the data into a new instance
2335
+
2003
2336
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2004
2337
  """
2005
2338
  def __str__(self) -> str: ...
@@ -2032,23 +2365,34 @@ class Physics:
2032
2365
  velocity: Vector3 = Vector3(),
2033
2366
  angular_velocity: Vector3 = Vector3(),
2034
2367
  ): ...
2035
- def pack(self) -> bytes: ...
2368
+ def pack(self) -> bytes:
2369
+ """
2370
+ Serializes this instance into a byte array
2371
+ """
2372
+ def unpack_with(self, data: bytes):
2373
+ """
2374
+ Deserializes the data into this instance
2375
+
2376
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2377
+ """
2036
2378
  @staticmethod
2037
2379
  def unpack(data: bytes) -> Physics:
2038
2380
  """
2381
+ Deserializes the data into a new instance
2382
+
2039
2383
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2040
2384
  """
2041
2385
  def __str__(self) -> str: ...
2042
2386
  def __repr__(self) -> str: ...
2043
2387
 
2044
2388
  class PlayerClass:
2045
- item: Optional[CustomBot | Human | Psyonix | PartyMember]
2389
+ item: CustomBot | Human | Psyonix | PartyMember
2046
2390
 
2047
2391
  def __new__(
2048
- cls, item: Optional[CustomBot | Human | Psyonix | PartyMember] = None
2392
+ cls, item: CustomBot | Human | Psyonix | PartyMember = CustomBot()
2049
2393
  ): ...
2050
2394
  def __init__(
2051
- self, item: Optional[CustomBot | Human | Psyonix | PartyMember] = None
2395
+ self, item: CustomBot | Human | Psyonix | PartyMember = CustomBot()
2052
2396
  ): ...
2053
2397
 
2054
2398
  def __str__(self) -> str: ...
@@ -2118,7 +2462,7 @@ class PlayerConfiguration:
2118
2462
 
2119
2463
  def __new__(
2120
2464
  cls,
2121
- variety: Optional[CustomBot | Human | Psyonix | PartyMember] = None,
2465
+ variety: CustomBot | Human | Psyonix | PartyMember = CustomBot(),
2122
2466
  name: str = "",
2123
2467
  team: int = 0,
2124
2468
  root_dir: str = "",
@@ -2130,7 +2474,7 @@ class PlayerConfiguration:
2130
2474
  ): ...
2131
2475
  def __init__(
2132
2476
  self,
2133
- variety: Optional[CustomBot | Human | Psyonix | PartyMember] = None,
2477
+ variety: CustomBot | Human | Psyonix | PartyMember = CustomBot(),
2134
2478
  name: str = "",
2135
2479
  team: int = 0,
2136
2480
  root_dir: str = "",
@@ -2140,10 +2484,21 @@ class PlayerConfiguration:
2140
2484
  agent_id: str = "",
2141
2485
  hivemind: bool = False,
2142
2486
  ): ...
2143
- def pack(self) -> bytes: ...
2487
+ def pack(self) -> bytes:
2488
+ """
2489
+ Serializes this instance into a byte array
2490
+ """
2491
+ def unpack_with(self, data: bytes):
2492
+ """
2493
+ Deserializes the data into this instance
2494
+
2495
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2496
+ """
2144
2497
  @staticmethod
2145
2498
  def unpack(data: bytes) -> PlayerConfiguration:
2146
2499
  """
2500
+ Deserializes the data into a new instance
2501
+
2147
2502
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2148
2503
  """
2149
2504
  def __str__(self) -> str: ...
@@ -2333,10 +2688,21 @@ class PlayerInfo:
2333
2688
  dodge_elapsed: float = 0,
2334
2689
  dodge_dir: Vector2 = Vector2(),
2335
2690
  ): ...
2336
- def pack(self) -> bytes: ...
2691
+ def pack(self) -> bytes:
2692
+ """
2693
+ Serializes this instance into a byte array
2694
+ """
2695
+ def unpack_with(self, data: bytes):
2696
+ """
2697
+ Deserializes the data into this instance
2698
+
2699
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2700
+ """
2337
2701
  @staticmethod
2338
2702
  def unpack(data: bytes) -> PlayerInfo:
2339
2703
  """
2704
+ Deserializes the data into a new instance
2705
+
2340
2706
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2341
2707
  """
2342
2708
  def __str__(self) -> str: ...
@@ -2365,10 +2731,21 @@ class PlayerInput:
2365
2731
  player_index: int = 0,
2366
2732
  controller_state: ControllerState = ControllerState(),
2367
2733
  ): ...
2368
- def pack(self) -> bytes: ...
2734
+ def pack(self) -> bytes:
2735
+ """
2736
+ Serializes this instance into a byte array
2737
+ """
2738
+ def unpack_with(self, data: bytes):
2739
+ """
2740
+ Deserializes the data into this instance
2741
+
2742
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2743
+ """
2369
2744
  @staticmethod
2370
2745
  def unpack(data: bytes) -> PlayerInput:
2371
2746
  """
2747
+ Deserializes the data into a new instance
2748
+
2372
2749
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2373
2750
  """
2374
2751
  def __str__(self) -> str: ...
@@ -2461,10 +2838,21 @@ class PlayerLoadout:
2461
2838
  primary_color_lookup: Optional[Color] = None,
2462
2839
  secondary_color_lookup: Optional[Color] = None,
2463
2840
  ): ...
2464
- def pack(self) -> bytes: ...
2841
+ def pack(self) -> bytes:
2842
+ """
2843
+ Serializes this instance into a byte array
2844
+ """
2845
+ def unpack_with(self, data: bytes):
2846
+ """
2847
+ Deserializes the data into this instance
2848
+
2849
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2850
+ """
2465
2851
  @staticmethod
2466
2852
  def unpack(data: bytes) -> PlayerLoadout:
2467
2853
  """
2854
+ Deserializes the data into a new instance
2855
+
2468
2856
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2469
2857
  """
2470
2858
  def __str__(self) -> str: ...
@@ -2492,10 +2880,21 @@ class PolyLine3D:
2492
2880
  points: Sequence[Vector3] = [],
2493
2881
  color: Color = Color(),
2494
2882
  ): ...
2495
- def pack(self) -> bytes: ...
2883
+ def pack(self) -> bytes:
2884
+ """
2885
+ Serializes this instance into a byte array
2886
+ """
2887
+ def unpack_with(self, data: bytes):
2888
+ """
2889
+ Deserializes the data into this instance
2890
+
2891
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2892
+ """
2496
2893
  @staticmethod
2497
2894
  def unpack(data: bytes) -> PolyLine3D:
2498
2895
  """
2896
+ Deserializes the data into a new instance
2897
+
2499
2898
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2500
2899
  """
2501
2900
  def __str__(self) -> str: ...
@@ -2523,10 +2922,21 @@ class PredictionSlice:
2523
2922
  game_seconds: float = 0,
2524
2923
  physics: Physics = Physics(),
2525
2924
  ): ...
2526
- def pack(self) -> bytes: ...
2925
+ def pack(self) -> bytes:
2926
+ """
2927
+ Serializes this instance into a byte array
2928
+ """
2929
+ def unpack_with(self, data: bytes):
2930
+ """
2931
+ Deserializes the data into this instance
2932
+
2933
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2934
+ """
2527
2935
  @staticmethod
2528
2936
  def unpack(data: bytes) -> PredictionSlice:
2529
2937
  """
2938
+ Deserializes the data into a new instance
2939
+
2530
2940
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2531
2941
  """
2532
2942
  def __str__(self) -> str: ...
@@ -2550,10 +2960,21 @@ class Psyonix:
2550
2960
  self,
2551
2961
  bot_skill: PsyonixSkill = PsyonixSkill(),
2552
2962
  ): ...
2553
- def pack(self) -> bytes: ...
2963
+ def pack(self) -> bytes:
2964
+ """
2965
+ Serializes this instance into a byte array
2966
+ """
2967
+ def unpack_with(self, data: bytes):
2968
+ """
2969
+ Deserializes the data into this instance
2970
+
2971
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
2972
+ """
2554
2973
  @staticmethod
2555
2974
  def unpack(data: bytes) -> Psyonix:
2556
2975
  """
2976
+ Deserializes the data into a new instance
2977
+
2557
2978
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2558
2979
  """
2559
2980
  def __str__(self) -> str: ...
@@ -2633,10 +3054,21 @@ class Rect2D:
2633
3054
  color: Color = Color(),
2634
3055
  centered: bool = False,
2635
3056
  ): ...
2636
- def pack(self) -> bytes: ...
3057
+ def pack(self) -> bytes:
3058
+ """
3059
+ Serializes this instance into a byte array
3060
+ """
3061
+ def unpack_with(self, data: bytes):
3062
+ """
3063
+ Deserializes the data into this instance
3064
+
3065
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3066
+ """
2637
3067
  @staticmethod
2638
3068
  def unpack(data: bytes) -> Rect2D:
2639
3069
  """
3070
+ Deserializes the data into a new instance
3071
+
2640
3072
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2641
3073
  """
2642
3074
  def __str__(self) -> str: ...
@@ -2685,23 +3117,34 @@ class Rect3D:
2685
3117
  height: float = 0,
2686
3118
  color: Color = Color(),
2687
3119
  ): ...
2688
- def pack(self) -> bytes: ...
3120
+ def pack(self) -> bytes:
3121
+ """
3122
+ Serializes this instance into a byte array
3123
+ """
3124
+ def unpack_with(self, data: bytes):
3125
+ """
3126
+ Deserializes the data into this instance
3127
+
3128
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3129
+ """
2689
3130
  @staticmethod
2690
3131
  def unpack(data: bytes) -> Rect3D:
2691
3132
  """
3133
+ Deserializes the data into a new instance
3134
+
2692
3135
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2693
3136
  """
2694
3137
  def __str__(self) -> str: ...
2695
3138
  def __repr__(self) -> str: ...
2696
3139
 
2697
3140
  class RelativeAnchor:
2698
- item: Optional[BallAnchor | CarAnchor]
3141
+ item: BallAnchor | CarAnchor
2699
3142
 
2700
3143
  def __new__(
2701
- cls, item: Optional[BallAnchor | CarAnchor] = None
3144
+ cls, item: BallAnchor | CarAnchor = BallAnchor()
2702
3145
  ): ...
2703
3146
  def __init__(
2704
- self, item: Optional[BallAnchor | CarAnchor] = None
3147
+ self, item: BallAnchor | CarAnchor = BallAnchor()
2705
3148
  ): ...
2706
3149
 
2707
3150
  def __str__(self) -> str: ...
@@ -2726,10 +3169,21 @@ class RemoveRenderGroup:
2726
3169
  self,
2727
3170
  id: int = 0,
2728
3171
  ): ...
2729
- def pack(self) -> bytes: ...
3172
+ def pack(self) -> bytes:
3173
+ """
3174
+ Serializes this instance into a byte array
3175
+ """
3176
+ def unpack_with(self, data: bytes):
3177
+ """
3178
+ Deserializes the data into this instance
3179
+
3180
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3181
+ """
2730
3182
  @staticmethod
2731
3183
  def unpack(data: bytes) -> RemoveRenderGroup:
2732
3184
  """
3185
+ Deserializes the data into a new instance
3186
+
2733
3187
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2734
3188
  """
2735
3189
  def __str__(self) -> str: ...
@@ -2760,17 +3214,28 @@ class RenderAnchor:
2760
3214
  def __new__(
2761
3215
  cls,
2762
3216
  world: Vector3 = Vector3(),
2763
- relative: Optional[BallAnchor | CarAnchor] = None,
3217
+ relative: BallAnchor | CarAnchor = BallAnchor(),
2764
3218
  ): ...
2765
3219
  def __init__(
2766
3220
  self,
2767
3221
  world: Vector3 = Vector3(),
2768
- relative: Optional[BallAnchor | CarAnchor] = None,
3222
+ relative: BallAnchor | CarAnchor = BallAnchor(),
2769
3223
  ): ...
2770
- def pack(self) -> bytes: ...
3224
+ def pack(self) -> bytes:
3225
+ """
3226
+ Serializes this instance into a byte array
3227
+ """
3228
+ def unpack_with(self, data: bytes):
3229
+ """
3230
+ Deserializes the data into this instance
3231
+
3232
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3233
+ """
2771
3234
  @staticmethod
2772
3235
  def unpack(data: bytes) -> RenderAnchor:
2773
3236
  """
3237
+ Deserializes the data into a new instance
3238
+
2774
3239
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2775
3240
  """
2776
3241
  def __str__(self) -> str: ...
@@ -2807,10 +3272,21 @@ class RenderGroup:
2807
3272
  render_messages: Sequence[RenderMessage] = [],
2808
3273
  id: int = 0,
2809
3274
  ): ...
2810
- def pack(self) -> bytes: ...
3275
+ def pack(self) -> bytes:
3276
+ """
3277
+ Serializes this instance into a byte array
3278
+ """
3279
+ def unpack_with(self, data: bytes):
3280
+ """
3281
+ Deserializes the data into this instance
3282
+
3283
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3284
+ """
2811
3285
  @staticmethod
2812
3286
  def unpack(data: bytes) -> RenderGroup:
2813
3287
  """
3288
+ Deserializes the data into a new instance
3289
+
2814
3290
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2815
3291
  """
2816
3292
  def __str__(self) -> str: ...
@@ -2828,29 +3304,40 @@ class RenderMessage:
2828
3304
 
2829
3305
  def __new__(
2830
3306
  cls,
2831
- variety: Optional[Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D] = None,
3307
+ variety: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D(),
2832
3308
  ): ...
2833
3309
  def __init__(
2834
3310
  self,
2835
- variety: Optional[Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D] = None,
3311
+ variety: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D(),
2836
3312
  ): ...
2837
- def pack(self) -> bytes: ...
3313
+ def pack(self) -> bytes:
3314
+ """
3315
+ Serializes this instance into a byte array
3316
+ """
3317
+ def unpack_with(self, data: bytes):
3318
+ """
3319
+ Deserializes the data into this instance
3320
+
3321
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3322
+ """
2838
3323
  @staticmethod
2839
3324
  def unpack(data: bytes) -> RenderMessage:
2840
3325
  """
3326
+ Deserializes the data into a new instance
3327
+
2841
3328
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2842
3329
  """
2843
3330
  def __str__(self) -> str: ...
2844
3331
  def __repr__(self) -> str: ...
2845
3332
 
2846
3333
  class RenderType:
2847
- item: Optional[Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D]
3334
+ item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D
2848
3335
 
2849
3336
  def __new__(
2850
- cls, item: Optional[Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D] = None
3337
+ cls, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
2851
3338
  ): ...
2852
3339
  def __init__(
2853
- self, item: Optional[Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D] = None
3340
+ self, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
2854
3341
  ): ...
2855
3342
 
2856
3343
  def __str__(self) -> str: ...
@@ -2896,10 +3383,21 @@ class Rotator:
2896
3383
  yaw: float = 0,
2897
3384
  roll: float = 0,
2898
3385
  ): ...
2899
- def pack(self) -> bytes: ...
3386
+ def pack(self) -> bytes:
3387
+ """
3388
+ Serializes this instance into a byte array
3389
+ """
3390
+ def unpack_with(self, data: bytes):
3391
+ """
3392
+ Deserializes the data into this instance
3393
+
3394
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3395
+ """
2900
3396
  @staticmethod
2901
3397
  def unpack(data: bytes) -> Rotator:
2902
3398
  """
3399
+ Deserializes the data into a new instance
3400
+
2903
3401
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2904
3402
  """
2905
3403
  def __str__(self) -> str: ...
@@ -2943,10 +3441,21 @@ class RotatorPartial:
2943
3441
  yaw: Optional[Float | float] = None,
2944
3442
  roll: Optional[Float | float] = None,
2945
3443
  ): ...
2946
- def pack(self) -> bytes: ...
3444
+ def pack(self) -> bytes:
3445
+ """
3446
+ Serializes this instance into a byte array
3447
+ """
3448
+ def unpack_with(self, data: bytes):
3449
+ """
3450
+ Deserializes the data into this instance
3451
+
3452
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3453
+ """
2947
3454
  @staticmethod
2948
3455
  def unpack(data: bytes) -> RotatorPartial:
2949
3456
  """
3457
+ Deserializes the data into a new instance
3458
+
2950
3459
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
2951
3460
  """
2952
3461
  def __str__(self) -> str: ...
@@ -3015,10 +3524,21 @@ class ScoreInfo:
3015
3524
  shots: int = 0,
3016
3525
  demolitions: int = 0,
3017
3526
  ): ...
3018
- def pack(self) -> bytes: ...
3527
+ def pack(self) -> bytes:
3528
+ """
3529
+ Serializes this instance into a byte array
3530
+ """
3531
+ def unpack_with(self, data: bytes):
3532
+ """
3533
+ Deserializes the data into this instance
3534
+
3535
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3536
+ """
3019
3537
  @staticmethod
3020
3538
  def unpack(data: bytes) -> ScoreInfo:
3021
3539
  """
3540
+ Deserializes the data into a new instance
3541
+
3022
3542
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3023
3543
  """
3024
3544
  def __str__(self) -> str: ...
@@ -3077,10 +3597,21 @@ class ScriptConfiguration:
3077
3597
  spawn_id: int = 0,
3078
3598
  agent_id: str = "",
3079
3599
  ): ...
3080
- def pack(self) -> bytes: ...
3600
+ def pack(self) -> bytes:
3601
+ """
3602
+ Serializes this instance into a byte array
3603
+ """
3604
+ def unpack_with(self, data: bytes):
3605
+ """
3606
+ Deserializes the data into this instance
3607
+
3608
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3609
+ """
3081
3610
  @staticmethod
3082
3611
  def unpack(data: bytes) -> ScriptConfiguration:
3083
3612
  """
3613
+ Deserializes the data into a new instance
3614
+
3084
3615
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3085
3616
  """
3086
3617
  def __str__(self) -> str: ...
@@ -3134,10 +3665,21 @@ class SetLoadout:
3134
3665
  index: int = 0,
3135
3666
  loadout: PlayerLoadout = PlayerLoadout(),
3136
3667
  ): ...
3137
- def pack(self) -> bytes: ...
3668
+ def pack(self) -> bytes:
3669
+ """
3670
+ Serializes this instance into a byte array
3671
+ """
3672
+ def unpack_with(self, data: bytes):
3673
+ """
3674
+ Deserializes the data into this instance
3675
+
3676
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3677
+ """
3138
3678
  @staticmethod
3139
3679
  def unpack(data: bytes) -> SetLoadout:
3140
3680
  """
3681
+ Deserializes the data into a new instance
3682
+
3141
3683
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3142
3684
  """
3143
3685
  def __str__(self) -> str: ...
@@ -3162,10 +3704,21 @@ class SphereShape:
3162
3704
  self,
3163
3705
  diameter: float = 0,
3164
3706
  ): ...
3165
- def pack(self) -> bytes: ...
3707
+ def pack(self) -> bytes:
3708
+ """
3709
+ Serializes this instance into a byte array
3710
+ """
3711
+ def unpack_with(self, data: bytes):
3712
+ """
3713
+ Deserializes the data into this instance
3714
+
3715
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3716
+ """
3166
3717
  @staticmethod
3167
3718
  def unpack(data: bytes) -> SphereShape:
3168
3719
  """
3720
+ Deserializes the data into a new instance
3721
+
3169
3722
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3170
3723
  """
3171
3724
  def __str__(self) -> str: ...
@@ -3189,10 +3742,21 @@ class StartCommand:
3189
3742
  self,
3190
3743
  config_path: str = "",
3191
3744
  ): ...
3192
- def pack(self) -> bytes: ...
3745
+ def pack(self) -> bytes:
3746
+ """
3747
+ Serializes this instance into a byte array
3748
+ """
3749
+ def unpack_with(self, data: bytes):
3750
+ """
3751
+ Deserializes the data into this instance
3752
+
3753
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3754
+ """
3193
3755
  @staticmethod
3194
3756
  def unpack(data: bytes) -> StartCommand:
3195
3757
  """
3758
+ Deserializes the data into a new instance
3759
+
3196
3760
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3197
3761
  """
3198
3762
  def __str__(self) -> str: ...
@@ -3216,10 +3780,21 @@ class StopCommand:
3216
3780
  self,
3217
3781
  shutdown_server: bool = False,
3218
3782
  ): ...
3219
- def pack(self) -> bytes: ...
3783
+ def pack(self) -> bytes:
3784
+ """
3785
+ Serializes this instance into a byte array
3786
+ """
3787
+ def unpack_with(self, data: bytes):
3788
+ """
3789
+ Deserializes the data into this instance
3790
+
3791
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3792
+ """
3220
3793
  @staticmethod
3221
3794
  def unpack(data: bytes) -> StopCommand:
3222
3795
  """
3796
+ Deserializes the data into a new instance
3797
+
3223
3798
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3224
3799
  """
3225
3800
  def __str__(self) -> str: ...
@@ -3297,10 +3872,21 @@ class String2D:
3297
3872
  h_align: TextHAlign = TextHAlign(),
3298
3873
  v_align: TextVAlign = TextVAlign(),
3299
3874
  ): ...
3300
- def pack(self) -> bytes: ...
3875
+ def pack(self) -> bytes:
3876
+ """
3877
+ Serializes this instance into a byte array
3878
+ """
3879
+ def unpack_with(self, data: bytes):
3880
+ """
3881
+ Deserializes the data into this instance
3882
+
3883
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3884
+ """
3301
3885
  @staticmethod
3302
3886
  def unpack(data: bytes) -> String2D:
3303
3887
  """
3888
+ Deserializes the data into a new instance
3889
+
3304
3890
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3305
3891
  """
3306
3892
  def __str__(self) -> str: ...
@@ -3370,10 +3956,21 @@ class String3D:
3370
3956
  h_align: TextHAlign = TextHAlign(),
3371
3957
  v_align: TextVAlign = TextVAlign(),
3372
3958
  ): ...
3373
- def pack(self) -> bytes: ...
3959
+ def pack(self) -> bytes:
3960
+ """
3961
+ Serializes this instance into a byte array
3962
+ """
3963
+ def unpack_with(self, data: bytes):
3964
+ """
3965
+ Deserializes the data into this instance
3966
+
3967
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
3968
+ """
3374
3969
  @staticmethod
3375
3970
  def unpack(data: bytes) -> String3D:
3376
3971
  """
3972
+ Deserializes the data into a new instance
3973
+
3377
3974
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3378
3975
  """
3379
3976
  def __str__(self) -> str: ...
@@ -3402,10 +3999,21 @@ class TeamInfo:
3402
3999
  team_index: int = 0,
3403
4000
  score: int = 0,
3404
4001
  ): ...
3405
- def pack(self) -> bytes: ...
4002
+ def pack(self) -> bytes:
4003
+ """
4004
+ Serializes this instance into a byte array
4005
+ """
4006
+ def unpack_with(self, data: bytes):
4007
+ """
4008
+ Deserializes the data into this instance
4009
+
4010
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
4011
+ """
3406
4012
  @staticmethod
3407
4013
  def unpack(data: bytes) -> TeamInfo:
3408
4014
  """
4015
+ Deserializes the data into a new instance
4016
+
3409
4017
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3410
4018
  """
3411
4019
  def __str__(self) -> str: ...
@@ -3485,10 +4093,21 @@ class Touch:
3485
4093
  normal: Vector3 = Vector3(),
3486
4094
  ball_index: int = 0,
3487
4095
  ): ...
3488
- def pack(self) -> bytes: ...
4096
+ def pack(self) -> bytes:
4097
+ """
4098
+ Serializes this instance into a byte array
4099
+ """
4100
+ def unpack_with(self, data: bytes):
4101
+ """
4102
+ Deserializes the data into this instance
4103
+
4104
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
4105
+ """
3489
4106
  @staticmethod
3490
4107
  def unpack(data: bytes) -> Touch:
3491
4108
  """
4109
+ Deserializes the data into a new instance
4110
+
3492
4111
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3493
4112
  """
3494
4113
  def __str__(self) -> str: ...
@@ -3513,10 +4132,21 @@ class Vector2:
3513
4132
  x: float = 0,
3514
4133
  y: float = 0,
3515
4134
  ): ...
3516
- def pack(self) -> bytes: ...
4135
+ def pack(self) -> bytes:
4136
+ """
4137
+ Serializes this instance into a byte array
4138
+ """
4139
+ def unpack_with(self, data: bytes):
4140
+ """
4141
+ Deserializes the data into this instance
4142
+
4143
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
4144
+ """
3517
4145
  @staticmethod
3518
4146
  def unpack(data: bytes) -> Vector2:
3519
4147
  """
4148
+ Deserializes the data into a new instance
4149
+
3520
4150
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3521
4151
  """
3522
4152
  def __str__(self) -> str: ...
@@ -3545,10 +4175,21 @@ class Vector3:
3545
4175
  y: float = 0,
3546
4176
  z: float = 0,
3547
4177
  ): ...
3548
- def pack(self) -> bytes: ...
4178
+ def pack(self) -> bytes:
4179
+ """
4180
+ Serializes this instance into a byte array
4181
+ """
4182
+ def unpack_with(self, data: bytes):
4183
+ """
4184
+ Deserializes the data into this instance
4185
+
4186
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
4187
+ """
3549
4188
  @staticmethod
3550
4189
  def unpack(data: bytes) -> Vector3:
3551
4190
  """
4191
+ Deserializes the data into a new instance
4192
+
3552
4193
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3553
4194
  """
3554
4195
  def __str__(self) -> str: ...
@@ -3582,10 +4223,21 @@ class Vector3Partial:
3582
4223
  y: Optional[Float | float] = None,
3583
4224
  z: Optional[Float | float] = None,
3584
4225
  ): ...
3585
- def pack(self) -> bytes: ...
4226
+ def pack(self) -> bytes:
4227
+ """
4228
+ Serializes this instance into a byte array
4229
+ """
4230
+ def unpack_with(self, data: bytes):
4231
+ """
4232
+ Deserializes the data into this instance
4233
+
4234
+ :raises InvalidFlatbuffer: If the `data` is invalid for this type
4235
+ """
3586
4236
  @staticmethod
3587
4237
  def unpack(data: bytes) -> Vector3Partial:
3588
4238
  """
4239
+ Deserializes the data into a new instance
4240
+
3589
4241
  :raises InvalidFlatbuffer: If the `data` is invalid for this type
3590
4242
  """
3591
4243
  def __str__(self) -> str: ...