rlbot-flatbuffers 0.16.1__cp310-abi3-win_amd64.whl → 0.17.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.
- rlbot_flatbuffers/__init__.pyi +336 -439
- rlbot_flatbuffers/rlbot_flatbuffers.pyd +0 -0
- {rlbot_flatbuffers-0.16.1.dist-info → rlbot_flatbuffers-0.17.1.dist-info}/METADATA +2 -2
- rlbot_flatbuffers-0.17.1.dist-info/RECORD +8 -0
- {rlbot_flatbuffers-0.16.1.dist-info → rlbot_flatbuffers-0.17.1.dist-info}/WHEEL +1 -1
- rlbot_flatbuffers-0.16.1.dist-info/RECORD +0 -8
- {rlbot_flatbuffers-0.16.1.dist-info → rlbot_flatbuffers-0.17.1.dist-info}/licenses/LICENSE +0 -0
rlbot_flatbuffers/__init__.pyi
CHANGED
|
@@ -131,12 +131,6 @@ class BallAnchor:
|
|
|
131
131
|
"""
|
|
132
132
|
Serializes this instance into a byte array
|
|
133
133
|
"""
|
|
134
|
-
def unpack_with(self, data: bytes) -> None:
|
|
135
|
-
"""
|
|
136
|
-
Deserializes the data into this instance
|
|
137
|
-
|
|
138
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
139
|
-
"""
|
|
140
134
|
@staticmethod
|
|
141
135
|
def unpack(data: bytes) -> BallAnchor:
|
|
142
136
|
"""
|
|
@@ -214,12 +208,6 @@ class BallInfo:
|
|
|
214
208
|
"""
|
|
215
209
|
Serializes this instance into a byte array
|
|
216
210
|
"""
|
|
217
|
-
def unpack_with(self, data: bytes) -> None:
|
|
218
|
-
"""
|
|
219
|
-
Deserializes the data into this instance
|
|
220
|
-
|
|
221
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
222
|
-
"""
|
|
223
211
|
@staticmethod
|
|
224
212
|
def unpack(data: bytes) -> BallInfo:
|
|
225
213
|
"""
|
|
@@ -274,12 +262,6 @@ class BallPrediction:
|
|
|
274
262
|
"""
|
|
275
263
|
Serializes this instance into a byte array
|
|
276
264
|
"""
|
|
277
|
-
def unpack_with(self, data: bytes) -> None:
|
|
278
|
-
"""
|
|
279
|
-
Deserializes the data into this instance
|
|
280
|
-
|
|
281
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
282
|
-
"""
|
|
283
265
|
@staticmethod
|
|
284
266
|
def unpack(data: bytes) -> BallPrediction:
|
|
285
267
|
"""
|
|
@@ -322,6 +304,8 @@ class BallTypeMutator:
|
|
|
322
304
|
PlayerSeeking = BallTypeMutator(10)
|
|
323
305
|
Dropshot = BallTypeMutator(11)
|
|
324
306
|
ScoreAbsorb = BallTypeMutator(12)
|
|
307
|
+
Shoe = BallTypeMutator(13)
|
|
308
|
+
PizzaPuck = BallTypeMutator(14)
|
|
325
309
|
|
|
326
310
|
def __new__(cls, value: int = 0): ...
|
|
327
311
|
def __init__(self, value: int = 0):
|
|
@@ -342,6 +326,7 @@ class BallWeightMutator:
|
|
|
342
326
|
CurveBall = BallWeightMutator(4)
|
|
343
327
|
BeachBallCurve = BallWeightMutator(5)
|
|
344
328
|
MagnusFutBall = BallWeightMutator(6)
|
|
329
|
+
MagnusFutballLess = BallWeightMutator(7)
|
|
345
330
|
|
|
346
331
|
def __new__(cls, value: int = 0): ...
|
|
347
332
|
def __init__(self, value: int = 0):
|
|
@@ -373,12 +358,6 @@ class Bool:
|
|
|
373
358
|
"""
|
|
374
359
|
Serializes this instance into a byte array
|
|
375
360
|
"""
|
|
376
|
-
def unpack_with(self, data: bytes) -> None:
|
|
377
|
-
"""
|
|
378
|
-
Deserializes the data into this instance
|
|
379
|
-
|
|
380
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
381
|
-
"""
|
|
382
361
|
@staticmethod
|
|
383
362
|
def unpack(data: bytes) -> Bool:
|
|
384
363
|
"""
|
|
@@ -478,12 +457,6 @@ class BoostPadState:
|
|
|
478
457
|
"""
|
|
479
458
|
Serializes this instance into a byte array
|
|
480
459
|
"""
|
|
481
|
-
def unpack_with(self, data: bytes) -> None:
|
|
482
|
-
"""
|
|
483
|
-
Deserializes the data into this instance
|
|
484
|
-
|
|
485
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
486
|
-
"""
|
|
487
460
|
@staticmethod
|
|
488
461
|
def unpack(data: bytes) -> BoostPadState:
|
|
489
462
|
"""
|
|
@@ -543,12 +516,6 @@ class BoxShape:
|
|
|
543
516
|
"""
|
|
544
517
|
Serializes this instance into a byte array
|
|
545
518
|
"""
|
|
546
|
-
def unpack_with(self, data: bytes) -> None:
|
|
547
|
-
"""
|
|
548
|
-
Deserializes the data into this instance
|
|
549
|
-
|
|
550
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
551
|
-
"""
|
|
552
519
|
@staticmethod
|
|
553
520
|
def unpack(data: bytes) -> BoxShape:
|
|
554
521
|
"""
|
|
@@ -593,12 +560,6 @@ class CarAnchor:
|
|
|
593
560
|
"""
|
|
594
561
|
Serializes this instance into a byte array
|
|
595
562
|
"""
|
|
596
|
-
def unpack_with(self, data: bytes) -> None:
|
|
597
|
-
"""
|
|
598
|
-
Deserializes the data into this instance
|
|
599
|
-
|
|
600
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
601
|
-
"""
|
|
602
563
|
@staticmethod
|
|
603
564
|
def unpack(data: bytes) -> CarAnchor:
|
|
604
565
|
"""
|
|
@@ -653,12 +614,6 @@ class Color:
|
|
|
653
614
|
"""
|
|
654
615
|
Serializes this instance into a byte array
|
|
655
616
|
"""
|
|
656
|
-
def unpack_with(self, data: bytes) -> None:
|
|
657
|
-
"""
|
|
658
|
-
Deserializes the data into this instance
|
|
659
|
-
|
|
660
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
661
|
-
"""
|
|
662
617
|
@staticmethod
|
|
663
618
|
def unpack(data: bytes) -> Color:
|
|
664
619
|
"""
|
|
@@ -718,12 +673,6 @@ class ConnectionSettings:
|
|
|
718
673
|
"""
|
|
719
674
|
Serializes this instance into a byte array
|
|
720
675
|
"""
|
|
721
|
-
def unpack_with(self, data: bytes) -> None:
|
|
722
|
-
"""
|
|
723
|
-
Deserializes the data into this instance
|
|
724
|
-
|
|
725
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
726
|
-
"""
|
|
727
676
|
@staticmethod
|
|
728
677
|
def unpack(data: bytes) -> ConnectionSettings:
|
|
729
678
|
"""
|
|
@@ -757,12 +706,6 @@ class ConsoleCommand:
|
|
|
757
706
|
"""
|
|
758
707
|
Serializes this instance into a byte array
|
|
759
708
|
"""
|
|
760
|
-
def unpack_with(self, data: bytes) -> None:
|
|
761
|
-
"""
|
|
762
|
-
Deserializes the data into this instance
|
|
763
|
-
|
|
764
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
765
|
-
"""
|
|
766
709
|
@staticmethod
|
|
767
710
|
def unpack(data: bytes) -> ConsoleCommand:
|
|
768
711
|
"""
|
|
@@ -779,29 +722,29 @@ class ControllableInfo:
|
|
|
779
722
|
"""
|
|
780
723
|
index: int
|
|
781
724
|
"""
|
|
782
|
-
The index of the bot.
|
|
725
|
+
The index of the bot/script.
|
|
783
726
|
"""
|
|
784
|
-
|
|
727
|
+
identifier: int
|
|
785
728
|
"""
|
|
786
|
-
The
|
|
729
|
+
The id of the bot/script.
|
|
787
730
|
This value is mostly used internally to keep track of participants in the match.
|
|
788
|
-
The
|
|
731
|
+
The id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.
|
|
789
732
|
"""
|
|
790
733
|
|
|
791
734
|
__match_args__ = (
|
|
792
735
|
"index",
|
|
793
|
-
"
|
|
736
|
+
"identifier",
|
|
794
737
|
)
|
|
795
738
|
|
|
796
739
|
def __new__(
|
|
797
740
|
cls,
|
|
798
741
|
index: int = 0,
|
|
799
|
-
|
|
742
|
+
identifier: int = 0,
|
|
800
743
|
): ...
|
|
801
744
|
def __init__(
|
|
802
745
|
self,
|
|
803
746
|
index: int = 0,
|
|
804
|
-
|
|
747
|
+
identifier: int = 0,
|
|
805
748
|
): ...
|
|
806
749
|
def pack(self) -> bytes:
|
|
807
750
|
"""
|
|
@@ -912,14 +855,53 @@ class ControllerState:
|
|
|
912
855
|
"""
|
|
913
856
|
Serializes this instance into a byte array
|
|
914
857
|
"""
|
|
915
|
-
|
|
858
|
+
@staticmethod
|
|
859
|
+
def unpack(data: bytes) -> ControllerState:
|
|
916
860
|
"""
|
|
917
|
-
Deserializes the data into
|
|
861
|
+
Deserializes the data into a new instance
|
|
918
862
|
|
|
919
863
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
920
864
|
"""
|
|
865
|
+
def __str__(self) -> str: ...
|
|
866
|
+
def __repr__(self) -> str: ...
|
|
867
|
+
|
|
868
|
+
class CoreMessage:
|
|
869
|
+
item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus
|
|
870
|
+
|
|
871
|
+
def __new__(
|
|
872
|
+
cls, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
873
|
+
): ...
|
|
874
|
+
def __init__(
|
|
875
|
+
self, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
876
|
+
): ...
|
|
877
|
+
|
|
878
|
+
def __str__(self) -> str: ...
|
|
879
|
+
def __repr__(self) -> str: ...
|
|
880
|
+
|
|
881
|
+
class CorePacket:
|
|
882
|
+
"""
|
|
883
|
+
Packet containing a CoreMessage
|
|
884
|
+
"""
|
|
885
|
+
message: CoreMessage
|
|
886
|
+
|
|
887
|
+
__match_args__ = (
|
|
888
|
+
"message",
|
|
889
|
+
)
|
|
890
|
+
|
|
891
|
+
def __new__(
|
|
892
|
+
cls,
|
|
893
|
+
message: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal(),
|
|
894
|
+
): ...
|
|
895
|
+
def __init__(
|
|
896
|
+
self,
|
|
897
|
+
message: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal(),
|
|
898
|
+
): ...
|
|
899
|
+
def pack(self) -> bytes:
|
|
900
|
+
"""
|
|
901
|
+
Serializes this instance into a byte array
|
|
902
|
+
"""
|
|
921
903
|
@staticmethod
|
|
922
|
-
def unpack(data: bytes) ->
|
|
904
|
+
def unpack(data: bytes) -> CorePacket:
|
|
923
905
|
"""
|
|
924
906
|
Deserializes the data into a new instance
|
|
925
907
|
|
|
@@ -932,17 +914,67 @@ class CustomBot:
|
|
|
932
914
|
"""
|
|
933
915
|
A bot controlled by the RLBot framework.
|
|
934
916
|
"""
|
|
935
|
-
|
|
917
|
+
name: str
|
|
918
|
+
"""
|
|
919
|
+
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
920
|
+
duplicate names will be renamed with a suffix like `(2)`
|
|
921
|
+
"""
|
|
922
|
+
root_dir: str
|
|
923
|
+
"""
|
|
924
|
+
The root directory of the bot and the working directory for the run command.
|
|
925
|
+
"""
|
|
926
|
+
run_command: str
|
|
927
|
+
"""
|
|
928
|
+
The console command that starts this bot.
|
|
929
|
+
"""
|
|
930
|
+
loadout: Optional[PlayerLoadout]
|
|
931
|
+
"""
|
|
932
|
+
The loadout of the player.
|
|
933
|
+
"""
|
|
934
|
+
agent_id: str
|
|
935
|
+
"""
|
|
936
|
+
A unique user-defined string that is used to connect clients to the right players/scripts.
|
|
937
|
+
If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID.
|
|
938
|
+
Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two.
|
|
939
|
+
The recommended format for agent ids is "developer_name/bot_name".
|
|
940
|
+
"""
|
|
941
|
+
hivemind: bool
|
|
942
|
+
"""
|
|
943
|
+
Whether this player is part of a hivemind bot where all players/cars are controlled by the same process.
|
|
944
|
+
Players in the hivemind must have the same name, team, run command, and agent id.
|
|
945
|
+
"""
|
|
946
|
+
|
|
947
|
+
__match_args__ = (
|
|
948
|
+
"name",
|
|
949
|
+
"root_dir",
|
|
950
|
+
"run_command",
|
|
951
|
+
"loadout",
|
|
952
|
+
"agent_id",
|
|
953
|
+
"hivemind",
|
|
954
|
+
)
|
|
955
|
+
|
|
956
|
+
def __new__(
|
|
957
|
+
cls,
|
|
958
|
+
name: str = "",
|
|
959
|
+
root_dir: str = "",
|
|
960
|
+
run_command: str = "",
|
|
961
|
+
loadout: Optional[PlayerLoadout] = None,
|
|
962
|
+
agent_id: str = "",
|
|
963
|
+
hivemind: bool = False,
|
|
964
|
+
): ...
|
|
965
|
+
def __init__(
|
|
966
|
+
self,
|
|
967
|
+
name: str = "",
|
|
968
|
+
root_dir: str = "",
|
|
969
|
+
run_command: str = "",
|
|
970
|
+
loadout: Optional[PlayerLoadout] = None,
|
|
971
|
+
agent_id: str = "",
|
|
972
|
+
hivemind: bool = False,
|
|
973
|
+
): ...
|
|
936
974
|
def pack(self) -> bytes:
|
|
937
975
|
"""
|
|
938
976
|
Serializes this instance into a byte array
|
|
939
977
|
"""
|
|
940
|
-
def unpack_with(self, data: bytes) -> None:
|
|
941
|
-
"""
|
|
942
|
-
Deserializes the data into this instance
|
|
943
|
-
|
|
944
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
945
|
-
"""
|
|
946
978
|
@staticmethod
|
|
947
979
|
def unpack(data: bytes) -> CustomBot:
|
|
948
980
|
"""
|
|
@@ -980,12 +1012,6 @@ class CylinderShape:
|
|
|
980
1012
|
"""
|
|
981
1013
|
Serializes this instance into a byte array
|
|
982
1014
|
"""
|
|
983
|
-
def unpack_with(self, data: bytes) -> None:
|
|
984
|
-
"""
|
|
985
|
-
Deserializes the data into this instance
|
|
986
|
-
|
|
987
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
988
|
-
"""
|
|
989
1015
|
@staticmethod
|
|
990
1016
|
def unpack(data: bytes) -> CylinderShape:
|
|
991
1017
|
"""
|
|
@@ -996,6 +1022,31 @@ class CylinderShape:
|
|
|
996
1022
|
def __str__(self) -> str: ...
|
|
997
1023
|
def __repr__(self) -> str: ...
|
|
998
1024
|
|
|
1025
|
+
class DebugRendering:
|
|
1026
|
+
OffByDefault = DebugRendering(0)
|
|
1027
|
+
"""
|
|
1028
|
+
Renders are ignored unless explicitly enabled per-agent
|
|
1029
|
+
"""
|
|
1030
|
+
OnByDefault = DebugRendering(1)
|
|
1031
|
+
"""
|
|
1032
|
+
Rendering is enabled for everyone by default
|
|
1033
|
+
"""
|
|
1034
|
+
AlwaysOff = DebugRendering(2)
|
|
1035
|
+
"""
|
|
1036
|
+
Ignore all render attempts at all times
|
|
1037
|
+
"""
|
|
1038
|
+
|
|
1039
|
+
def __new__(cls, value: int = 0): ...
|
|
1040
|
+
def __init__(self, value: int = 0):
|
|
1041
|
+
"""
|
|
1042
|
+
:raises ValueError: If the `value` is not a valid enum value
|
|
1043
|
+
"""
|
|
1044
|
+
def __int__(self) -> int: ...
|
|
1045
|
+
def __eq__(self, other: DebugRendering) -> bool: ...
|
|
1046
|
+
def __hash__(self) -> str: ...
|
|
1047
|
+
def __str__(self) -> str: ...
|
|
1048
|
+
def __repr__(self) -> str: ...
|
|
1049
|
+
|
|
999
1050
|
class DemolishMutator:
|
|
1000
1051
|
Default = DemolishMutator(0)
|
|
1001
1052
|
Disabled = DemolishMutator(1)
|
|
@@ -1004,6 +1055,8 @@ class DemolishMutator:
|
|
|
1004
1055
|
OnContactFF = DemolishMutator(4)
|
|
1005
1056
|
OnBallContact = DemolishMutator(5)
|
|
1006
1057
|
OnBallContactFF = DemolishMutator(6)
|
|
1058
|
+
OnBallContactSilent = DemolishMutator(7)
|
|
1059
|
+
OnBallContactFFSilent = DemolishMutator(8)
|
|
1007
1060
|
|
|
1008
1061
|
def __new__(cls, value: int = 0): ...
|
|
1009
1062
|
def __init__(self, value: int = 0):
|
|
@@ -1056,12 +1109,6 @@ class DesiredBallState:
|
|
|
1056
1109
|
"""
|
|
1057
1110
|
Serializes this instance into a byte array
|
|
1058
1111
|
"""
|
|
1059
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1060
|
-
"""
|
|
1061
|
-
Deserializes the data into this instance
|
|
1062
|
-
|
|
1063
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1064
|
-
"""
|
|
1065
1112
|
@staticmethod
|
|
1066
1113
|
def unpack(data: bytes) -> DesiredBallState:
|
|
1067
1114
|
"""
|
|
@@ -1099,12 +1146,6 @@ class DesiredCarState:
|
|
|
1099
1146
|
"""
|
|
1100
1147
|
Serializes this instance into a byte array
|
|
1101
1148
|
"""
|
|
1102
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1103
|
-
"""
|
|
1104
|
-
Deserializes the data into this instance
|
|
1105
|
-
|
|
1106
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1107
|
-
"""
|
|
1108
1149
|
@staticmethod
|
|
1109
1150
|
def unpack(data: bytes) -> DesiredCarState:
|
|
1110
1151
|
"""
|
|
@@ -1164,12 +1205,6 @@ class DesiredGameState:
|
|
|
1164
1205
|
"""
|
|
1165
1206
|
Serializes this instance into a byte array
|
|
1166
1207
|
"""
|
|
1167
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1168
|
-
"""
|
|
1169
|
-
Deserializes the data into this instance
|
|
1170
|
-
|
|
1171
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1172
|
-
"""
|
|
1173
1208
|
@staticmethod
|
|
1174
1209
|
def unpack(data: bytes) -> DesiredGameState:
|
|
1175
1210
|
"""
|
|
@@ -1214,12 +1249,6 @@ class DesiredMatchInfo:
|
|
|
1214
1249
|
"""
|
|
1215
1250
|
Serializes this instance into a byte array
|
|
1216
1251
|
"""
|
|
1217
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1218
|
-
"""
|
|
1219
|
-
Deserializes the data into this instance
|
|
1220
|
-
|
|
1221
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1222
|
-
"""
|
|
1223
1252
|
@staticmethod
|
|
1224
1253
|
def unpack(data: bytes) -> DesiredMatchInfo:
|
|
1225
1254
|
"""
|
|
@@ -1266,14 +1295,28 @@ class DesiredPhysics:
|
|
|
1266
1295
|
"""
|
|
1267
1296
|
Serializes this instance into a byte array
|
|
1268
1297
|
"""
|
|
1269
|
-
|
|
1298
|
+
@staticmethod
|
|
1299
|
+
def unpack(data: bytes) -> DesiredPhysics:
|
|
1270
1300
|
"""
|
|
1271
|
-
Deserializes the data into
|
|
1301
|
+
Deserializes the data into a new instance
|
|
1272
1302
|
|
|
1273
1303
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1274
1304
|
"""
|
|
1305
|
+
def __str__(self) -> str: ...
|
|
1306
|
+
def __repr__(self) -> str: ...
|
|
1307
|
+
|
|
1308
|
+
class DisconnectSignal:
|
|
1309
|
+
"""
|
|
1310
|
+
Sent to core to indicate that you want to disconnect.
|
|
1311
|
+
Sent from core to indicate that you should exit.
|
|
1312
|
+
"""
|
|
1313
|
+
def __init__(self): ...
|
|
1314
|
+
def pack(self) -> bytes:
|
|
1315
|
+
"""
|
|
1316
|
+
Serializes this instance into a byte array
|
|
1317
|
+
"""
|
|
1275
1318
|
@staticmethod
|
|
1276
|
-
def unpack(data: bytes) ->
|
|
1319
|
+
def unpack(data: bytes) -> DisconnectSignal:
|
|
1277
1320
|
"""
|
|
1278
1321
|
Deserializes the data into a new instance
|
|
1279
1322
|
|
|
@@ -1391,12 +1434,6 @@ class Float:
|
|
|
1391
1434
|
"""
|
|
1392
1435
|
Serializes this instance into a byte array
|
|
1393
1436
|
"""
|
|
1394
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1395
|
-
"""
|
|
1396
|
-
Deserializes the data into this instance
|
|
1397
|
-
|
|
1398
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1399
|
-
"""
|
|
1400
1437
|
@staticmethod
|
|
1401
1438
|
def unpack(data: bytes) -> Float:
|
|
1402
1439
|
"""
|
|
@@ -1424,10 +1461,10 @@ class GameEventMutator:
|
|
|
1424
1461
|
def __repr__(self) -> str: ...
|
|
1425
1462
|
|
|
1426
1463
|
class GameMode:
|
|
1427
|
-
|
|
1464
|
+
Soccar = GameMode(0)
|
|
1428
1465
|
Hoops = GameMode(1)
|
|
1429
1466
|
Dropshot = GameMode(2)
|
|
1430
|
-
|
|
1467
|
+
Snowday = GameMode(3)
|
|
1431
1468
|
Rumble = GameMode(4)
|
|
1432
1469
|
Heatseeker = GameMode(5)
|
|
1433
1470
|
Gridiron = GameMode(6)
|
|
@@ -1501,12 +1538,6 @@ class GamePacket:
|
|
|
1501
1538
|
"""
|
|
1502
1539
|
Serializes this instance into a byte array
|
|
1503
1540
|
"""
|
|
1504
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1505
|
-
"""
|
|
1506
|
-
Deserializes the data into this instance
|
|
1507
|
-
|
|
1508
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1509
|
-
"""
|
|
1510
1541
|
@staticmethod
|
|
1511
1542
|
def unpack(data: bytes) -> GamePacket:
|
|
1512
1543
|
"""
|
|
@@ -1624,14 +1655,28 @@ class Human:
|
|
|
1624
1655
|
"""
|
|
1625
1656
|
Serializes this instance into a byte array
|
|
1626
1657
|
"""
|
|
1627
|
-
|
|
1658
|
+
@staticmethod
|
|
1659
|
+
def unpack(data: bytes) -> Human:
|
|
1628
1660
|
"""
|
|
1629
|
-
Deserializes the data into
|
|
1661
|
+
Deserializes the data into a new instance
|
|
1630
1662
|
|
|
1631
1663
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1632
1664
|
"""
|
|
1665
|
+
def __str__(self) -> str: ...
|
|
1666
|
+
def __repr__(self) -> str: ...
|
|
1667
|
+
|
|
1668
|
+
class InitComplete:
|
|
1669
|
+
"""
|
|
1670
|
+
Indicates that the session has finished all initialization and is ready to start receiving
|
|
1671
|
+
game messages without delay.
|
|
1672
|
+
"""
|
|
1673
|
+
def __init__(self): ...
|
|
1674
|
+
def pack(self) -> bytes:
|
|
1675
|
+
"""
|
|
1676
|
+
Serializes this instance into a byte array
|
|
1677
|
+
"""
|
|
1633
1678
|
@staticmethod
|
|
1634
|
-
def unpack(data: bytes) ->
|
|
1679
|
+
def unpack(data: bytes) -> InitComplete:
|
|
1635
1680
|
"""
|
|
1636
1681
|
Deserializes the data into a new instance
|
|
1637
1682
|
|
|
@@ -1655,6 +1700,51 @@ class InputRestrictionMutator:
|
|
|
1655
1700
|
def __str__(self) -> str: ...
|
|
1656
1701
|
def __repr__(self) -> str: ...
|
|
1657
1702
|
|
|
1703
|
+
class InterfaceMessage:
|
|
1704
|
+
item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus
|
|
1705
|
+
|
|
1706
|
+
def __new__(
|
|
1707
|
+
cls, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1708
|
+
): ...
|
|
1709
|
+
def __init__(
|
|
1710
|
+
self, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1711
|
+
): ...
|
|
1712
|
+
|
|
1713
|
+
def __str__(self) -> str: ...
|
|
1714
|
+
def __repr__(self) -> str: ...
|
|
1715
|
+
|
|
1716
|
+
class InterfacePacket:
|
|
1717
|
+
"""
|
|
1718
|
+
Packet containing a InterfaceMessage
|
|
1719
|
+
"""
|
|
1720
|
+
message: InterfaceMessage
|
|
1721
|
+
|
|
1722
|
+
__match_args__ = (
|
|
1723
|
+
"message",
|
|
1724
|
+
)
|
|
1725
|
+
|
|
1726
|
+
def __new__(
|
|
1727
|
+
cls,
|
|
1728
|
+
message: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal(),
|
|
1729
|
+
): ...
|
|
1730
|
+
def __init__(
|
|
1731
|
+
self,
|
|
1732
|
+
message: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal(),
|
|
1733
|
+
): ...
|
|
1734
|
+
def pack(self) -> bytes:
|
|
1735
|
+
"""
|
|
1736
|
+
Serializes this instance into a byte array
|
|
1737
|
+
"""
|
|
1738
|
+
@staticmethod
|
|
1739
|
+
def unpack(data: bytes) -> InterfacePacket:
|
|
1740
|
+
"""
|
|
1741
|
+
Deserializes the data into a new instance
|
|
1742
|
+
|
|
1743
|
+
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1744
|
+
"""
|
|
1745
|
+
def __str__(self) -> str: ...
|
|
1746
|
+
def __repr__(self) -> str: ...
|
|
1747
|
+
|
|
1658
1748
|
class JumpMutator:
|
|
1659
1749
|
Default = JumpMutator(0)
|
|
1660
1750
|
Grounded = JumpMutator(1)
|
|
@@ -1726,12 +1816,6 @@ class Line3D:
|
|
|
1726
1816
|
"""
|
|
1727
1817
|
Serializes this instance into a byte array
|
|
1728
1818
|
"""
|
|
1729
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1730
|
-
"""
|
|
1731
|
-
Deserializes the data into this instance
|
|
1732
|
-
|
|
1733
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1734
|
-
"""
|
|
1735
1819
|
@staticmethod
|
|
1736
1820
|
def unpack(data: bytes) -> Line3D:
|
|
1737
1821
|
"""
|
|
@@ -1792,12 +1876,6 @@ class LoadoutPaint:
|
|
|
1792
1876
|
"""
|
|
1793
1877
|
Serializes this instance into a byte array
|
|
1794
1878
|
"""
|
|
1795
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1796
|
-
"""
|
|
1797
|
-
Deserializes the data into this instance
|
|
1798
|
-
|
|
1799
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1800
|
-
"""
|
|
1801
1879
|
@staticmethod
|
|
1802
1880
|
def unpack(data: bytes) -> LoadoutPaint:
|
|
1803
1881
|
"""
|
|
@@ -1868,12 +1946,6 @@ class MatchComm:
|
|
|
1868
1946
|
"""
|
|
1869
1947
|
Serializes this instance into a byte array
|
|
1870
1948
|
"""
|
|
1871
|
-
def unpack_with(self, data: bytes) -> None:
|
|
1872
|
-
"""
|
|
1873
|
-
Deserializes the data into this instance
|
|
1874
|
-
|
|
1875
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1876
|
-
"""
|
|
1877
1949
|
@staticmethod
|
|
1878
1950
|
def unpack(data: bytes) -> MatchComm:
|
|
1879
1951
|
"""
|
|
@@ -1946,7 +2018,7 @@ class MatchConfiguration:
|
|
|
1946
2018
|
"""
|
|
1947
2019
|
How to handle any ongoing match.
|
|
1948
2020
|
"""
|
|
1949
|
-
enable_rendering:
|
|
2021
|
+
enable_rendering: DebugRendering
|
|
1950
2022
|
"""
|
|
1951
2023
|
Whether debug rendering is displayed.
|
|
1952
2024
|
"""
|
|
@@ -1997,7 +2069,7 @@ class MatchConfiguration:
|
|
|
1997
2069
|
instant_start: bool = False,
|
|
1998
2070
|
mutators: Optional[MutatorSettings] = None,
|
|
1999
2071
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2000
|
-
enable_rendering:
|
|
2072
|
+
enable_rendering: DebugRendering = DebugRendering(),
|
|
2001
2073
|
enable_state_setting: bool = False,
|
|
2002
2074
|
auto_save_replay: bool = False,
|
|
2003
2075
|
freeplay: bool = False,
|
|
@@ -2016,7 +2088,7 @@ class MatchConfiguration:
|
|
|
2016
2088
|
instant_start: bool = False,
|
|
2017
2089
|
mutators: Optional[MutatorSettings] = None,
|
|
2018
2090
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2019
|
-
enable_rendering:
|
|
2091
|
+
enable_rendering: DebugRendering = DebugRendering(),
|
|
2020
2092
|
enable_state_setting: bool = False,
|
|
2021
2093
|
auto_save_replay: bool = False,
|
|
2022
2094
|
freeplay: bool = False,
|
|
@@ -2025,12 +2097,6 @@ class MatchConfiguration:
|
|
|
2025
2097
|
"""
|
|
2026
2098
|
Serializes this instance into a byte array
|
|
2027
2099
|
"""
|
|
2028
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2029
|
-
"""
|
|
2030
|
-
Deserializes the data into this instance
|
|
2031
|
-
|
|
2032
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2033
|
-
"""
|
|
2034
2100
|
@staticmethod
|
|
2035
2101
|
def unpack(data: bytes) -> MatchConfiguration:
|
|
2036
2102
|
"""
|
|
@@ -2127,12 +2193,6 @@ class MatchInfo:
|
|
|
2127
2193
|
"""
|
|
2128
2194
|
Serializes this instance into a byte array
|
|
2129
2195
|
"""
|
|
2130
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2131
|
-
"""
|
|
2132
|
-
Deserializes the data into this instance
|
|
2133
|
-
|
|
2134
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2135
|
-
"""
|
|
2136
2196
|
@staticmethod
|
|
2137
2197
|
def unpack(data: bytes) -> MatchInfo:
|
|
2138
2198
|
"""
|
|
@@ -2395,6 +2455,10 @@ class MutatorSettings:
|
|
|
2395
2455
|
"""
|
|
2396
2456
|
Player input restriction mutator.
|
|
2397
2457
|
"""
|
|
2458
|
+
scoring_rule: ScoringRule
|
|
2459
|
+
"""
|
|
2460
|
+
Additional rules that apply to scoring goals
|
|
2461
|
+
"""
|
|
2398
2462
|
|
|
2399
2463
|
__match_args__ = (
|
|
2400
2464
|
"match_length",
|
|
@@ -2428,6 +2492,7 @@ class MutatorSettings:
|
|
|
2428
2492
|
"aerial_goal_score",
|
|
2429
2493
|
"assist_goal_score",
|
|
2430
2494
|
"input_restriction",
|
|
2495
|
+
"scoring_rule",
|
|
2431
2496
|
)
|
|
2432
2497
|
|
|
2433
2498
|
def __new__(
|
|
@@ -2463,6 +2528,7 @@ class MutatorSettings:
|
|
|
2463
2528
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2464
2529
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2465
2530
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2531
|
+
scoring_rule: ScoringRule = ScoringRule(),
|
|
2466
2532
|
): ...
|
|
2467
2533
|
def __init__(
|
|
2468
2534
|
self,
|
|
@@ -2497,17 +2563,12 @@ class MutatorSettings:
|
|
|
2497
2563
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2498
2564
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2499
2565
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2566
|
+
scoring_rule: ScoringRule = ScoringRule(),
|
|
2500
2567
|
): ...
|
|
2501
2568
|
def pack(self) -> bytes:
|
|
2502
2569
|
"""
|
|
2503
2570
|
Serializes this instance into a byte array
|
|
2504
2571
|
"""
|
|
2505
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2506
|
-
"""
|
|
2507
|
-
Deserializes the data into this instance
|
|
2508
|
-
|
|
2509
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2510
|
-
"""
|
|
2511
2572
|
@staticmethod
|
|
2512
2573
|
def unpack(data: bytes) -> MutatorSettings:
|
|
2513
2574
|
"""
|
|
@@ -2553,32 +2614,6 @@ class OvertimeMutator:
|
|
|
2553
2614
|
def __str__(self) -> str: ...
|
|
2554
2615
|
def __repr__(self) -> str: ...
|
|
2555
2616
|
|
|
2556
|
-
class PartyMember:
|
|
2557
|
-
"""
|
|
2558
|
-
A player that Rocket League treats as human, e.g. has a dedicated camera and can do training mode,
|
|
2559
|
-
but is actually controlled by a bot.
|
|
2560
|
-
"""
|
|
2561
|
-
def __init__(self): ...
|
|
2562
|
-
def pack(self) -> bytes:
|
|
2563
|
-
"""
|
|
2564
|
-
Serializes this instance into a byte array
|
|
2565
|
-
"""
|
|
2566
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2567
|
-
"""
|
|
2568
|
-
Deserializes the data into this instance
|
|
2569
|
-
|
|
2570
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2571
|
-
"""
|
|
2572
|
-
@staticmethod
|
|
2573
|
-
def unpack(data: bytes) -> PartyMember:
|
|
2574
|
-
"""
|
|
2575
|
-
Deserializes the data into a new instance
|
|
2576
|
-
|
|
2577
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2578
|
-
"""
|
|
2579
|
-
def __str__(self) -> str: ...
|
|
2580
|
-
def __repr__(self) -> str: ...
|
|
2581
|
-
|
|
2582
2617
|
class Physics:
|
|
2583
2618
|
location: Vector3
|
|
2584
2619
|
rotation: Rotator
|
|
@@ -2610,12 +2645,6 @@ class Physics:
|
|
|
2610
2645
|
"""
|
|
2611
2646
|
Serializes this instance into a byte array
|
|
2612
2647
|
"""
|
|
2613
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2614
|
-
"""
|
|
2615
|
-
Deserializes the data into this instance
|
|
2616
|
-
|
|
2617
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2618
|
-
"""
|
|
2619
2648
|
@staticmethod
|
|
2620
2649
|
def unpack(data: bytes) -> Physics:
|
|
2621
2650
|
"""
|
|
@@ -2627,13 +2656,13 @@ class Physics:
|
|
|
2627
2656
|
def __repr__(self) -> str: ...
|
|
2628
2657
|
|
|
2629
2658
|
class PlayerClass:
|
|
2630
|
-
item:
|
|
2659
|
+
item: Human | CustomBot | PsyonixBot
|
|
2631
2660
|
|
|
2632
2661
|
def __new__(
|
|
2633
|
-
cls, item:
|
|
2662
|
+
cls, item: Human | CustomBot | PsyonixBot = Human()
|
|
2634
2663
|
): ...
|
|
2635
2664
|
def __init__(
|
|
2636
|
-
self, item:
|
|
2665
|
+
self, item: Human | CustomBot | PsyonixBot = Human()
|
|
2637
2666
|
): ...
|
|
2638
2667
|
|
|
2639
2668
|
def __str__(self) -> str: ...
|
|
@@ -2647,94 +2676,39 @@ class PlayerConfiguration:
|
|
|
2647
2676
|
"""
|
|
2648
2677
|
The type of the player, i.e. human, Psyonix bot, or a custom bot.
|
|
2649
2678
|
"""
|
|
2650
|
-
name: str
|
|
2651
|
-
"""
|
|
2652
|
-
The name of the player.
|
|
2653
|
-
When match start, RLBot will ensure each bot has a unique name.
|
|
2654
|
-
In other words, the MatchConfiguration sent upon match start may contain a "Nexto (2)" if there are two Nextos in the match.
|
|
2655
|
-
"""
|
|
2656
2679
|
team: int
|
|
2657
2680
|
"""
|
|
2658
2681
|
The team of the player. Blue is 0, orange is 1.
|
|
2659
2682
|
"""
|
|
2660
|
-
|
|
2661
|
-
"""
|
|
2662
|
-
The root directory of the bot and the working directory for the run command.
|
|
2663
|
-
"""
|
|
2664
|
-
run_command: str
|
|
2665
|
-
"""
|
|
2666
|
-
The console command that starts this bot.
|
|
2667
|
-
"""
|
|
2668
|
-
loadout: Optional[PlayerLoadout]
|
|
2669
|
-
"""
|
|
2670
|
-
The loadout of the player.
|
|
2671
|
-
"""
|
|
2672
|
-
spawn_id: int
|
|
2683
|
+
player_id: int
|
|
2673
2684
|
"""
|
|
2674
|
-
The
|
|
2675
|
-
The value will be set by RLBot.
|
|
2685
|
+
The value will be set by RLBot and is always overriden.
|
|
2676
2686
|
This value is mostly used internally to keep track of participants in the match.
|
|
2677
|
-
The
|
|
2678
|
-
"""
|
|
2679
|
-
agent_id: str
|
|
2680
|
-
"""
|
|
2681
|
-
A unique user-defined string that is used to connect clients to the right players/scripts.
|
|
2682
|
-
If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID.
|
|
2683
|
-
Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two.
|
|
2684
|
-
The recommended format for agent ids is "developer_name/bot_name".
|
|
2685
|
-
"""
|
|
2686
|
-
hivemind: bool
|
|
2687
|
-
"""
|
|
2688
|
-
Whether this player is part of a hivemind bot where all players/cars are controlled by the same process.
|
|
2689
|
-
Players in the hivemind must have the same name, team, run command, and agent id.
|
|
2687
|
+
The player id can be used to find the corresponding player in the GamePacket.
|
|
2690
2688
|
"""
|
|
2691
2689
|
|
|
2692
2690
|
__match_args__ = (
|
|
2693
2691
|
"variety",
|
|
2694
|
-
"name",
|
|
2695
2692
|
"team",
|
|
2696
|
-
"
|
|
2697
|
-
"run_command",
|
|
2698
|
-
"loadout",
|
|
2699
|
-
"spawn_id",
|
|
2700
|
-
"agent_id",
|
|
2701
|
-
"hivemind",
|
|
2693
|
+
"player_id",
|
|
2702
2694
|
)
|
|
2703
2695
|
|
|
2704
2696
|
def __new__(
|
|
2705
2697
|
cls,
|
|
2706
|
-
variety:
|
|
2707
|
-
name: str = "",
|
|
2698
|
+
variety: Human | CustomBot | PsyonixBot = Human(),
|
|
2708
2699
|
team: int = 0,
|
|
2709
|
-
|
|
2710
|
-
run_command: str = "",
|
|
2711
|
-
loadout: Optional[PlayerLoadout] = None,
|
|
2712
|
-
spawn_id: int = 0,
|
|
2713
|
-
agent_id: str = "",
|
|
2714
|
-
hivemind: bool = False,
|
|
2700
|
+
player_id: int = 0,
|
|
2715
2701
|
): ...
|
|
2716
2702
|
def __init__(
|
|
2717
2703
|
self,
|
|
2718
|
-
variety:
|
|
2719
|
-
name: str = "",
|
|
2704
|
+
variety: Human | CustomBot | PsyonixBot = Human(),
|
|
2720
2705
|
team: int = 0,
|
|
2721
|
-
|
|
2722
|
-
run_command: str = "",
|
|
2723
|
-
loadout: Optional[PlayerLoadout] = None,
|
|
2724
|
-
spawn_id: int = 0,
|
|
2725
|
-
agent_id: str = "",
|
|
2726
|
-
hivemind: bool = False,
|
|
2706
|
+
player_id: int = 0,
|
|
2727
2707
|
): ...
|
|
2728
2708
|
def pack(self) -> bytes:
|
|
2729
2709
|
"""
|
|
2730
2710
|
Serializes this instance into a byte array
|
|
2731
2711
|
"""
|
|
2732
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2733
|
-
"""
|
|
2734
|
-
Deserializes the data into this instance
|
|
2735
|
-
|
|
2736
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2737
|
-
"""
|
|
2738
2712
|
@staticmethod
|
|
2739
2713
|
def unpack(data: bytes) -> PlayerConfiguration:
|
|
2740
2714
|
"""
|
|
@@ -2809,11 +2783,11 @@ class PlayerInfo:
|
|
|
2809
2783
|
"""
|
|
2810
2784
|
The current boost, from 0 to 100.
|
|
2811
2785
|
"""
|
|
2812
|
-
|
|
2786
|
+
player_id: int
|
|
2813
2787
|
"""
|
|
2814
|
-
The
|
|
2788
|
+
The id of the player.
|
|
2815
2789
|
This value is mostly used internally to keep track of participants in the match.
|
|
2816
|
-
The
|
|
2790
|
+
The id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.
|
|
2817
2791
|
"""
|
|
2818
2792
|
accolades: Sequence[str]
|
|
2819
2793
|
"""
|
|
@@ -2871,7 +2845,7 @@ class PlayerInfo:
|
|
|
2871
2845
|
"name",
|
|
2872
2846
|
"team",
|
|
2873
2847
|
"boost",
|
|
2874
|
-
"
|
|
2848
|
+
"player_id",
|
|
2875
2849
|
"accolades",
|
|
2876
2850
|
"last_input",
|
|
2877
2851
|
"has_jumped",
|
|
@@ -2896,7 +2870,7 @@ class PlayerInfo:
|
|
|
2896
2870
|
name: str = "",
|
|
2897
2871
|
team: int = 0,
|
|
2898
2872
|
boost: float = 0,
|
|
2899
|
-
|
|
2873
|
+
player_id: int = 0,
|
|
2900
2874
|
accolades: Sequence[str] = [],
|
|
2901
2875
|
last_input: ControllerState = ControllerState(),
|
|
2902
2876
|
has_jumped: bool = False,
|
|
@@ -2920,7 +2894,7 @@ class PlayerInfo:
|
|
|
2920
2894
|
name: str = "",
|
|
2921
2895
|
team: int = 0,
|
|
2922
2896
|
boost: float = 0,
|
|
2923
|
-
|
|
2897
|
+
player_id: int = 0,
|
|
2924
2898
|
accolades: Sequence[str] = [],
|
|
2925
2899
|
last_input: ControllerState = ControllerState(),
|
|
2926
2900
|
has_jumped: bool = False,
|
|
@@ -2933,12 +2907,6 @@ class PlayerInfo:
|
|
|
2933
2907
|
"""
|
|
2934
2908
|
Serializes this instance into a byte array
|
|
2935
2909
|
"""
|
|
2936
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2937
|
-
"""
|
|
2938
|
-
Deserializes the data into this instance
|
|
2939
|
-
|
|
2940
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2941
|
-
"""
|
|
2942
2910
|
@staticmethod
|
|
2943
2911
|
def unpack(data: bytes) -> PlayerInfo:
|
|
2944
2912
|
"""
|
|
@@ -2976,12 +2944,6 @@ class PlayerInput:
|
|
|
2976
2944
|
"""
|
|
2977
2945
|
Serializes this instance into a byte array
|
|
2978
2946
|
"""
|
|
2979
|
-
def unpack_with(self, data: bytes) -> None:
|
|
2980
|
-
"""
|
|
2981
|
-
Deserializes the data into this instance
|
|
2982
|
-
|
|
2983
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2984
|
-
"""
|
|
2985
2947
|
@staticmethod
|
|
2986
2948
|
def unpack(data: bytes) -> PlayerInput:
|
|
2987
2949
|
"""
|
|
@@ -3083,12 +3045,6 @@ class PlayerLoadout:
|
|
|
3083
3045
|
"""
|
|
3084
3046
|
Serializes this instance into a byte array
|
|
3085
3047
|
"""
|
|
3086
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3087
|
-
"""
|
|
3088
|
-
Deserializes the data into this instance
|
|
3089
|
-
|
|
3090
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3091
|
-
"""
|
|
3092
3048
|
@staticmethod
|
|
3093
3049
|
def unpack(data: bytes) -> PlayerLoadout:
|
|
3094
3050
|
"""
|
|
@@ -3125,12 +3081,6 @@ class PolyLine3D:
|
|
|
3125
3081
|
"""
|
|
3126
3082
|
Serializes this instance into a byte array
|
|
3127
3083
|
"""
|
|
3128
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3129
|
-
"""
|
|
3130
|
-
Deserializes the data into this instance
|
|
3131
|
-
|
|
3132
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3133
|
-
"""
|
|
3134
3084
|
@staticmethod
|
|
3135
3085
|
def unpack(data: bytes) -> PolyLine3D:
|
|
3136
3086
|
"""
|
|
@@ -3184,12 +3134,6 @@ class PredictionSlice:
|
|
|
3184
3134
|
"""
|
|
3185
3135
|
Serializes this instance into a byte array
|
|
3186
3136
|
"""
|
|
3187
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3188
|
-
"""
|
|
3189
|
-
Deserializes the data into this instance
|
|
3190
|
-
|
|
3191
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3192
|
-
"""
|
|
3193
3137
|
@staticmethod
|
|
3194
3138
|
def unpack(data: bytes) -> PredictionSlice:
|
|
3195
3139
|
"""
|
|
@@ -3200,36 +3144,46 @@ class PredictionSlice:
|
|
|
3200
3144
|
def __str__(self) -> str: ...
|
|
3201
3145
|
def __repr__(self) -> str: ...
|
|
3202
3146
|
|
|
3203
|
-
class
|
|
3147
|
+
class PsyonixBot:
|
|
3204
3148
|
"""
|
|
3205
3149
|
A Psyonix bot, e.g. All Star bot.
|
|
3206
3150
|
"""
|
|
3151
|
+
name: str
|
|
3152
|
+
"""
|
|
3153
|
+
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
3154
|
+
duplicate names will be renamed with a suffix like `(2)`. For psyonix bots, a blank name will
|
|
3155
|
+
be replaced with one of the official names.
|
|
3156
|
+
"""
|
|
3157
|
+
loadout: Optional[PlayerLoadout]
|
|
3158
|
+
"""
|
|
3159
|
+
The loadout of the player.
|
|
3160
|
+
"""
|
|
3207
3161
|
bot_skill: PsyonixSkill
|
|
3208
3162
|
|
|
3209
3163
|
__match_args__ = (
|
|
3164
|
+
"name",
|
|
3165
|
+
"loadout",
|
|
3210
3166
|
"bot_skill",
|
|
3211
3167
|
)
|
|
3212
3168
|
|
|
3213
3169
|
def __new__(
|
|
3214
3170
|
cls,
|
|
3171
|
+
name: str = "",
|
|
3172
|
+
loadout: Optional[PlayerLoadout] = None,
|
|
3215
3173
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3216
3174
|
): ...
|
|
3217
3175
|
def __init__(
|
|
3218
3176
|
self,
|
|
3177
|
+
name: str = "",
|
|
3178
|
+
loadout: Optional[PlayerLoadout] = None,
|
|
3219
3179
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3220
3180
|
): ...
|
|
3221
3181
|
def pack(self) -> bytes:
|
|
3222
3182
|
"""
|
|
3223
3183
|
Serializes this instance into a byte array
|
|
3224
3184
|
"""
|
|
3225
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3226
|
-
"""
|
|
3227
|
-
Deserializes the data into this instance
|
|
3228
|
-
|
|
3229
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3230
|
-
"""
|
|
3231
3185
|
@staticmethod
|
|
3232
|
-
def unpack(data: bytes) ->
|
|
3186
|
+
def unpack(data: bytes) -> PsyonixBot:
|
|
3233
3187
|
"""
|
|
3234
3188
|
Deserializes the data into a new instance
|
|
3235
3189
|
|
|
@@ -3323,12 +3277,6 @@ class Rect2D:
|
|
|
3323
3277
|
"""
|
|
3324
3278
|
Serializes this instance into a byte array
|
|
3325
3279
|
"""
|
|
3326
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3327
|
-
"""
|
|
3328
|
-
Deserializes the data into this instance
|
|
3329
|
-
|
|
3330
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3331
|
-
"""
|
|
3332
3280
|
@staticmethod
|
|
3333
3281
|
def unpack(data: bytes) -> Rect2D:
|
|
3334
3282
|
"""
|
|
@@ -3400,12 +3348,6 @@ class Rect3D:
|
|
|
3400
3348
|
"""
|
|
3401
3349
|
Serializes this instance into a byte array
|
|
3402
3350
|
"""
|
|
3403
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3404
|
-
"""
|
|
3405
|
-
Deserializes the data into this instance
|
|
3406
|
-
|
|
3407
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3408
|
-
"""
|
|
3409
3351
|
@staticmethod
|
|
3410
3352
|
def unpack(data: bytes) -> Rect3D:
|
|
3411
3353
|
"""
|
|
@@ -3452,12 +3394,6 @@ class RemoveRenderGroup:
|
|
|
3452
3394
|
"""
|
|
3453
3395
|
Serializes this instance into a byte array
|
|
3454
3396
|
"""
|
|
3455
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3456
|
-
"""
|
|
3457
|
-
Deserializes the data into this instance
|
|
3458
|
-
|
|
3459
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3460
|
-
"""
|
|
3461
3397
|
@staticmethod
|
|
3462
3398
|
def unpack(data: bytes) -> RemoveRenderGroup:
|
|
3463
3399
|
"""
|
|
@@ -3504,12 +3440,6 @@ class RenderAnchor:
|
|
|
3504
3440
|
"""
|
|
3505
3441
|
Serializes this instance into a byte array
|
|
3506
3442
|
"""
|
|
3507
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3508
|
-
"""
|
|
3509
|
-
Deserializes the data into this instance
|
|
3510
|
-
|
|
3511
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3512
|
-
"""
|
|
3513
3443
|
@staticmethod
|
|
3514
3444
|
def unpack(data: bytes) -> RenderAnchor:
|
|
3515
3445
|
"""
|
|
@@ -3555,12 +3485,6 @@ class RenderGroup:
|
|
|
3555
3485
|
"""
|
|
3556
3486
|
Serializes this instance into a byte array
|
|
3557
3487
|
"""
|
|
3558
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3559
|
-
"""
|
|
3560
|
-
Deserializes the data into this instance
|
|
3561
|
-
|
|
3562
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3563
|
-
"""
|
|
3564
3488
|
@staticmethod
|
|
3565
3489
|
def unpack(data: bytes) -> RenderGroup:
|
|
3566
3490
|
"""
|
|
@@ -3593,12 +3517,6 @@ class RenderMessage:
|
|
|
3593
3517
|
"""
|
|
3594
3518
|
Serializes this instance into a byte array
|
|
3595
3519
|
"""
|
|
3596
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3597
|
-
"""
|
|
3598
|
-
Deserializes the data into this instance
|
|
3599
|
-
|
|
3600
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3601
|
-
"""
|
|
3602
3520
|
@staticmethod
|
|
3603
3521
|
def unpack(data: bytes) -> RenderMessage:
|
|
3604
3522
|
"""
|
|
@@ -3622,6 +3540,58 @@ class RenderType:
|
|
|
3622
3540
|
def __str__(self) -> str: ...
|
|
3623
3541
|
def __repr__(self) -> str: ...
|
|
3624
3542
|
|
|
3543
|
+
class RenderingStatus:
|
|
3544
|
+
"""
|
|
3545
|
+
As an interface message, this requests for a specificed agent to have its ability to render changed.
|
|
3546
|
+
This changed will then be broadcasted to all current connections as a core message.
|
|
3547
|
+
Does nothing if rendering has been completely disabled.
|
|
3548
|
+
"""
|
|
3549
|
+
index: int
|
|
3550
|
+
"""
|
|
3551
|
+
If `is_bot`, this is the index of the bot in `GamePacket` that has been updated.
|
|
3552
|
+
Otherwise, this is the index of the script in `MatchConfiguration` that has been updated.
|
|
3553
|
+
"""
|
|
3554
|
+
is_bot: bool
|
|
3555
|
+
"""
|
|
3556
|
+
Identifies if the index is that of a bot or a script
|
|
3557
|
+
"""
|
|
3558
|
+
status: bool
|
|
3559
|
+
"""
|
|
3560
|
+
If rendering is now enabled or disabled for the specific agent
|
|
3561
|
+
"""
|
|
3562
|
+
|
|
3563
|
+
__match_args__ = (
|
|
3564
|
+
"index",
|
|
3565
|
+
"is_bot",
|
|
3566
|
+
"status",
|
|
3567
|
+
)
|
|
3568
|
+
|
|
3569
|
+
def __new__(
|
|
3570
|
+
cls,
|
|
3571
|
+
index: int = 0,
|
|
3572
|
+
is_bot: bool = False,
|
|
3573
|
+
status: bool = False,
|
|
3574
|
+
): ...
|
|
3575
|
+
def __init__(
|
|
3576
|
+
self,
|
|
3577
|
+
index: int = 0,
|
|
3578
|
+
is_bot: bool = False,
|
|
3579
|
+
status: bool = False,
|
|
3580
|
+
): ...
|
|
3581
|
+
def pack(self) -> bytes:
|
|
3582
|
+
"""
|
|
3583
|
+
Serializes this instance into a byte array
|
|
3584
|
+
"""
|
|
3585
|
+
@staticmethod
|
|
3586
|
+
def unpack(data: bytes) -> RenderingStatus:
|
|
3587
|
+
"""
|
|
3588
|
+
Deserializes the data into a new instance
|
|
3589
|
+
|
|
3590
|
+
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3591
|
+
"""
|
|
3592
|
+
def __str__(self) -> str: ...
|
|
3593
|
+
def __repr__(self) -> str: ...
|
|
3594
|
+
|
|
3625
3595
|
class RespawnTimeMutator:
|
|
3626
3596
|
ThreeSeconds = RespawnTimeMutator(0)
|
|
3627
3597
|
TwoSeconds = RespawnTimeMutator(1)
|
|
@@ -3666,12 +3636,6 @@ class Rotator:
|
|
|
3666
3636
|
"""
|
|
3667
3637
|
Serializes this instance into a byte array
|
|
3668
3638
|
"""
|
|
3669
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3670
|
-
"""
|
|
3671
|
-
Deserializes the data into this instance
|
|
3672
|
-
|
|
3673
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3674
|
-
"""
|
|
3675
3639
|
@staticmethod
|
|
3676
3640
|
def unpack(data: bytes) -> Rotator:
|
|
3677
3641
|
"""
|
|
@@ -3724,12 +3688,6 @@ class RotatorPartial:
|
|
|
3724
3688
|
"""
|
|
3725
3689
|
Serializes this instance into a byte array
|
|
3726
3690
|
"""
|
|
3727
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3728
|
-
"""
|
|
3729
|
-
Deserializes the data into this instance
|
|
3730
|
-
|
|
3731
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3732
|
-
"""
|
|
3733
3691
|
@staticmethod
|
|
3734
3692
|
def unpack(data: bytes) -> RotatorPartial:
|
|
3735
3693
|
"""
|
|
@@ -3754,6 +3712,8 @@ class RumbleMutator:
|
|
|
3754
3712
|
BatmanRumble = RumbleMutator(10)
|
|
3755
3713
|
GrapplingOnly = RumbleMutator(11)
|
|
3756
3714
|
HaymakerOnly = RumbleMutator(12)
|
|
3715
|
+
SpikeRushForce = RumbleMutator(13)
|
|
3716
|
+
RPS = RumbleMutator(14)
|
|
3757
3717
|
|
|
3758
3718
|
def __new__(cls, value: int = 0): ...
|
|
3759
3719
|
def __init__(self, value: int = 0):
|
|
@@ -3809,12 +3769,6 @@ class ScoreInfo:
|
|
|
3809
3769
|
"""
|
|
3810
3770
|
Serializes this instance into a byte array
|
|
3811
3771
|
"""
|
|
3812
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3813
|
-
"""
|
|
3814
|
-
Deserializes the data into this instance
|
|
3815
|
-
|
|
3816
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3817
|
-
"""
|
|
3818
3772
|
@staticmethod
|
|
3819
3773
|
def unpack(data: bytes) -> ScoreInfo:
|
|
3820
3774
|
"""
|
|
@@ -3825,6 +3779,21 @@ class ScoreInfo:
|
|
|
3825
3779
|
def __str__(self) -> str: ...
|
|
3826
3780
|
def __repr__(self) -> str: ...
|
|
3827
3781
|
|
|
3782
|
+
class ScoringRule:
|
|
3783
|
+
Default = ScoringRule(0)
|
|
3784
|
+
DisableGoalScoring = ScoringRule(1)
|
|
3785
|
+
|
|
3786
|
+
def __new__(cls, value: int = 0): ...
|
|
3787
|
+
def __init__(self, value: int = 0):
|
|
3788
|
+
"""
|
|
3789
|
+
:raises ValueError: If the `value` is not a valid enum value
|
|
3790
|
+
"""
|
|
3791
|
+
def __int__(self) -> int: ...
|
|
3792
|
+
def __eq__(self, other: ScoringRule) -> bool: ...
|
|
3793
|
+
def __hash__(self) -> str: ...
|
|
3794
|
+
def __str__(self) -> str: ...
|
|
3795
|
+
def __repr__(self) -> str: ...
|
|
3796
|
+
|
|
3828
3797
|
class ScriptConfiguration:
|
|
3829
3798
|
"""
|
|
3830
3799
|
A ScriptConfiguration defines a script of a match.
|
|
@@ -3841,9 +3810,9 @@ class ScriptConfiguration:
|
|
|
3841
3810
|
"""
|
|
3842
3811
|
A console command that will start up the script.
|
|
3843
3812
|
"""
|
|
3844
|
-
|
|
3813
|
+
script_id: int
|
|
3845
3814
|
"""
|
|
3846
|
-
The
|
|
3815
|
+
The id of the script.
|
|
3847
3816
|
This value is mostly used internally to keep track of participants in the match.
|
|
3848
3817
|
"""
|
|
3849
3818
|
agent_id: str
|
|
@@ -3858,7 +3827,7 @@ class ScriptConfiguration:
|
|
|
3858
3827
|
"name",
|
|
3859
3828
|
"root_dir",
|
|
3860
3829
|
"run_command",
|
|
3861
|
-
"
|
|
3830
|
+
"script_id",
|
|
3862
3831
|
"agent_id",
|
|
3863
3832
|
)
|
|
3864
3833
|
|
|
@@ -3867,7 +3836,7 @@ class ScriptConfiguration:
|
|
|
3867
3836
|
name: str = "",
|
|
3868
3837
|
root_dir: str = "",
|
|
3869
3838
|
run_command: str = "",
|
|
3870
|
-
|
|
3839
|
+
script_id: int = 0,
|
|
3871
3840
|
agent_id: str = "",
|
|
3872
3841
|
): ...
|
|
3873
3842
|
def __init__(
|
|
@@ -3875,19 +3844,13 @@ class ScriptConfiguration:
|
|
|
3875
3844
|
name: str = "",
|
|
3876
3845
|
root_dir: str = "",
|
|
3877
3846
|
run_command: str = "",
|
|
3878
|
-
|
|
3847
|
+
script_id: int = 0,
|
|
3879
3848
|
agent_id: str = "",
|
|
3880
3849
|
): ...
|
|
3881
3850
|
def pack(self) -> bytes:
|
|
3882
3851
|
"""
|
|
3883
3852
|
Serializes this instance into a byte array
|
|
3884
3853
|
"""
|
|
3885
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3886
|
-
"""
|
|
3887
|
-
Deserializes the data into this instance
|
|
3888
|
-
|
|
3889
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3890
|
-
"""
|
|
3891
3854
|
@staticmethod
|
|
3892
3855
|
def unpack(data: bytes) -> ScriptConfiguration:
|
|
3893
3856
|
"""
|
|
@@ -3950,12 +3913,6 @@ class SetLoadout:
|
|
|
3950
3913
|
"""
|
|
3951
3914
|
Serializes this instance into a byte array
|
|
3952
3915
|
"""
|
|
3953
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3954
|
-
"""
|
|
3955
|
-
Deserializes the data into this instance
|
|
3956
|
-
|
|
3957
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3958
|
-
"""
|
|
3959
3916
|
@staticmethod
|
|
3960
3917
|
def unpack(data: bytes) -> SetLoadout:
|
|
3961
3918
|
"""
|
|
@@ -3989,12 +3946,6 @@ class SphereShape:
|
|
|
3989
3946
|
"""
|
|
3990
3947
|
Serializes this instance into a byte array
|
|
3991
3948
|
"""
|
|
3992
|
-
def unpack_with(self, data: bytes) -> None:
|
|
3993
|
-
"""
|
|
3994
|
-
Deserializes the data into this instance
|
|
3995
|
-
|
|
3996
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3997
|
-
"""
|
|
3998
3949
|
@staticmethod
|
|
3999
3950
|
def unpack(data: bytes) -> SphereShape:
|
|
4000
3951
|
"""
|
|
@@ -4042,12 +3993,6 @@ class StartCommand:
|
|
|
4042
3993
|
"""
|
|
4043
3994
|
Serializes this instance into a byte array
|
|
4044
3995
|
"""
|
|
4045
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4046
|
-
"""
|
|
4047
|
-
Deserializes the data into this instance
|
|
4048
|
-
|
|
4049
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4050
|
-
"""
|
|
4051
3996
|
@staticmethod
|
|
4052
3997
|
def unpack(data: bytes) -> StartCommand:
|
|
4053
3998
|
"""
|
|
@@ -4080,12 +4025,6 @@ class StopCommand:
|
|
|
4080
4025
|
"""
|
|
4081
4026
|
Serializes this instance into a byte array
|
|
4082
4027
|
"""
|
|
4083
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4084
|
-
"""
|
|
4085
|
-
Deserializes the data into this instance
|
|
4086
|
-
|
|
4087
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4088
|
-
"""
|
|
4089
4028
|
@staticmethod
|
|
4090
4029
|
def unpack(data: bytes) -> StopCommand:
|
|
4091
4030
|
"""
|
|
@@ -4172,12 +4111,6 @@ class String2D:
|
|
|
4172
4111
|
"""
|
|
4173
4112
|
Serializes this instance into a byte array
|
|
4174
4113
|
"""
|
|
4175
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4176
|
-
"""
|
|
4177
|
-
Deserializes the data into this instance
|
|
4178
|
-
|
|
4179
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4180
|
-
"""
|
|
4181
4114
|
@staticmethod
|
|
4182
4115
|
def unpack(data: bytes) -> String2D:
|
|
4183
4116
|
"""
|
|
@@ -4256,12 +4189,6 @@ class String3D:
|
|
|
4256
4189
|
"""
|
|
4257
4190
|
Serializes this instance into a byte array
|
|
4258
4191
|
"""
|
|
4259
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4260
|
-
"""
|
|
4261
|
-
Deserializes the data into this instance
|
|
4262
|
-
|
|
4263
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4264
|
-
"""
|
|
4265
4192
|
@staticmethod
|
|
4266
4193
|
def unpack(data: bytes) -> String3D:
|
|
4267
4194
|
"""
|
|
@@ -4299,12 +4226,6 @@ class TeamInfo:
|
|
|
4299
4226
|
"""
|
|
4300
4227
|
Serializes this instance into a byte array
|
|
4301
4228
|
"""
|
|
4302
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4303
|
-
"""
|
|
4304
|
-
Deserializes the data into this instance
|
|
4305
|
-
|
|
4306
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4307
|
-
"""
|
|
4308
4229
|
@staticmethod
|
|
4309
4230
|
def unpack(data: bytes) -> TeamInfo:
|
|
4310
4231
|
"""
|
|
@@ -4408,12 +4329,6 @@ class Touch:
|
|
|
4408
4329
|
"""
|
|
4409
4330
|
Serializes this instance into a byte array
|
|
4410
4331
|
"""
|
|
4411
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4412
|
-
"""
|
|
4413
|
-
Deserializes the data into this instance
|
|
4414
|
-
|
|
4415
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4416
|
-
"""
|
|
4417
4332
|
@staticmethod
|
|
4418
4333
|
def unpack(data: bytes) -> Touch:
|
|
4419
4334
|
"""
|
|
@@ -4447,12 +4362,6 @@ class Vector2:
|
|
|
4447
4362
|
"""
|
|
4448
4363
|
Serializes this instance into a byte array
|
|
4449
4364
|
"""
|
|
4450
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4451
|
-
"""
|
|
4452
|
-
Deserializes the data into this instance
|
|
4453
|
-
|
|
4454
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4455
|
-
"""
|
|
4456
4365
|
@staticmethod
|
|
4457
4366
|
def unpack(data: bytes) -> Vector2:
|
|
4458
4367
|
"""
|
|
@@ -4490,12 +4399,6 @@ class Vector3:
|
|
|
4490
4399
|
"""
|
|
4491
4400
|
Serializes this instance into a byte array
|
|
4492
4401
|
"""
|
|
4493
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4494
|
-
"""
|
|
4495
|
-
Deserializes the data into this instance
|
|
4496
|
-
|
|
4497
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4498
|
-
"""
|
|
4499
4402
|
@staticmethod
|
|
4500
4403
|
def unpack(data: bytes) -> Vector3:
|
|
4501
4404
|
"""
|
|
@@ -4538,12 +4441,6 @@ class Vector3Partial:
|
|
|
4538
4441
|
"""
|
|
4539
4442
|
Serializes this instance into a byte array
|
|
4540
4443
|
"""
|
|
4541
|
-
def unpack_with(self, data: bytes) -> None:
|
|
4542
|
-
"""
|
|
4543
|
-
Deserializes the data into this instance
|
|
4544
|
-
|
|
4545
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4546
|
-
"""
|
|
4547
4444
|
@staticmethod
|
|
4548
4445
|
def unpack(data: bytes) -> Vector3Partial:
|
|
4549
4446
|
"""
|