rlbot-flatbuffers 0.17.0__cp310-abi3-win_amd64.whl → 0.18.0__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 +677 -521
- rlbot_flatbuffers/rlbot_flatbuffers.pyd +0 -0
- rlbot_flatbuffers-0.18.0.dist-info/METADATA +8 -0
- rlbot_flatbuffers-0.18.0.dist-info/RECORD +8 -0
- {rlbot_flatbuffers-0.17.0.dist-info → rlbot_flatbuffers-0.18.0.dist-info}/WHEEL +1 -1
- {rlbot_flatbuffers-0.17.0.dist-info → rlbot_flatbuffers-0.18.0.dist-info}/licenses/LICENSE +1 -1
- rlbot_flatbuffers-0.17.0.dist-info/METADATA +0 -119
- rlbot_flatbuffers-0.17.0.dist-info/RECORD +0 -8
rlbot_flatbuffers/__init__.pyi
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import Sequence
|
|
4
4
|
|
|
5
5
|
__doc__: str
|
|
6
6
|
__version__: str
|
|
@@ -21,12 +21,17 @@ class AerialGoalScoreMutator:
|
|
|
21
21
|
:raises ValueError: If the `value` is not a valid enum value
|
|
22
22
|
"""
|
|
23
23
|
def __int__(self) -> int: ...
|
|
24
|
-
def __eq__(self, other
|
|
25
|
-
def __hash__(self) ->
|
|
24
|
+
def __eq__(self, other) -> bool: ...
|
|
25
|
+
def __hash__(self) -> int: ...
|
|
26
26
|
def __str__(self) -> str: ...
|
|
27
27
|
def __repr__(self) -> str: ...
|
|
28
28
|
|
|
29
29
|
class AirState:
|
|
30
|
+
"""
|
|
31
|
+
Possible states of a car in regards to ground contact and jump/dodging forces.
|
|
32
|
+
See more about jumping physics at https://wiki.rlbot.org/botmaking/jumping-physics/
|
|
33
|
+
"""
|
|
34
|
+
|
|
30
35
|
OnGround = AirState(0)
|
|
31
36
|
"""
|
|
32
37
|
All wheels are on the ground and the car is affected by wall-stickiness forces.
|
|
@@ -60,8 +65,8 @@ class AirState:
|
|
|
60
65
|
:raises ValueError: If the `value` is not a valid enum value
|
|
61
66
|
"""
|
|
62
67
|
def __int__(self) -> int: ...
|
|
63
|
-
def __eq__(self, other
|
|
64
|
-
def __hash__(self) ->
|
|
68
|
+
def __eq__(self, other) -> bool: ...
|
|
69
|
+
def __hash__(self) -> int: ...
|
|
65
70
|
def __str__(self) -> str: ...
|
|
66
71
|
def __repr__(self) -> str: ...
|
|
67
72
|
|
|
@@ -77,12 +82,16 @@ class AssistGoalScoreMutator:
|
|
|
77
82
|
:raises ValueError: If the `value` is not a valid enum value
|
|
78
83
|
"""
|
|
79
84
|
def __int__(self) -> int: ...
|
|
80
|
-
def __eq__(self, other
|
|
81
|
-
def __hash__(self) ->
|
|
85
|
+
def __eq__(self, other) -> bool: ...
|
|
86
|
+
def __hash__(self) -> int: ...
|
|
82
87
|
def __str__(self) -> str: ...
|
|
83
88
|
def __repr__(self) -> str: ...
|
|
84
89
|
|
|
85
90
|
class AudioMutator:
|
|
91
|
+
"""
|
|
92
|
+
Audio mutator options.
|
|
93
|
+
"""
|
|
94
|
+
|
|
86
95
|
Default = AudioMutator(0)
|
|
87
96
|
Haunted = AudioMutator(1)
|
|
88
97
|
|
|
@@ -92,8 +101,8 @@ class AudioMutator:
|
|
|
92
101
|
:raises ValueError: If the `value` is not a valid enum value
|
|
93
102
|
"""
|
|
94
103
|
def __int__(self) -> int: ...
|
|
95
|
-
def __eq__(self, other
|
|
96
|
-
def __hash__(self) ->
|
|
104
|
+
def __eq__(self, other) -> bool: ...
|
|
105
|
+
def __hash__(self) -> int: ...
|
|
97
106
|
def __str__(self) -> str: ...
|
|
98
107
|
def __repr__(self) -> str: ...
|
|
99
108
|
|
|
@@ -102,6 +111,7 @@ class BallAnchor:
|
|
|
102
111
|
A RenderAnchor attached to a ball.
|
|
103
112
|
The local field allows for an offset in local coordinates taking the ball's orientation into account.
|
|
104
113
|
"""
|
|
114
|
+
|
|
105
115
|
index: int
|
|
106
116
|
"""
|
|
107
117
|
The index of the ball.
|
|
@@ -131,6 +141,7 @@ class BallAnchor:
|
|
|
131
141
|
"""
|
|
132
142
|
Serializes this instance into a byte array
|
|
133
143
|
"""
|
|
144
|
+
|
|
134
145
|
@staticmethod
|
|
135
146
|
def unpack(data: bytes) -> BallAnchor:
|
|
136
147
|
"""
|
|
@@ -138,10 +149,15 @@ class BallAnchor:
|
|
|
138
149
|
|
|
139
150
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
140
151
|
"""
|
|
152
|
+
|
|
141
153
|
def __str__(self) -> str: ...
|
|
142
154
|
def __repr__(self) -> str: ...
|
|
143
155
|
|
|
144
156
|
class BallBouncinessMutator:
|
|
157
|
+
"""
|
|
158
|
+
Ball bounciness mutator options.
|
|
159
|
+
"""
|
|
160
|
+
|
|
145
161
|
Default = BallBouncinessMutator(0)
|
|
146
162
|
Low = BallBouncinessMutator(1)
|
|
147
163
|
High = BallBouncinessMutator(2)
|
|
@@ -154,12 +170,16 @@ class BallBouncinessMutator:
|
|
|
154
170
|
:raises ValueError: If the `value` is not a valid enum value
|
|
155
171
|
"""
|
|
156
172
|
def __int__(self) -> int: ...
|
|
157
|
-
def __eq__(self, other
|
|
158
|
-
def __hash__(self) ->
|
|
173
|
+
def __eq__(self, other) -> bool: ...
|
|
174
|
+
def __hash__(self) -> int: ...
|
|
159
175
|
def __str__(self) -> str: ...
|
|
160
176
|
def __repr__(self) -> str: ...
|
|
161
177
|
|
|
162
178
|
class BallGravityMutator:
|
|
179
|
+
"""
|
|
180
|
+
Ball gravity mutator options.
|
|
181
|
+
"""
|
|
182
|
+
|
|
163
183
|
Default = BallGravityMutator(0)
|
|
164
184
|
Low = BallGravityMutator(1)
|
|
165
185
|
High = BallGravityMutator(2)
|
|
@@ -171,8 +191,8 @@ class BallGravityMutator:
|
|
|
171
191
|
:raises ValueError: If the `value` is not a valid enum value
|
|
172
192
|
"""
|
|
173
193
|
def __int__(self) -> int: ...
|
|
174
|
-
def __eq__(self, other
|
|
175
|
-
def __hash__(self) ->
|
|
194
|
+
def __eq__(self, other) -> bool: ...
|
|
195
|
+
def __hash__(self) -> int: ...
|
|
176
196
|
def __str__(self) -> str: ...
|
|
177
197
|
def __repr__(self) -> str: ...
|
|
178
198
|
|
|
@@ -180,11 +200,12 @@ class BallInfo:
|
|
|
180
200
|
"""
|
|
181
201
|
Information about a ball.
|
|
182
202
|
"""
|
|
203
|
+
|
|
183
204
|
physics: Physics
|
|
184
205
|
"""
|
|
185
206
|
The physical state of the ball.
|
|
186
207
|
"""
|
|
187
|
-
shape:
|
|
208
|
+
shape: BoxShape | CylinderShape | SphereShape
|
|
188
209
|
"""
|
|
189
210
|
The collision shape of the ball.
|
|
190
211
|
"""
|
|
@@ -197,17 +218,18 @@ class BallInfo:
|
|
|
197
218
|
def __new__(
|
|
198
219
|
cls,
|
|
199
220
|
physics: Physics = Physics(),
|
|
200
|
-
shape: BoxShape |
|
|
221
|
+
shape: BoxShape | CylinderShape | SphereShape = BoxShape(),
|
|
201
222
|
): ...
|
|
202
223
|
def __init__(
|
|
203
224
|
self,
|
|
204
225
|
physics: Physics = Physics(),
|
|
205
|
-
shape: BoxShape |
|
|
226
|
+
shape: BoxShape | CylinderShape | SphereShape = BoxShape(),
|
|
206
227
|
): ...
|
|
207
228
|
def pack(self) -> bytes:
|
|
208
229
|
"""
|
|
209
230
|
Serializes this instance into a byte array
|
|
210
231
|
"""
|
|
232
|
+
|
|
211
233
|
@staticmethod
|
|
212
234
|
def unpack(data: bytes) -> BallInfo:
|
|
213
235
|
"""
|
|
@@ -215,10 +237,15 @@ class BallInfo:
|
|
|
215
237
|
|
|
216
238
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
217
239
|
"""
|
|
240
|
+
|
|
218
241
|
def __str__(self) -> str: ...
|
|
219
242
|
def __repr__(self) -> str: ...
|
|
220
243
|
|
|
221
244
|
class BallMaxSpeedMutator:
|
|
245
|
+
"""
|
|
246
|
+
Ball max speed mutator options.
|
|
247
|
+
"""
|
|
248
|
+
|
|
222
249
|
Default = BallMaxSpeedMutator(0)
|
|
223
250
|
Slow = BallMaxSpeedMutator(1)
|
|
224
251
|
Fast = BallMaxSpeedMutator(2)
|
|
@@ -230,8 +257,8 @@ class BallMaxSpeedMutator:
|
|
|
230
257
|
:raises ValueError: If the `value` is not a valid enum value
|
|
231
258
|
"""
|
|
232
259
|
def __int__(self) -> int: ...
|
|
233
|
-
def __eq__(self, other
|
|
234
|
-
def __hash__(self) ->
|
|
260
|
+
def __eq__(self, other) -> bool: ...
|
|
261
|
+
def __hash__(self) -> int: ...
|
|
235
262
|
def __str__(self) -> str: ...
|
|
236
263
|
def __repr__(self) -> str: ...
|
|
237
264
|
|
|
@@ -239,6 +266,7 @@ class BallPrediction:
|
|
|
239
266
|
"""
|
|
240
267
|
A prediction of a ball's trajectory, assuming no collision with cars.
|
|
241
268
|
"""
|
|
269
|
+
|
|
242
270
|
slices: Sequence[PredictionSlice]
|
|
243
271
|
"""
|
|
244
272
|
A list of predicted states of the ball at specific times in the future, assuming no collision with cars.
|
|
@@ -262,6 +290,7 @@ class BallPrediction:
|
|
|
262
290
|
"""
|
|
263
291
|
Serializes this instance into a byte array
|
|
264
292
|
"""
|
|
293
|
+
|
|
265
294
|
@staticmethod
|
|
266
295
|
def unpack(data: bytes) -> BallPrediction:
|
|
267
296
|
"""
|
|
@@ -269,10 +298,15 @@ class BallPrediction:
|
|
|
269
298
|
|
|
270
299
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
271
300
|
"""
|
|
301
|
+
|
|
272
302
|
def __str__(self) -> str: ...
|
|
273
303
|
def __repr__(self) -> str: ...
|
|
274
304
|
|
|
275
305
|
class BallSizeMutator:
|
|
306
|
+
"""
|
|
307
|
+
Ball size mutator options.
|
|
308
|
+
"""
|
|
309
|
+
|
|
276
310
|
Default = BallSizeMutator(0)
|
|
277
311
|
Small = BallSizeMutator(1)
|
|
278
312
|
Medium = BallSizeMutator(2)
|
|
@@ -285,12 +319,16 @@ class BallSizeMutator:
|
|
|
285
319
|
:raises ValueError: If the `value` is not a valid enum value
|
|
286
320
|
"""
|
|
287
321
|
def __int__(self) -> int: ...
|
|
288
|
-
def __eq__(self, other
|
|
289
|
-
def __hash__(self) ->
|
|
322
|
+
def __eq__(self, other) -> bool: ...
|
|
323
|
+
def __hash__(self) -> int: ...
|
|
290
324
|
def __str__(self) -> str: ...
|
|
291
325
|
def __repr__(self) -> str: ...
|
|
292
326
|
|
|
293
327
|
class BallTypeMutator:
|
|
328
|
+
"""
|
|
329
|
+
Ball type mutator options.
|
|
330
|
+
"""
|
|
331
|
+
|
|
294
332
|
Default = BallTypeMutator(0)
|
|
295
333
|
Cube = BallTypeMutator(1)
|
|
296
334
|
Puck = BallTypeMutator(2)
|
|
@@ -304,6 +342,8 @@ class BallTypeMutator:
|
|
|
304
342
|
PlayerSeeking = BallTypeMutator(10)
|
|
305
343
|
Dropshot = BallTypeMutator(11)
|
|
306
344
|
ScoreAbsorb = BallTypeMutator(12)
|
|
345
|
+
Shoe = BallTypeMutator(13)
|
|
346
|
+
PizzaPuck = BallTypeMutator(14)
|
|
307
347
|
|
|
308
348
|
def __new__(cls, value: int = 0): ...
|
|
309
349
|
def __init__(self, value: int = 0):
|
|
@@ -311,12 +351,16 @@ class BallTypeMutator:
|
|
|
311
351
|
:raises ValueError: If the `value` is not a valid enum value
|
|
312
352
|
"""
|
|
313
353
|
def __int__(self) -> int: ...
|
|
314
|
-
def __eq__(self, other
|
|
315
|
-
def __hash__(self) ->
|
|
354
|
+
def __eq__(self, other) -> bool: ...
|
|
355
|
+
def __hash__(self) -> int: ...
|
|
316
356
|
def __str__(self) -> str: ...
|
|
317
357
|
def __repr__(self) -> str: ...
|
|
318
358
|
|
|
319
359
|
class BallWeightMutator:
|
|
360
|
+
"""
|
|
361
|
+
Ball weight mutator options.
|
|
362
|
+
"""
|
|
363
|
+
|
|
320
364
|
Default = BallWeightMutator(0)
|
|
321
365
|
Light = BallWeightMutator(1)
|
|
322
366
|
Heavy = BallWeightMutator(2)
|
|
@@ -324,6 +368,7 @@ class BallWeightMutator:
|
|
|
324
368
|
CurveBall = BallWeightMutator(4)
|
|
325
369
|
BeachBallCurve = BallWeightMutator(5)
|
|
326
370
|
MagnusFutBall = BallWeightMutator(6)
|
|
371
|
+
MagnusFutballLess = BallWeightMutator(7)
|
|
327
372
|
|
|
328
373
|
def __new__(cls, value: int = 0): ...
|
|
329
374
|
def __init__(self, value: int = 0):
|
|
@@ -331,41 +376,16 @@ class BallWeightMutator:
|
|
|
331
376
|
:raises ValueError: If the `value` is not a valid enum value
|
|
332
377
|
"""
|
|
333
378
|
def __int__(self) -> int: ...
|
|
334
|
-
def __eq__(self, other
|
|
335
|
-
def __hash__(self) ->
|
|
336
|
-
def __str__(self) -> str: ...
|
|
337
|
-
def __repr__(self) -> str: ...
|
|
338
|
-
|
|
339
|
-
class Bool:
|
|
340
|
-
val: bool
|
|
341
|
-
|
|
342
|
-
__match_args__ = (
|
|
343
|
-
"val",
|
|
344
|
-
)
|
|
345
|
-
|
|
346
|
-
def __new__(
|
|
347
|
-
cls,
|
|
348
|
-
val: bool = False,
|
|
349
|
-
): ...
|
|
350
|
-
def __init__(
|
|
351
|
-
self,
|
|
352
|
-
val: bool = False,
|
|
353
|
-
): ...
|
|
354
|
-
def pack(self) -> bytes:
|
|
355
|
-
"""
|
|
356
|
-
Serializes this instance into a byte array
|
|
357
|
-
"""
|
|
358
|
-
@staticmethod
|
|
359
|
-
def unpack(data: bytes) -> Bool:
|
|
360
|
-
"""
|
|
361
|
-
Deserializes the data into a new instance
|
|
362
|
-
|
|
363
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
364
|
-
"""
|
|
379
|
+
def __eq__(self, other) -> bool: ...
|
|
380
|
+
def __hash__(self) -> int: ...
|
|
365
381
|
def __str__(self) -> str: ...
|
|
366
382
|
def __repr__(self) -> str: ...
|
|
367
383
|
|
|
368
384
|
class BoostAmountMutator:
|
|
385
|
+
"""
|
|
386
|
+
Boost amount mutator options.
|
|
387
|
+
"""
|
|
388
|
+
|
|
369
389
|
NormalBoost = BoostAmountMutator(0)
|
|
370
390
|
UnlimitedBoost = BoostAmountMutator(1)
|
|
371
391
|
SlowRecharge = BoostAmountMutator(2)
|
|
@@ -378,8 +398,8 @@ class BoostAmountMutator:
|
|
|
378
398
|
:raises ValueError: If the `value` is not a valid enum value
|
|
379
399
|
"""
|
|
380
400
|
def __int__(self) -> int: ...
|
|
381
|
-
def __eq__(self, other
|
|
382
|
-
def __hash__(self) ->
|
|
401
|
+
def __eq__(self, other) -> bool: ...
|
|
402
|
+
def __hash__(self) -> int: ...
|
|
383
403
|
def __str__(self) -> str: ...
|
|
384
404
|
def __repr__(self) -> str: ...
|
|
385
405
|
|
|
@@ -387,6 +407,7 @@ class BoostPad:
|
|
|
387
407
|
"""
|
|
388
408
|
Static information about a boost pad such as location and size.
|
|
389
409
|
"""
|
|
410
|
+
|
|
390
411
|
location: Vector3
|
|
391
412
|
"""
|
|
392
413
|
The location of the boost pad.
|
|
@@ -417,6 +438,7 @@ class BoostPad:
|
|
|
417
438
|
"""
|
|
418
439
|
Serializes this instance into a byte array
|
|
419
440
|
"""
|
|
441
|
+
|
|
420
442
|
@staticmethod
|
|
421
443
|
def unpack(data: bytes) -> BoostPad:
|
|
422
444
|
"""
|
|
@@ -424,15 +446,25 @@ class BoostPad:
|
|
|
424
446
|
|
|
425
447
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
426
448
|
"""
|
|
449
|
+
|
|
427
450
|
def __str__(self) -> str: ...
|
|
428
451
|
def __repr__(self) -> str: ...
|
|
429
452
|
|
|
430
453
|
class BoostPadState:
|
|
454
|
+
"""
|
|
455
|
+
The state of a boost pad.
|
|
456
|
+
Note, static properties of boost pads, such as their location and size, are found in the field info.
|
|
457
|
+
"""
|
|
458
|
+
|
|
431
459
|
is_active: bool
|
|
460
|
+
"""
|
|
461
|
+
True if the boost can be picked up right now.
|
|
462
|
+
"""
|
|
432
463
|
timer: float
|
|
433
464
|
"""
|
|
434
465
|
The number of seconds since the boost has been picked up, or 0 if the boost is active.
|
|
435
466
|
A big boost pad becomes active again after 10 seconds.
|
|
467
|
+
A small boost pad becomes active again after 4 seconds.
|
|
436
468
|
"""
|
|
437
469
|
|
|
438
470
|
__match_args__ = (
|
|
@@ -443,28 +475,21 @@ class BoostPadState:
|
|
|
443
475
|
def __new__(
|
|
444
476
|
cls,
|
|
445
477
|
is_active: bool = False,
|
|
446
|
-
timer: float = 0,
|
|
478
|
+
timer: float = 0.0,
|
|
447
479
|
): ...
|
|
448
480
|
def __init__(
|
|
449
481
|
self,
|
|
450
482
|
is_active: bool = False,
|
|
451
|
-
timer: float = 0,
|
|
483
|
+
timer: float = 0.0,
|
|
452
484
|
): ...
|
|
453
|
-
def pack(self) -> bytes:
|
|
454
|
-
"""
|
|
455
|
-
Serializes this instance into a byte array
|
|
456
|
-
"""
|
|
457
|
-
@staticmethod
|
|
458
|
-
def unpack(data: bytes) -> BoostPadState:
|
|
459
|
-
"""
|
|
460
|
-
Deserializes the data into a new instance
|
|
461
|
-
|
|
462
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
463
|
-
"""
|
|
464
485
|
def __str__(self) -> str: ...
|
|
465
486
|
def __repr__(self) -> str: ...
|
|
466
487
|
|
|
467
488
|
class BoostStrengthMutator:
|
|
489
|
+
"""
|
|
490
|
+
Boost strength mutator options.
|
|
491
|
+
"""
|
|
492
|
+
|
|
468
493
|
One = BoostStrengthMutator(0)
|
|
469
494
|
OneAndAHalf = BoostStrengthMutator(1)
|
|
470
495
|
Two = BoostStrengthMutator(2)
|
|
@@ -477,8 +502,8 @@ class BoostStrengthMutator:
|
|
|
477
502
|
:raises ValueError: If the `value` is not a valid enum value
|
|
478
503
|
"""
|
|
479
504
|
def __int__(self) -> int: ...
|
|
480
|
-
def __eq__(self, other
|
|
481
|
-
def __hash__(self) ->
|
|
505
|
+
def __eq__(self, other) -> bool: ...
|
|
506
|
+
def __hash__(self) -> int: ...
|
|
482
507
|
def __str__(self) -> str: ...
|
|
483
508
|
def __repr__(self) -> str: ...
|
|
484
509
|
|
|
@@ -487,6 +512,7 @@ class BoxShape:
|
|
|
487
512
|
A box with dimensions.
|
|
488
513
|
Used for cars and balls with a box shapes.
|
|
489
514
|
"""
|
|
515
|
+
|
|
490
516
|
length: float
|
|
491
517
|
width: float
|
|
492
518
|
height: float
|
|
@@ -499,20 +525,21 @@ class BoxShape:
|
|
|
499
525
|
|
|
500
526
|
def __new__(
|
|
501
527
|
cls,
|
|
502
|
-
length: float = 0,
|
|
503
|
-
width: float = 0,
|
|
504
|
-
height: float = 0,
|
|
528
|
+
length: float = 0.0,
|
|
529
|
+
width: float = 0.0,
|
|
530
|
+
height: float = 0.0,
|
|
505
531
|
): ...
|
|
506
532
|
def __init__(
|
|
507
533
|
self,
|
|
508
|
-
length: float = 0,
|
|
509
|
-
width: float = 0,
|
|
510
|
-
height: float = 0,
|
|
534
|
+
length: float = 0.0,
|
|
535
|
+
width: float = 0.0,
|
|
536
|
+
height: float = 0.0,
|
|
511
537
|
): ...
|
|
512
538
|
def pack(self) -> bytes:
|
|
513
539
|
"""
|
|
514
540
|
Serializes this instance into a byte array
|
|
515
541
|
"""
|
|
542
|
+
|
|
516
543
|
@staticmethod
|
|
517
544
|
def unpack(data: bytes) -> BoxShape:
|
|
518
545
|
"""
|
|
@@ -520,6 +547,7 @@ class BoxShape:
|
|
|
520
547
|
|
|
521
548
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
522
549
|
"""
|
|
550
|
+
|
|
523
551
|
def __str__(self) -> str: ...
|
|
524
552
|
def __repr__(self) -> str: ...
|
|
525
553
|
|
|
@@ -528,6 +556,7 @@ class CarAnchor:
|
|
|
528
556
|
A RenderAnchor attached to a car.
|
|
529
557
|
The local field allows for an offset in local coordinates taking the car's orientation into account.
|
|
530
558
|
"""
|
|
559
|
+
|
|
531
560
|
index: int
|
|
532
561
|
"""
|
|
533
562
|
The index of the car.
|
|
@@ -557,6 +586,7 @@ class CarAnchor:
|
|
|
557
586
|
"""
|
|
558
587
|
Serializes this instance into a byte array
|
|
559
588
|
"""
|
|
589
|
+
|
|
560
590
|
@staticmethod
|
|
561
591
|
def unpack(data: bytes) -> CarAnchor:
|
|
562
592
|
"""
|
|
@@ -564,23 +594,15 @@ class CarAnchor:
|
|
|
564
594
|
|
|
565
595
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
566
596
|
"""
|
|
567
|
-
def __str__(self) -> str: ...
|
|
568
|
-
def __repr__(self) -> str: ...
|
|
569
|
-
|
|
570
|
-
class CollisionShape:
|
|
571
|
-
item: BoxShape | SphereShape | CylinderShape
|
|
572
|
-
|
|
573
|
-
def __new__(
|
|
574
|
-
cls, item: BoxShape | SphereShape | CylinderShape = BoxShape()
|
|
575
|
-
): ...
|
|
576
|
-
def __init__(
|
|
577
|
-
self, item: BoxShape | SphereShape | CylinderShape = BoxShape()
|
|
578
|
-
): ...
|
|
579
597
|
|
|
580
598
|
def __str__(self) -> str: ...
|
|
581
599
|
def __repr__(self) -> str: ...
|
|
582
600
|
|
|
583
601
|
class Color:
|
|
602
|
+
"""
|
|
603
|
+
An RGBA color.
|
|
604
|
+
"""
|
|
605
|
+
|
|
584
606
|
r: int
|
|
585
607
|
g: int
|
|
586
608
|
b: int
|
|
@@ -607,17 +629,6 @@ class Color:
|
|
|
607
629
|
b: int = 0,
|
|
608
630
|
a: int = 255,
|
|
609
631
|
): ...
|
|
610
|
-
def pack(self) -> bytes:
|
|
611
|
-
"""
|
|
612
|
-
Serializes this instance into a byte array
|
|
613
|
-
"""
|
|
614
|
-
@staticmethod
|
|
615
|
-
def unpack(data: bytes) -> Color:
|
|
616
|
-
"""
|
|
617
|
-
Deserializes the data into a new instance
|
|
618
|
-
|
|
619
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
620
|
-
"""
|
|
621
632
|
def __str__(self) -> str: ...
|
|
622
633
|
def __repr__(self) -> str: ...
|
|
623
634
|
|
|
@@ -627,6 +638,7 @@ class ConnectionSettings:
|
|
|
627
638
|
This could be sent by a bot, or a bot manager governing several bots, an
|
|
628
639
|
overlay, or any other utility that connects to the RLBot process.
|
|
629
640
|
"""
|
|
641
|
+
|
|
630
642
|
agent_id: str
|
|
631
643
|
"""
|
|
632
644
|
The ID of the bot/script that is associated with the incoming connection.
|
|
@@ -670,6 +682,7 @@ class ConnectionSettings:
|
|
|
670
682
|
"""
|
|
671
683
|
Serializes this instance into a byte array
|
|
672
684
|
"""
|
|
685
|
+
|
|
673
686
|
@staticmethod
|
|
674
687
|
def unpack(data: bytes) -> ConnectionSettings:
|
|
675
688
|
"""
|
|
@@ -677,6 +690,7 @@ class ConnectionSettings:
|
|
|
677
690
|
|
|
678
691
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
679
692
|
"""
|
|
693
|
+
|
|
680
694
|
def __str__(self) -> str: ...
|
|
681
695
|
def __repr__(self) -> str: ...
|
|
682
696
|
|
|
@@ -685,6 +699,7 @@ class ConsoleCommand:
|
|
|
685
699
|
A console command which will be executed inside Rocket League.
|
|
686
700
|
See https://wiki.rlbot.org/framework/console-commands/ for a list of known commands.
|
|
687
701
|
"""
|
|
702
|
+
|
|
688
703
|
command: str
|
|
689
704
|
|
|
690
705
|
__match_args__ = (
|
|
@@ -703,6 +718,7 @@ class ConsoleCommand:
|
|
|
703
718
|
"""
|
|
704
719
|
Serializes this instance into a byte array
|
|
705
720
|
"""
|
|
721
|
+
|
|
706
722
|
@staticmethod
|
|
707
723
|
def unpack(data: bytes) -> ConsoleCommand:
|
|
708
724
|
"""
|
|
@@ -710,6 +726,7 @@ class ConsoleCommand:
|
|
|
710
726
|
|
|
711
727
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
712
728
|
"""
|
|
729
|
+
|
|
713
730
|
def __str__(self) -> str: ...
|
|
714
731
|
def __repr__(self) -> str: ...
|
|
715
732
|
|
|
@@ -717,6 +734,7 @@ class ControllableInfo:
|
|
|
717
734
|
"""
|
|
718
735
|
Information about a car that the client can control.
|
|
719
736
|
"""
|
|
737
|
+
|
|
720
738
|
index: int
|
|
721
739
|
"""
|
|
722
740
|
The index of the bot/script.
|
|
@@ -747,6 +765,7 @@ class ControllableInfo:
|
|
|
747
765
|
"""
|
|
748
766
|
Serializes this instance into a byte array
|
|
749
767
|
"""
|
|
768
|
+
|
|
750
769
|
@staticmethod
|
|
751
770
|
def unpack(data: bytes) -> ControllableInfo:
|
|
752
771
|
"""
|
|
@@ -754,6 +773,7 @@ class ControllableInfo:
|
|
|
754
773
|
|
|
755
774
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
756
775
|
"""
|
|
776
|
+
|
|
757
777
|
def __str__(self) -> str: ...
|
|
758
778
|
def __repr__(self) -> str: ...
|
|
759
779
|
|
|
@@ -763,6 +783,7 @@ class ControllableTeamInfo:
|
|
|
763
783
|
Sent to bot clients as a response to ConnectionSettings.
|
|
764
784
|
There may be more than one car in case the bot is a hivemind.
|
|
765
785
|
"""
|
|
786
|
+
|
|
766
787
|
team: int
|
|
767
788
|
"""
|
|
768
789
|
The assigned team for this client.
|
|
@@ -791,6 +812,7 @@ class ControllableTeamInfo:
|
|
|
791
812
|
"""
|
|
792
813
|
Serializes this instance into a byte array
|
|
793
814
|
"""
|
|
815
|
+
|
|
794
816
|
@staticmethod
|
|
795
817
|
def unpack(data: bytes) -> ControllableTeamInfo:
|
|
796
818
|
"""
|
|
@@ -798,19 +820,54 @@ class ControllableTeamInfo:
|
|
|
798
820
|
|
|
799
821
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
800
822
|
"""
|
|
823
|
+
|
|
801
824
|
def __str__(self) -> str: ...
|
|
802
825
|
def __repr__(self) -> str: ...
|
|
803
826
|
|
|
804
827
|
class ControllerState:
|
|
828
|
+
"""
|
|
829
|
+
A combination of button presses and analog steering values like those produced by a physical controller or keyboard.
|
|
830
|
+
This is sent by bots each tick to RLBot to indicate what they want to do that tick.
|
|
831
|
+
For example, if you want to hold the jump button for 20 ticks, then you must send 20 controller states where jump is true.
|
|
832
|
+
Remember to send controller states with jump set to false to let go of the jump button afterwards.
|
|
833
|
+
"""
|
|
834
|
+
|
|
805
835
|
throttle: float
|
|
836
|
+
"""
|
|
837
|
+
-1 for full reverse, 1 for full forward.
|
|
838
|
+
"""
|
|
806
839
|
steer: float
|
|
840
|
+
"""
|
|
841
|
+
-1 for full left, 1 for full right.
|
|
842
|
+
"""
|
|
807
843
|
pitch: float
|
|
844
|
+
"""
|
|
845
|
+
-1 for nose down, 1 for nose up.
|
|
846
|
+
"""
|
|
808
847
|
yaw: float
|
|
848
|
+
"""
|
|
849
|
+
-1 for full left, 1 for full right.
|
|
850
|
+
"""
|
|
809
851
|
roll: float
|
|
852
|
+
"""
|
|
853
|
+
-1 for roll left, 1 for roll right.
|
|
854
|
+
"""
|
|
810
855
|
jump: bool
|
|
856
|
+
"""
|
|
857
|
+
True if you want to press the jump button.
|
|
858
|
+
"""
|
|
811
859
|
boost: bool
|
|
860
|
+
"""
|
|
861
|
+
True if you want to press the boost button.
|
|
862
|
+
"""
|
|
812
863
|
handbrake: bool
|
|
864
|
+
"""
|
|
865
|
+
True if you want to press the handbrake button.
|
|
866
|
+
"""
|
|
813
867
|
use_item: bool
|
|
868
|
+
"""
|
|
869
|
+
True if you want to press the 'use item' button. Used in Rumble and other game modes.
|
|
870
|
+
"""
|
|
814
871
|
|
|
815
872
|
__match_args__ = (
|
|
816
873
|
"throttle",
|
|
@@ -826,11 +883,11 @@ class ControllerState:
|
|
|
826
883
|
|
|
827
884
|
def __new__(
|
|
828
885
|
cls,
|
|
829
|
-
throttle: float = 0,
|
|
830
|
-
steer: float = 0,
|
|
831
|
-
pitch: float = 0,
|
|
832
|
-
yaw: float = 0,
|
|
833
|
-
roll: float = 0,
|
|
886
|
+
throttle: float = 0.0,
|
|
887
|
+
steer: float = 0.0,
|
|
888
|
+
pitch: float = 0.0,
|
|
889
|
+
yaw: float = 0.0,
|
|
890
|
+
roll: float = 0.0,
|
|
834
891
|
jump: bool = False,
|
|
835
892
|
boost: bool = False,
|
|
836
893
|
handbrake: bool = False,
|
|
@@ -838,40 +895,16 @@ class ControllerState:
|
|
|
838
895
|
): ...
|
|
839
896
|
def __init__(
|
|
840
897
|
self,
|
|
841
|
-
throttle: float = 0,
|
|
842
|
-
steer: float = 0,
|
|
843
|
-
pitch: float = 0,
|
|
844
|
-
yaw: float = 0,
|
|
845
|
-
roll: float = 0,
|
|
898
|
+
throttle: float = 0.0,
|
|
899
|
+
steer: float = 0.0,
|
|
900
|
+
pitch: float = 0.0,
|
|
901
|
+
yaw: float = 0.0,
|
|
902
|
+
roll: float = 0.0,
|
|
846
903
|
jump: bool = False,
|
|
847
904
|
boost: bool = False,
|
|
848
905
|
handbrake: bool = False,
|
|
849
906
|
use_item: bool = False,
|
|
850
907
|
): ...
|
|
851
|
-
def pack(self) -> bytes:
|
|
852
|
-
"""
|
|
853
|
-
Serializes this instance into a byte array
|
|
854
|
-
"""
|
|
855
|
-
@staticmethod
|
|
856
|
-
def unpack(data: bytes) -> ControllerState:
|
|
857
|
-
"""
|
|
858
|
-
Deserializes the data into a new instance
|
|
859
|
-
|
|
860
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
861
|
-
"""
|
|
862
|
-
def __str__(self) -> str: ...
|
|
863
|
-
def __repr__(self) -> str: ...
|
|
864
|
-
|
|
865
|
-
class CoreMessage:
|
|
866
|
-
item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus
|
|
867
|
-
|
|
868
|
-
def __new__(
|
|
869
|
-
cls, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
870
|
-
): ...
|
|
871
|
-
def __init__(
|
|
872
|
-
self, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
873
|
-
): ...
|
|
874
|
-
|
|
875
908
|
def __str__(self) -> str: ...
|
|
876
909
|
def __repr__(self) -> str: ...
|
|
877
910
|
|
|
@@ -879,7 +912,8 @@ class CorePacket:
|
|
|
879
912
|
"""
|
|
880
913
|
Packet containing a CoreMessage
|
|
881
914
|
"""
|
|
882
|
-
|
|
915
|
+
|
|
916
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus
|
|
883
917
|
|
|
884
918
|
__match_args__ = (
|
|
885
919
|
"message",
|
|
@@ -887,16 +921,17 @@ class CorePacket:
|
|
|
887
921
|
|
|
888
922
|
def __new__(
|
|
889
923
|
cls,
|
|
890
|
-
message:
|
|
924
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus = BallPrediction(),
|
|
891
925
|
): ...
|
|
892
926
|
def __init__(
|
|
893
927
|
self,
|
|
894
|
-
message:
|
|
928
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus = BallPrediction(),
|
|
895
929
|
): ...
|
|
896
930
|
def pack(self) -> bytes:
|
|
897
931
|
"""
|
|
898
932
|
Serializes this instance into a byte array
|
|
899
933
|
"""
|
|
934
|
+
|
|
900
935
|
@staticmethod
|
|
901
936
|
def unpack(data: bytes) -> CorePacket:
|
|
902
937
|
"""
|
|
@@ -904,6 +939,7 @@ class CorePacket:
|
|
|
904
939
|
|
|
905
940
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
906
941
|
"""
|
|
942
|
+
|
|
907
943
|
def __str__(self) -> str: ...
|
|
908
944
|
def __repr__(self) -> str: ...
|
|
909
945
|
|
|
@@ -911,6 +947,7 @@ class CustomBot:
|
|
|
911
947
|
"""
|
|
912
948
|
A bot controlled by the RLBot framework.
|
|
913
949
|
"""
|
|
950
|
+
|
|
914
951
|
name: str
|
|
915
952
|
"""
|
|
916
953
|
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
@@ -924,7 +961,7 @@ class CustomBot:
|
|
|
924
961
|
"""
|
|
925
962
|
The console command that starts this bot.
|
|
926
963
|
"""
|
|
927
|
-
loadout:
|
|
964
|
+
loadout: PlayerLoadout | None
|
|
928
965
|
"""
|
|
929
966
|
The loadout of the player.
|
|
930
967
|
"""
|
|
@@ -955,7 +992,7 @@ class CustomBot:
|
|
|
955
992
|
name: str = "",
|
|
956
993
|
root_dir: str = "",
|
|
957
994
|
run_command: str = "",
|
|
958
|
-
loadout:
|
|
995
|
+
loadout: PlayerLoadout | None = None,
|
|
959
996
|
agent_id: str = "",
|
|
960
997
|
hivemind: bool = False,
|
|
961
998
|
): ...
|
|
@@ -964,7 +1001,7 @@ class CustomBot:
|
|
|
964
1001
|
name: str = "",
|
|
965
1002
|
root_dir: str = "",
|
|
966
1003
|
run_command: str = "",
|
|
967
|
-
loadout:
|
|
1004
|
+
loadout: PlayerLoadout | None = None,
|
|
968
1005
|
agent_id: str = "",
|
|
969
1006
|
hivemind: bool = False,
|
|
970
1007
|
): ...
|
|
@@ -972,6 +1009,7 @@ class CustomBot:
|
|
|
972
1009
|
"""
|
|
973
1010
|
Serializes this instance into a byte array
|
|
974
1011
|
"""
|
|
1012
|
+
|
|
975
1013
|
@staticmethod
|
|
976
1014
|
def unpack(data: bytes) -> CustomBot:
|
|
977
1015
|
"""
|
|
@@ -979,6 +1017,7 @@ class CustomBot:
|
|
|
979
1017
|
|
|
980
1018
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
981
1019
|
"""
|
|
1020
|
+
|
|
982
1021
|
def __str__(self) -> str: ...
|
|
983
1022
|
def __repr__(self) -> str: ...
|
|
984
1023
|
|
|
@@ -987,6 +1026,7 @@ class CylinderShape:
|
|
|
987
1026
|
A cylinder with diameter and height.
|
|
988
1027
|
Used for balls with a cylindrical shape like the puck.
|
|
989
1028
|
"""
|
|
1029
|
+
|
|
990
1030
|
diameter: float
|
|
991
1031
|
height: float
|
|
992
1032
|
|
|
@@ -997,18 +1037,19 @@ class CylinderShape:
|
|
|
997
1037
|
|
|
998
1038
|
def __new__(
|
|
999
1039
|
cls,
|
|
1000
|
-
diameter: float = 0,
|
|
1001
|
-
height: float = 0,
|
|
1040
|
+
diameter: float = 0.0,
|
|
1041
|
+
height: float = 0.0,
|
|
1002
1042
|
): ...
|
|
1003
1043
|
def __init__(
|
|
1004
1044
|
self,
|
|
1005
|
-
diameter: float = 0,
|
|
1006
|
-
height: float = 0,
|
|
1045
|
+
diameter: float = 0.0,
|
|
1046
|
+
height: float = 0.0,
|
|
1007
1047
|
): ...
|
|
1008
1048
|
def pack(self) -> bytes:
|
|
1009
1049
|
"""
|
|
1010
1050
|
Serializes this instance into a byte array
|
|
1011
1051
|
"""
|
|
1052
|
+
|
|
1012
1053
|
@staticmethod
|
|
1013
1054
|
def unpack(data: bytes) -> CylinderShape:
|
|
1014
1055
|
"""
|
|
@@ -1016,6 +1057,7 @@ class CylinderShape:
|
|
|
1016
1057
|
|
|
1017
1058
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1018
1059
|
"""
|
|
1060
|
+
|
|
1019
1061
|
def __str__(self) -> str: ...
|
|
1020
1062
|
def __repr__(self) -> str: ...
|
|
1021
1063
|
|
|
@@ -1039,19 +1081,25 @@ class DebugRendering:
|
|
|
1039
1081
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1040
1082
|
"""
|
|
1041
1083
|
def __int__(self) -> int: ...
|
|
1042
|
-
def __eq__(self, other
|
|
1043
|
-
def __hash__(self) ->
|
|
1084
|
+
def __eq__(self, other) -> bool: ...
|
|
1085
|
+
def __hash__(self) -> int: ...
|
|
1044
1086
|
def __str__(self) -> str: ...
|
|
1045
1087
|
def __repr__(self) -> str: ...
|
|
1046
1088
|
|
|
1047
1089
|
class DemolishMutator:
|
|
1090
|
+
"""
|
|
1091
|
+
Demolition mutator options.
|
|
1092
|
+
"""
|
|
1093
|
+
|
|
1048
1094
|
Default = DemolishMutator(0)
|
|
1049
1095
|
Disabled = DemolishMutator(1)
|
|
1050
1096
|
FriendlyFire = DemolishMutator(2)
|
|
1051
1097
|
OnContact = DemolishMutator(3)
|
|
1052
|
-
|
|
1098
|
+
OnContactFf = DemolishMutator(4)
|
|
1053
1099
|
OnBallContact = DemolishMutator(5)
|
|
1054
|
-
|
|
1100
|
+
OnBallContactFf = DemolishMutator(6)
|
|
1101
|
+
OnBallContactSilent = DemolishMutator(7)
|
|
1102
|
+
OnBallContactFfSilent = DemolishMutator(8)
|
|
1055
1103
|
|
|
1056
1104
|
def __new__(cls, value: int = 0): ...
|
|
1057
1105
|
def __init__(self, value: int = 0):
|
|
@@ -1059,8 +1107,8 @@ class DemolishMutator:
|
|
|
1059
1107
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1060
1108
|
"""
|
|
1061
1109
|
def __int__(self) -> int: ...
|
|
1062
|
-
def __eq__(self, other
|
|
1063
|
-
def __hash__(self) ->
|
|
1110
|
+
def __eq__(self, other) -> bool: ...
|
|
1111
|
+
def __hash__(self) -> int: ...
|
|
1064
1112
|
def __str__(self) -> str: ...
|
|
1065
1113
|
def __repr__(self) -> str: ...
|
|
1066
1114
|
|
|
@@ -1076,8 +1124,8 @@ class DemolishScoreMutator:
|
|
|
1076
1124
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1077
1125
|
"""
|
|
1078
1126
|
def __int__(self) -> int: ...
|
|
1079
|
-
def __eq__(self, other
|
|
1080
|
-
def __hash__(self) ->
|
|
1127
|
+
def __eq__(self, other) -> bool: ...
|
|
1128
|
+
def __hash__(self) -> int: ...
|
|
1081
1129
|
def __str__(self) -> str: ...
|
|
1082
1130
|
def __repr__(self) -> str: ...
|
|
1083
1131
|
|
|
@@ -1086,6 +1134,7 @@ class DesiredBallState:
|
|
|
1086
1134
|
A ball state with nullable components.
|
|
1087
1135
|
Used for game state setting to define which part of a ball's state should change.
|
|
1088
1136
|
"""
|
|
1137
|
+
|
|
1089
1138
|
physics: DesiredPhysics
|
|
1090
1139
|
|
|
1091
1140
|
__match_args__ = (
|
|
@@ -1104,6 +1153,7 @@ class DesiredBallState:
|
|
|
1104
1153
|
"""
|
|
1105
1154
|
Serializes this instance into a byte array
|
|
1106
1155
|
"""
|
|
1156
|
+
|
|
1107
1157
|
@staticmethod
|
|
1108
1158
|
def unpack(data: bytes) -> DesiredBallState:
|
|
1109
1159
|
"""
|
|
@@ -1111,6 +1161,7 @@ class DesiredBallState:
|
|
|
1111
1161
|
|
|
1112
1162
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1113
1163
|
"""
|
|
1164
|
+
|
|
1114
1165
|
def __str__(self) -> str: ...
|
|
1115
1166
|
def __repr__(self) -> str: ...
|
|
1116
1167
|
|
|
@@ -1119,8 +1170,9 @@ class DesiredCarState:
|
|
|
1119
1170
|
A car state with nullable components.
|
|
1120
1171
|
Used for game state setting to define which part of a car's state should change.
|
|
1121
1172
|
"""
|
|
1122
|
-
|
|
1123
|
-
|
|
1173
|
+
|
|
1174
|
+
physics: DesiredPhysics | None
|
|
1175
|
+
boost_amount: float | None
|
|
1124
1176
|
|
|
1125
1177
|
__match_args__ = (
|
|
1126
1178
|
"physics",
|
|
@@ -1129,18 +1181,19 @@ class DesiredCarState:
|
|
|
1129
1181
|
|
|
1130
1182
|
def __new__(
|
|
1131
1183
|
cls,
|
|
1132
|
-
physics:
|
|
1133
|
-
boost_amount:
|
|
1184
|
+
physics: DesiredPhysics | None = None,
|
|
1185
|
+
boost_amount: float | None = None,
|
|
1134
1186
|
): ...
|
|
1135
1187
|
def __init__(
|
|
1136
1188
|
self,
|
|
1137
|
-
physics:
|
|
1138
|
-
boost_amount:
|
|
1189
|
+
physics: DesiredPhysics | None = None,
|
|
1190
|
+
boost_amount: float | None = None,
|
|
1139
1191
|
): ...
|
|
1140
1192
|
def pack(self) -> bytes:
|
|
1141
1193
|
"""
|
|
1142
1194
|
Serializes this instance into a byte array
|
|
1143
1195
|
"""
|
|
1196
|
+
|
|
1144
1197
|
@staticmethod
|
|
1145
1198
|
def unpack(data: bytes) -> DesiredCarState:
|
|
1146
1199
|
"""
|
|
@@ -1148,6 +1201,7 @@ class DesiredCarState:
|
|
|
1148
1201
|
|
|
1149
1202
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1150
1203
|
"""
|
|
1204
|
+
|
|
1151
1205
|
def __str__(self) -> str: ...
|
|
1152
1206
|
def __repr__(self) -> str: ...
|
|
1153
1207
|
|
|
@@ -1157,6 +1211,7 @@ class DesiredGameState:
|
|
|
1157
1211
|
Used for game state setting to define which part of the game should change.
|
|
1158
1212
|
Values not set will not be updated.
|
|
1159
1213
|
"""
|
|
1214
|
+
|
|
1160
1215
|
ball_states: Sequence[DesiredBallState]
|
|
1161
1216
|
"""
|
|
1162
1217
|
A list of desired ball states.
|
|
@@ -1165,7 +1220,7 @@ class DesiredGameState:
|
|
|
1165
1220
|
"""
|
|
1166
1221
|
A list of desired car states.
|
|
1167
1222
|
"""
|
|
1168
|
-
match_info:
|
|
1223
|
+
match_info: DesiredMatchInfo | None
|
|
1169
1224
|
"""
|
|
1170
1225
|
The desired game info.
|
|
1171
1226
|
"""
|
|
@@ -1186,20 +1241,21 @@ class DesiredGameState:
|
|
|
1186
1241
|
cls,
|
|
1187
1242
|
ball_states: Sequence[DesiredBallState] = [],
|
|
1188
1243
|
car_states: Sequence[DesiredCarState] = [],
|
|
1189
|
-
match_info:
|
|
1244
|
+
match_info: DesiredMatchInfo | None = None,
|
|
1190
1245
|
console_commands: Sequence[ConsoleCommand] = [],
|
|
1191
1246
|
): ...
|
|
1192
1247
|
def __init__(
|
|
1193
1248
|
self,
|
|
1194
1249
|
ball_states: Sequence[DesiredBallState] = [],
|
|
1195
1250
|
car_states: Sequence[DesiredCarState] = [],
|
|
1196
|
-
match_info:
|
|
1251
|
+
match_info: DesiredMatchInfo | None = None,
|
|
1197
1252
|
console_commands: Sequence[ConsoleCommand] = [],
|
|
1198
1253
|
): ...
|
|
1199
1254
|
def pack(self) -> bytes:
|
|
1200
1255
|
"""
|
|
1201
1256
|
Serializes this instance into a byte array
|
|
1202
1257
|
"""
|
|
1258
|
+
|
|
1203
1259
|
@staticmethod
|
|
1204
1260
|
def unpack(data: bytes) -> DesiredGameState:
|
|
1205
1261
|
"""
|
|
@@ -1207,6 +1263,7 @@ class DesiredGameState:
|
|
|
1207
1263
|
|
|
1208
1264
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1209
1265
|
"""
|
|
1266
|
+
|
|
1210
1267
|
def __str__(self) -> str: ...
|
|
1211
1268
|
def __repr__(self) -> str: ...
|
|
1212
1269
|
|
|
@@ -1215,12 +1272,13 @@ class DesiredMatchInfo:
|
|
|
1215
1272
|
Match info with nullable components.
|
|
1216
1273
|
Used for game state setting to define which part of the match info should change.
|
|
1217
1274
|
"""
|
|
1218
|
-
|
|
1275
|
+
|
|
1276
|
+
world_gravity_z: float | None
|
|
1219
1277
|
"""
|
|
1220
1278
|
The strength of gravity. Default is usually -650 depending on mutators.
|
|
1221
1279
|
To set gravity to 0, use 0.0000001 instead, as 0 will set gravity back to the default.
|
|
1222
1280
|
"""
|
|
1223
|
-
game_speed:
|
|
1281
|
+
game_speed: float | None
|
|
1224
1282
|
"""
|
|
1225
1283
|
The game speed. Default is 1.0.
|
|
1226
1284
|
"""
|
|
@@ -1232,18 +1290,19 @@ class DesiredMatchInfo:
|
|
|
1232
1290
|
|
|
1233
1291
|
def __new__(
|
|
1234
1292
|
cls,
|
|
1235
|
-
world_gravity_z:
|
|
1236
|
-
game_speed:
|
|
1293
|
+
world_gravity_z: float | None = None,
|
|
1294
|
+
game_speed: float | None = None,
|
|
1237
1295
|
): ...
|
|
1238
1296
|
def __init__(
|
|
1239
1297
|
self,
|
|
1240
|
-
world_gravity_z:
|
|
1241
|
-
game_speed:
|
|
1298
|
+
world_gravity_z: float | None = None,
|
|
1299
|
+
game_speed: float | None = None,
|
|
1242
1300
|
): ...
|
|
1243
1301
|
def pack(self) -> bytes:
|
|
1244
1302
|
"""
|
|
1245
1303
|
Serializes this instance into a byte array
|
|
1246
1304
|
"""
|
|
1305
|
+
|
|
1247
1306
|
@staticmethod
|
|
1248
1307
|
def unpack(data: bytes) -> DesiredMatchInfo:
|
|
1249
1308
|
"""
|
|
@@ -1251,6 +1310,7 @@ class DesiredMatchInfo:
|
|
|
1251
1310
|
|
|
1252
1311
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1253
1312
|
"""
|
|
1313
|
+
|
|
1254
1314
|
def __str__(self) -> str: ...
|
|
1255
1315
|
def __repr__(self) -> str: ...
|
|
1256
1316
|
|
|
@@ -1260,10 +1320,11 @@ class DesiredPhysics:
|
|
|
1260
1320
|
Used for game state setting to define which part of a physics body should change.
|
|
1261
1321
|
If a component is null, then the component will keep its current value.
|
|
1262
1322
|
"""
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1323
|
+
|
|
1324
|
+
location: Vector3Partial | None
|
|
1325
|
+
rotation: RotatorPartial | None
|
|
1326
|
+
velocity: Vector3Partial | None
|
|
1327
|
+
angular_velocity: Vector3Partial | None
|
|
1267
1328
|
|
|
1268
1329
|
__match_args__ = (
|
|
1269
1330
|
"location",
|
|
@@ -1274,22 +1335,23 @@ class DesiredPhysics:
|
|
|
1274
1335
|
|
|
1275
1336
|
def __new__(
|
|
1276
1337
|
cls,
|
|
1277
|
-
location:
|
|
1278
|
-
rotation:
|
|
1279
|
-
velocity:
|
|
1280
|
-
angular_velocity:
|
|
1338
|
+
location: Vector3Partial | None = None,
|
|
1339
|
+
rotation: RotatorPartial | None = None,
|
|
1340
|
+
velocity: Vector3Partial | None = None,
|
|
1341
|
+
angular_velocity: Vector3Partial | None = None,
|
|
1281
1342
|
): ...
|
|
1282
1343
|
def __init__(
|
|
1283
1344
|
self,
|
|
1284
|
-
location:
|
|
1285
|
-
rotation:
|
|
1286
|
-
velocity:
|
|
1287
|
-
angular_velocity:
|
|
1345
|
+
location: Vector3Partial | None = None,
|
|
1346
|
+
rotation: RotatorPartial | None = None,
|
|
1347
|
+
velocity: Vector3Partial | None = None,
|
|
1348
|
+
angular_velocity: Vector3Partial | None = None,
|
|
1288
1349
|
): ...
|
|
1289
1350
|
def pack(self) -> bytes:
|
|
1290
1351
|
"""
|
|
1291
1352
|
Serializes this instance into a byte array
|
|
1292
1353
|
"""
|
|
1354
|
+
|
|
1293
1355
|
@staticmethod
|
|
1294
1356
|
def unpack(data: bytes) -> DesiredPhysics:
|
|
1295
1357
|
"""
|
|
@@ -1297,6 +1359,7 @@ class DesiredPhysics:
|
|
|
1297
1359
|
|
|
1298
1360
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1299
1361
|
"""
|
|
1362
|
+
|
|
1300
1363
|
def __str__(self) -> str: ...
|
|
1301
1364
|
def __repr__(self) -> str: ...
|
|
1302
1365
|
|
|
@@ -1305,20 +1368,9 @@ class DisconnectSignal:
|
|
|
1305
1368
|
Sent to core to indicate that you want to disconnect.
|
|
1306
1369
|
Sent from core to indicate that you should exit.
|
|
1307
1370
|
"""
|
|
1308
|
-
def __init__(self): ...
|
|
1309
|
-
def pack(self) -> bytes:
|
|
1310
|
-
"""
|
|
1311
|
-
Serializes this instance into a byte array
|
|
1312
|
-
"""
|
|
1313
|
-
@staticmethod
|
|
1314
|
-
def unpack(data: bytes) -> DisconnectSignal:
|
|
1315
|
-
"""
|
|
1316
|
-
Deserializes the data into a new instance
|
|
1317
1371
|
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
def __str__(self) -> str: ...
|
|
1321
|
-
def __repr__(self) -> str: ...
|
|
1372
|
+
def __new__(cls): ...
|
|
1373
|
+
def __init__(self): ...
|
|
1322
1374
|
|
|
1323
1375
|
class DodgeTimerMutator:
|
|
1324
1376
|
OnePointTwentyFiveSeconds = DodgeTimerMutator(0)
|
|
@@ -1332,12 +1384,16 @@ class DodgeTimerMutator:
|
|
|
1332
1384
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1333
1385
|
"""
|
|
1334
1386
|
def __int__(self) -> int: ...
|
|
1335
|
-
def __eq__(self, other
|
|
1336
|
-
def __hash__(self) ->
|
|
1387
|
+
def __eq__(self, other) -> bool: ...
|
|
1388
|
+
def __hash__(self) -> int: ...
|
|
1337
1389
|
def __str__(self) -> str: ...
|
|
1338
1390
|
def __repr__(self) -> str: ...
|
|
1339
1391
|
|
|
1340
1392
|
class ExistingMatchBehavior:
|
|
1393
|
+
"""
|
|
1394
|
+
Possible behaviours when a match is started while another match is in progress.
|
|
1395
|
+
"""
|
|
1396
|
+
|
|
1341
1397
|
Restart = ExistingMatchBehavior(0)
|
|
1342
1398
|
"""
|
|
1343
1399
|
Always restart the match, even if config is identical.
|
|
@@ -1359,8 +1415,8 @@ class ExistingMatchBehavior:
|
|
|
1359
1415
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1360
1416
|
"""
|
|
1361
1417
|
def __int__(self) -> int: ...
|
|
1362
|
-
def __eq__(self, other
|
|
1363
|
-
def __hash__(self) ->
|
|
1418
|
+
def __eq__(self, other) -> bool: ...
|
|
1419
|
+
def __hash__(self) -> int: ...
|
|
1364
1420
|
def __str__(self) -> str: ...
|
|
1365
1421
|
def __repr__(self) -> str: ...
|
|
1366
1422
|
|
|
@@ -1370,6 +1426,7 @@ class FieldInfo:
|
|
|
1370
1426
|
Sent to bots, scripts, etc. upon connecting.
|
|
1371
1427
|
Dynamic information is found in the GamePacket.
|
|
1372
1428
|
"""
|
|
1429
|
+
|
|
1373
1430
|
boost_pads: Sequence[BoostPad]
|
|
1374
1431
|
"""
|
|
1375
1432
|
Static information about boost pads on the field.
|
|
@@ -1400,6 +1457,7 @@ class FieldInfo:
|
|
|
1400
1457
|
"""
|
|
1401
1458
|
Serializes this instance into a byte array
|
|
1402
1459
|
"""
|
|
1460
|
+
|
|
1403
1461
|
@staticmethod
|
|
1404
1462
|
def unpack(data: bytes) -> FieldInfo:
|
|
1405
1463
|
"""
|
|
@@ -1407,10 +1465,15 @@ class FieldInfo:
|
|
|
1407
1465
|
|
|
1408
1466
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1409
1467
|
"""
|
|
1468
|
+
|
|
1410
1469
|
def __str__(self) -> str: ...
|
|
1411
1470
|
def __repr__(self) -> str: ...
|
|
1412
1471
|
|
|
1413
1472
|
class Float:
|
|
1473
|
+
"""
|
|
1474
|
+
A floating point value located in a separate struct allowing for optional floats elsewhere.
|
|
1475
|
+
"""
|
|
1476
|
+
|
|
1414
1477
|
val: float
|
|
1415
1478
|
|
|
1416
1479
|
__match_args__ = (
|
|
@@ -1419,27 +1482,20 @@ class Float:
|
|
|
1419
1482
|
|
|
1420
1483
|
def __new__(
|
|
1421
1484
|
cls,
|
|
1422
|
-
val: float = 0,
|
|
1485
|
+
val: float = 0.0,
|
|
1423
1486
|
): ...
|
|
1424
1487
|
def __init__(
|
|
1425
1488
|
self,
|
|
1426
|
-
val: float = 0,
|
|
1489
|
+
val: float = 0.0,
|
|
1427
1490
|
): ...
|
|
1428
|
-
def pack(self) -> bytes:
|
|
1429
|
-
"""
|
|
1430
|
-
Serializes this instance into a byte array
|
|
1431
|
-
"""
|
|
1432
|
-
@staticmethod
|
|
1433
|
-
def unpack(data: bytes) -> Float:
|
|
1434
|
-
"""
|
|
1435
|
-
Deserializes the data into a new instance
|
|
1436
|
-
|
|
1437
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1438
|
-
"""
|
|
1439
1491
|
def __str__(self) -> str: ...
|
|
1440
1492
|
def __repr__(self) -> str: ...
|
|
1441
1493
|
|
|
1442
1494
|
class GameEventMutator:
|
|
1495
|
+
"""
|
|
1496
|
+
Game event mutator options.
|
|
1497
|
+
"""
|
|
1498
|
+
|
|
1443
1499
|
Default = GameEventMutator(0)
|
|
1444
1500
|
Haunted = GameEventMutator(1)
|
|
1445
1501
|
Rugby = GameEventMutator(2)
|
|
@@ -1450,12 +1506,16 @@ class GameEventMutator:
|
|
|
1450
1506
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1451
1507
|
"""
|
|
1452
1508
|
def __int__(self) -> int: ...
|
|
1453
|
-
def __eq__(self, other
|
|
1454
|
-
def __hash__(self) ->
|
|
1509
|
+
def __eq__(self, other) -> bool: ...
|
|
1510
|
+
def __hash__(self) -> int: ...
|
|
1455
1511
|
def __str__(self) -> str: ...
|
|
1456
1512
|
def __repr__(self) -> str: ...
|
|
1457
1513
|
|
|
1458
1514
|
class GameMode:
|
|
1515
|
+
"""
|
|
1516
|
+
Various game modes.
|
|
1517
|
+
"""
|
|
1518
|
+
|
|
1459
1519
|
Soccar = GameMode(0)
|
|
1460
1520
|
Hoops = GameMode(1)
|
|
1461
1521
|
Dropshot = GameMode(2)
|
|
@@ -1471,8 +1531,8 @@ class GameMode:
|
|
|
1471
1531
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1472
1532
|
"""
|
|
1473
1533
|
def __int__(self) -> int: ...
|
|
1474
|
-
def __eq__(self, other
|
|
1475
|
-
def __hash__(self) ->
|
|
1534
|
+
def __eq__(self, other) -> bool: ...
|
|
1535
|
+
def __hash__(self) -> int: ...
|
|
1476
1536
|
def __str__(self) -> str: ...
|
|
1477
1537
|
def __repr__(self) -> str: ...
|
|
1478
1538
|
|
|
@@ -1482,6 +1542,7 @@ class GamePacket:
|
|
|
1482
1542
|
Is is sent every tick to bots, scripts, etc.
|
|
1483
1543
|
Static data is found in the FieldInfo.
|
|
1484
1544
|
"""
|
|
1545
|
+
|
|
1485
1546
|
players: Sequence[PlayerInfo]
|
|
1486
1547
|
"""
|
|
1487
1548
|
The current state of all players and their cars.
|
|
@@ -1533,6 +1594,7 @@ class GamePacket:
|
|
|
1533
1594
|
"""
|
|
1534
1595
|
Serializes this instance into a byte array
|
|
1535
1596
|
"""
|
|
1597
|
+
|
|
1536
1598
|
@staticmethod
|
|
1537
1599
|
def unpack(data: bytes) -> GamePacket:
|
|
1538
1600
|
"""
|
|
@@ -1540,10 +1602,15 @@ class GamePacket:
|
|
|
1540
1602
|
|
|
1541
1603
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1542
1604
|
"""
|
|
1605
|
+
|
|
1543
1606
|
def __str__(self) -> str: ...
|
|
1544
1607
|
def __repr__(self) -> str: ...
|
|
1545
1608
|
|
|
1546
1609
|
class GameSpeedMutator:
|
|
1610
|
+
"""
|
|
1611
|
+
Game speed mutator options.
|
|
1612
|
+
"""
|
|
1613
|
+
|
|
1547
1614
|
Default = GameSpeedMutator(0)
|
|
1548
1615
|
SloMo = GameSpeedMutator(1)
|
|
1549
1616
|
TimeWarp = GameSpeedMutator(2)
|
|
@@ -1554,8 +1621,8 @@ class GameSpeedMutator:
|
|
|
1554
1621
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1555
1622
|
"""
|
|
1556
1623
|
def __int__(self) -> int: ...
|
|
1557
|
-
def __eq__(self, other
|
|
1558
|
-
def __hash__(self) ->
|
|
1624
|
+
def __eq__(self, other) -> bool: ...
|
|
1625
|
+
def __hash__(self) -> int: ...
|
|
1559
1626
|
def __str__(self) -> str: ...
|
|
1560
1627
|
def __repr__(self) -> str: ...
|
|
1561
1628
|
|
|
@@ -1564,6 +1631,7 @@ class GoalInfo:
|
|
|
1564
1631
|
Static information about a goal on the field such as dimensions and location.
|
|
1565
1632
|
More values can be found on https://wiki.rlbot.org/botmaking/useful-game-values/
|
|
1566
1633
|
"""
|
|
1634
|
+
|
|
1567
1635
|
team_num: int
|
|
1568
1636
|
"""
|
|
1569
1637
|
The index of the team that this goal belongs to.
|
|
@@ -1598,21 +1666,22 @@ class GoalInfo:
|
|
|
1598
1666
|
team_num: int = 0,
|
|
1599
1667
|
location: Vector3 = Vector3(),
|
|
1600
1668
|
direction: Vector3 = Vector3(),
|
|
1601
|
-
width: float = 0,
|
|
1602
|
-
height: float = 0,
|
|
1669
|
+
width: float = 0.0,
|
|
1670
|
+
height: float = 0.0,
|
|
1603
1671
|
): ...
|
|
1604
1672
|
def __init__(
|
|
1605
1673
|
self,
|
|
1606
1674
|
team_num: int = 0,
|
|
1607
1675
|
location: Vector3 = Vector3(),
|
|
1608
1676
|
direction: Vector3 = Vector3(),
|
|
1609
|
-
width: float = 0,
|
|
1610
|
-
height: float = 0,
|
|
1677
|
+
width: float = 0.0,
|
|
1678
|
+
height: float = 0.0,
|
|
1611
1679
|
): ...
|
|
1612
1680
|
def pack(self) -> bytes:
|
|
1613
1681
|
"""
|
|
1614
1682
|
Serializes this instance into a byte array
|
|
1615
1683
|
"""
|
|
1684
|
+
|
|
1616
1685
|
@staticmethod
|
|
1617
1686
|
def unpack(data: bytes) -> GoalInfo:
|
|
1618
1687
|
"""
|
|
@@ -1620,10 +1689,15 @@ class GoalInfo:
|
|
|
1620
1689
|
|
|
1621
1690
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1622
1691
|
"""
|
|
1692
|
+
|
|
1623
1693
|
def __str__(self) -> str: ...
|
|
1624
1694
|
def __repr__(self) -> str: ...
|
|
1625
1695
|
|
|
1626
1696
|
class GravityMutator:
|
|
1697
|
+
"""
|
|
1698
|
+
Gravity mutator options.
|
|
1699
|
+
"""
|
|
1700
|
+
|
|
1627
1701
|
Default = GravityMutator(0)
|
|
1628
1702
|
Low = GravityMutator(1)
|
|
1629
1703
|
High = GravityMutator(2)
|
|
@@ -1636,8 +1710,8 @@ class GravityMutator:
|
|
|
1636
1710
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1637
1711
|
"""
|
|
1638
1712
|
def __int__(self) -> int: ...
|
|
1639
|
-
def __eq__(self, other
|
|
1640
|
-
def __hash__(self) ->
|
|
1713
|
+
def __eq__(self, other) -> bool: ...
|
|
1714
|
+
def __hash__(self) -> int: ...
|
|
1641
1715
|
def __str__(self) -> str: ...
|
|
1642
1716
|
def __repr__(self) -> str: ...
|
|
1643
1717
|
|
|
@@ -1645,40 +1719,18 @@ class Human:
|
|
|
1645
1719
|
"""
|
|
1646
1720
|
A normal human player.
|
|
1647
1721
|
"""
|
|
1648
|
-
def __init__(self): ...
|
|
1649
|
-
def pack(self) -> bytes:
|
|
1650
|
-
"""
|
|
1651
|
-
Serializes this instance into a byte array
|
|
1652
|
-
"""
|
|
1653
|
-
@staticmethod
|
|
1654
|
-
def unpack(data: bytes) -> Human:
|
|
1655
|
-
"""
|
|
1656
|
-
Deserializes the data into a new instance
|
|
1657
1722
|
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
def __str__(self) -> str: ...
|
|
1661
|
-
def __repr__(self) -> str: ...
|
|
1723
|
+
def __new__(cls): ...
|
|
1724
|
+
def __init__(self): ...
|
|
1662
1725
|
|
|
1663
1726
|
class InitComplete:
|
|
1664
1727
|
"""
|
|
1665
1728
|
Indicates that the session has finished all initialization and is ready to start receiving
|
|
1666
1729
|
game messages without delay.
|
|
1667
1730
|
"""
|
|
1668
|
-
def __init__(self): ...
|
|
1669
|
-
def pack(self) -> bytes:
|
|
1670
|
-
"""
|
|
1671
|
-
Serializes this instance into a byte array
|
|
1672
|
-
"""
|
|
1673
|
-
@staticmethod
|
|
1674
|
-
def unpack(data: bytes) -> InitComplete:
|
|
1675
|
-
"""
|
|
1676
|
-
Deserializes the data into a new instance
|
|
1677
1731
|
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
def __str__(self) -> str: ...
|
|
1681
|
-
def __repr__(self) -> str: ...
|
|
1732
|
+
def __new__(cls): ...
|
|
1733
|
+
def __init__(self): ...
|
|
1682
1734
|
|
|
1683
1735
|
class InputRestrictionMutator:
|
|
1684
1736
|
Default = InputRestrictionMutator(0)
|
|
@@ -1690,21 +1742,8 @@ class InputRestrictionMutator:
|
|
|
1690
1742
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1691
1743
|
"""
|
|
1692
1744
|
def __int__(self) -> int: ...
|
|
1693
|
-
def __eq__(self, other
|
|
1694
|
-
def __hash__(self) ->
|
|
1695
|
-
def __str__(self) -> str: ...
|
|
1696
|
-
def __repr__(self) -> str: ...
|
|
1697
|
-
|
|
1698
|
-
class InterfaceMessage:
|
|
1699
|
-
item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus
|
|
1700
|
-
|
|
1701
|
-
def __new__(
|
|
1702
|
-
cls, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1703
|
-
): ...
|
|
1704
|
-
def __init__(
|
|
1705
|
-
self, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1706
|
-
): ...
|
|
1707
|
-
|
|
1745
|
+
def __eq__(self, other) -> bool: ...
|
|
1746
|
+
def __hash__(self) -> int: ...
|
|
1708
1747
|
def __str__(self) -> str: ...
|
|
1709
1748
|
def __repr__(self) -> str: ...
|
|
1710
1749
|
|
|
@@ -1712,7 +1751,8 @@ class InterfacePacket:
|
|
|
1712
1751
|
"""
|
|
1713
1752
|
Packet containing a InterfaceMessage
|
|
1714
1753
|
"""
|
|
1715
|
-
|
|
1754
|
+
|
|
1755
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand
|
|
1716
1756
|
|
|
1717
1757
|
__match_args__ = (
|
|
1718
1758
|
"message",
|
|
@@ -1720,16 +1760,17 @@ class InterfacePacket:
|
|
|
1720
1760
|
|
|
1721
1761
|
def __new__(
|
|
1722
1762
|
cls,
|
|
1723
|
-
message:
|
|
1763
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand = ConnectionSettings(),
|
|
1724
1764
|
): ...
|
|
1725
1765
|
def __init__(
|
|
1726
1766
|
self,
|
|
1727
|
-
message:
|
|
1767
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand = ConnectionSettings(),
|
|
1728
1768
|
): ...
|
|
1729
1769
|
def pack(self) -> bytes:
|
|
1730
1770
|
"""
|
|
1731
1771
|
Serializes this instance into a byte array
|
|
1732
1772
|
"""
|
|
1773
|
+
|
|
1733
1774
|
@staticmethod
|
|
1734
1775
|
def unpack(data: bytes) -> InterfacePacket:
|
|
1735
1776
|
"""
|
|
@@ -1737,6 +1778,7 @@ class InterfacePacket:
|
|
|
1737
1778
|
|
|
1738
1779
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1739
1780
|
"""
|
|
1781
|
+
|
|
1740
1782
|
def __str__(self) -> str: ...
|
|
1741
1783
|
def __repr__(self) -> str: ...
|
|
1742
1784
|
|
|
@@ -1755,12 +1797,16 @@ class JumpMutator:
|
|
|
1755
1797
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1756
1798
|
"""
|
|
1757
1799
|
def __int__(self) -> int: ...
|
|
1758
|
-
def __eq__(self, other
|
|
1759
|
-
def __hash__(self) ->
|
|
1800
|
+
def __eq__(self, other) -> bool: ...
|
|
1801
|
+
def __hash__(self) -> int: ...
|
|
1760
1802
|
def __str__(self) -> str: ...
|
|
1761
1803
|
def __repr__(self) -> str: ...
|
|
1762
1804
|
|
|
1763
1805
|
class Launcher:
|
|
1806
|
+
"""
|
|
1807
|
+
Possible to launch Rocket League.
|
|
1808
|
+
"""
|
|
1809
|
+
|
|
1764
1810
|
Steam = Launcher(0)
|
|
1765
1811
|
Epic = Launcher(1)
|
|
1766
1812
|
Custom = Launcher(2)
|
|
@@ -1776,8 +1822,8 @@ class Launcher:
|
|
|
1776
1822
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1777
1823
|
"""
|
|
1778
1824
|
def __int__(self) -> int: ...
|
|
1779
|
-
def __eq__(self, other
|
|
1780
|
-
def __hash__(self) ->
|
|
1825
|
+
def __eq__(self, other) -> bool: ...
|
|
1826
|
+
def __hash__(self) -> int: ...
|
|
1781
1827
|
def __str__(self) -> str: ...
|
|
1782
1828
|
def __repr__(self) -> str: ...
|
|
1783
1829
|
|
|
@@ -1785,6 +1831,7 @@ class Line3D:
|
|
|
1785
1831
|
"""
|
|
1786
1832
|
A RenderMessage for a line in 3D space between two RenderAnchors.
|
|
1787
1833
|
"""
|
|
1834
|
+
|
|
1788
1835
|
start: RenderAnchor
|
|
1789
1836
|
end: RenderAnchor
|
|
1790
1837
|
color: Color
|
|
@@ -1811,6 +1858,7 @@ class Line3D:
|
|
|
1811
1858
|
"""
|
|
1812
1859
|
Serializes this instance into a byte array
|
|
1813
1860
|
"""
|
|
1861
|
+
|
|
1814
1862
|
@staticmethod
|
|
1815
1863
|
def unpack(data: bytes) -> Line3D:
|
|
1816
1864
|
"""
|
|
@@ -1818,6 +1866,7 @@ class Line3D:
|
|
|
1818
1866
|
|
|
1819
1867
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1820
1868
|
"""
|
|
1869
|
+
|
|
1821
1870
|
def __str__(self) -> str: ...
|
|
1822
1871
|
def __repr__(self) -> str: ...
|
|
1823
1872
|
|
|
@@ -1825,6 +1874,7 @@ class LoadoutPaint:
|
|
|
1825
1874
|
"""
|
|
1826
1875
|
Specification for 'painted' items. See https://wiki.rlbot.org/botmaking/bot-customization/
|
|
1827
1876
|
"""
|
|
1877
|
+
|
|
1828
1878
|
car_paint_id: int
|
|
1829
1879
|
decal_paint_id: int
|
|
1830
1880
|
wheels_paint_id: int
|
|
@@ -1871,6 +1921,7 @@ class LoadoutPaint:
|
|
|
1871
1921
|
"""
|
|
1872
1922
|
Serializes this instance into a byte array
|
|
1873
1923
|
"""
|
|
1924
|
+
|
|
1874
1925
|
@staticmethod
|
|
1875
1926
|
def unpack(data: bytes) -> LoadoutPaint:
|
|
1876
1927
|
"""
|
|
@@ -1878,6 +1929,7 @@ class LoadoutPaint:
|
|
|
1878
1929
|
|
|
1879
1930
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1880
1931
|
"""
|
|
1932
|
+
|
|
1881
1933
|
def __str__(self) -> str: ...
|
|
1882
1934
|
def __repr__(self) -> str: ...
|
|
1883
1935
|
|
|
@@ -1887,6 +1939,7 @@ class MatchComm:
|
|
|
1887
1939
|
Use the team_only field if the message should only be received by team mates.
|
|
1888
1940
|
The message can also have a human-readable summary displayed in quick chat through the display field.
|
|
1889
1941
|
"""
|
|
1942
|
+
|
|
1890
1943
|
index: int
|
|
1891
1944
|
"""
|
|
1892
1945
|
The index of the player that sent this message.
|
|
@@ -1901,7 +1954,7 @@ class MatchComm:
|
|
|
1901
1954
|
"""
|
|
1902
1955
|
True if this message is team-only, false if everyone can see it
|
|
1903
1956
|
"""
|
|
1904
|
-
display:
|
|
1957
|
+
display: str | None
|
|
1905
1958
|
"""
|
|
1906
1959
|
The message that will be displayed on the screen in quick chat.
|
|
1907
1960
|
This is intended for communication with humans.
|
|
@@ -1926,21 +1979,22 @@ class MatchComm:
|
|
|
1926
1979
|
index: int = 0,
|
|
1927
1980
|
team: int = 0,
|
|
1928
1981
|
team_only: bool = False,
|
|
1929
|
-
display:
|
|
1930
|
-
content: bytes =
|
|
1982
|
+
display: str | None = None,
|
|
1983
|
+
content: bytes = bytes(),
|
|
1931
1984
|
): ...
|
|
1932
1985
|
def __init__(
|
|
1933
1986
|
self,
|
|
1934
1987
|
index: int = 0,
|
|
1935
1988
|
team: int = 0,
|
|
1936
1989
|
team_only: bool = False,
|
|
1937
|
-
display:
|
|
1938
|
-
content: bytes =
|
|
1990
|
+
display: str | None = None,
|
|
1991
|
+
content: bytes = bytes(),
|
|
1939
1992
|
): ...
|
|
1940
1993
|
def pack(self) -> bytes:
|
|
1941
1994
|
"""
|
|
1942
1995
|
Serializes this instance into a byte array
|
|
1943
1996
|
"""
|
|
1997
|
+
|
|
1944
1998
|
@staticmethod
|
|
1945
1999
|
def unpack(data: bytes) -> MatchComm:
|
|
1946
2000
|
"""
|
|
@@ -1948,6 +2002,7 @@ class MatchComm:
|
|
|
1948
2002
|
|
|
1949
2003
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1950
2004
|
"""
|
|
2005
|
+
|
|
1951
2006
|
def __str__(self) -> str: ...
|
|
1952
2007
|
def __repr__(self) -> str: ...
|
|
1953
2008
|
|
|
@@ -1956,6 +2011,7 @@ class MatchConfiguration:
|
|
|
1956
2011
|
Definition of a match.
|
|
1957
2012
|
Can be sent to RLBot to request the start of a match.
|
|
1958
2013
|
"""
|
|
2014
|
+
|
|
1959
2015
|
launcher: Launcher
|
|
1960
2016
|
"""
|
|
1961
2017
|
How to launch Rocket League.
|
|
@@ -2005,7 +2061,7 @@ class MatchConfiguration:
|
|
|
2005
2061
|
"""
|
|
2006
2062
|
Whether to start without a kickoff countdown.
|
|
2007
2063
|
"""
|
|
2008
|
-
mutators:
|
|
2064
|
+
mutators: MutatorSettings | None
|
|
2009
2065
|
"""
|
|
2010
2066
|
Mutator settings.
|
|
2011
2067
|
"""
|
|
@@ -2062,7 +2118,7 @@ class MatchConfiguration:
|
|
|
2062
2118
|
game_mode: GameMode = GameMode(),
|
|
2063
2119
|
skip_replays: bool = False,
|
|
2064
2120
|
instant_start: bool = False,
|
|
2065
|
-
mutators:
|
|
2121
|
+
mutators: MutatorSettings | None = None,
|
|
2066
2122
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2067
2123
|
enable_rendering: DebugRendering = DebugRendering(),
|
|
2068
2124
|
enable_state_setting: bool = False,
|
|
@@ -2081,7 +2137,7 @@ class MatchConfiguration:
|
|
|
2081
2137
|
game_mode: GameMode = GameMode(),
|
|
2082
2138
|
skip_replays: bool = False,
|
|
2083
2139
|
instant_start: bool = False,
|
|
2084
|
-
mutators:
|
|
2140
|
+
mutators: MutatorSettings | None = None,
|
|
2085
2141
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2086
2142
|
enable_rendering: DebugRendering = DebugRendering(),
|
|
2087
2143
|
enable_state_setting: bool = False,
|
|
@@ -2092,6 +2148,7 @@ class MatchConfiguration:
|
|
|
2092
2148
|
"""
|
|
2093
2149
|
Serializes this instance into a byte array
|
|
2094
2150
|
"""
|
|
2151
|
+
|
|
2095
2152
|
@staticmethod
|
|
2096
2153
|
def unpack(data: bytes) -> MatchConfiguration:
|
|
2097
2154
|
"""
|
|
@@ -2099,6 +2156,7 @@ class MatchConfiguration:
|
|
|
2099
2156
|
|
|
2100
2157
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2101
2158
|
"""
|
|
2159
|
+
|
|
2102
2160
|
def __str__(self) -> str: ...
|
|
2103
2161
|
def __repr__(self) -> str: ...
|
|
2104
2162
|
|
|
@@ -2106,6 +2164,7 @@ class MatchInfo:
|
|
|
2106
2164
|
"""
|
|
2107
2165
|
Information about the current match such as time and gravity.
|
|
2108
2166
|
"""
|
|
2167
|
+
|
|
2109
2168
|
seconds_elapsed: float
|
|
2110
2169
|
"""
|
|
2111
2170
|
How many seconds have elapsed since the first game packet of the match.
|
|
@@ -2162,25 +2221,25 @@ class MatchInfo:
|
|
|
2162
2221
|
|
|
2163
2222
|
def __new__(
|
|
2164
2223
|
cls,
|
|
2165
|
-
seconds_elapsed: float = 0,
|
|
2166
|
-
game_time_remaining: float = 0,
|
|
2224
|
+
seconds_elapsed: float = 0.0,
|
|
2225
|
+
game_time_remaining: float = 0.0,
|
|
2167
2226
|
is_overtime: bool = False,
|
|
2168
2227
|
is_unlimited_time: bool = False,
|
|
2169
2228
|
match_phase: MatchPhase = MatchPhase(),
|
|
2170
|
-
world_gravity_z: float = 0,
|
|
2171
|
-
game_speed: float = 0,
|
|
2229
|
+
world_gravity_z: float = 0.0,
|
|
2230
|
+
game_speed: float = 0.0,
|
|
2172
2231
|
last_spectated: int = 0,
|
|
2173
2232
|
frame_num: int = 0,
|
|
2174
2233
|
): ...
|
|
2175
2234
|
def __init__(
|
|
2176
2235
|
self,
|
|
2177
|
-
seconds_elapsed: float = 0,
|
|
2178
|
-
game_time_remaining: float = 0,
|
|
2236
|
+
seconds_elapsed: float = 0.0,
|
|
2237
|
+
game_time_remaining: float = 0.0,
|
|
2179
2238
|
is_overtime: bool = False,
|
|
2180
2239
|
is_unlimited_time: bool = False,
|
|
2181
2240
|
match_phase: MatchPhase = MatchPhase(),
|
|
2182
|
-
world_gravity_z: float = 0,
|
|
2183
|
-
game_speed: float = 0,
|
|
2241
|
+
world_gravity_z: float = 0.0,
|
|
2242
|
+
game_speed: float = 0.0,
|
|
2184
2243
|
last_spectated: int = 0,
|
|
2185
2244
|
frame_num: int = 0,
|
|
2186
2245
|
): ...
|
|
@@ -2188,6 +2247,7 @@ class MatchInfo:
|
|
|
2188
2247
|
"""
|
|
2189
2248
|
Serializes this instance into a byte array
|
|
2190
2249
|
"""
|
|
2250
|
+
|
|
2191
2251
|
@staticmethod
|
|
2192
2252
|
def unpack(data: bytes) -> MatchInfo:
|
|
2193
2253
|
"""
|
|
@@ -2195,10 +2255,15 @@ class MatchInfo:
|
|
|
2195
2255
|
|
|
2196
2256
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2197
2257
|
"""
|
|
2258
|
+
|
|
2198
2259
|
def __str__(self) -> str: ...
|
|
2199
2260
|
def __repr__(self) -> str: ...
|
|
2200
2261
|
|
|
2201
|
-
class MatchLengthMutator:
|
|
2262
|
+
class MatchLengthMutator:
|
|
2263
|
+
"""
|
|
2264
|
+
Match length mutator options.
|
|
2265
|
+
"""
|
|
2266
|
+
|
|
2202
2267
|
FiveMinutes = MatchLengthMutator(0)
|
|
2203
2268
|
TenMinutes = MatchLengthMutator(1)
|
|
2204
2269
|
TwentyMinutes = MatchLengthMutator(2)
|
|
@@ -2210,12 +2275,16 @@ class MatchLengthMutator:
|
|
|
2210
2275
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2211
2276
|
"""
|
|
2212
2277
|
def __int__(self) -> int: ...
|
|
2213
|
-
def __eq__(self, other
|
|
2214
|
-
def __hash__(self) ->
|
|
2278
|
+
def __eq__(self, other) -> bool: ...
|
|
2279
|
+
def __hash__(self) -> int: ...
|
|
2215
2280
|
def __str__(self) -> str: ...
|
|
2216
2281
|
def __repr__(self) -> str: ...
|
|
2217
2282
|
|
|
2218
2283
|
class MatchPhase:
|
|
2284
|
+
"""
|
|
2285
|
+
Possible phases of the match.
|
|
2286
|
+
"""
|
|
2287
|
+
|
|
2219
2288
|
Inactive = MatchPhase(0)
|
|
2220
2289
|
"""
|
|
2221
2290
|
Match has not been created yet.
|
|
@@ -2256,12 +2325,16 @@ class MatchPhase:
|
|
|
2256
2325
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2257
2326
|
"""
|
|
2258
2327
|
def __int__(self) -> int: ...
|
|
2259
|
-
def __eq__(self, other
|
|
2260
|
-
def __hash__(self) ->
|
|
2328
|
+
def __eq__(self, other) -> bool: ...
|
|
2329
|
+
def __hash__(self) -> int: ...
|
|
2261
2330
|
def __str__(self) -> str: ...
|
|
2262
2331
|
def __repr__(self) -> str: ...
|
|
2263
2332
|
|
|
2264
2333
|
class MaxScoreMutator:
|
|
2334
|
+
"""
|
|
2335
|
+
Max score mutator options.
|
|
2336
|
+
"""
|
|
2337
|
+
|
|
2265
2338
|
Unlimited = MaxScoreMutator(0)
|
|
2266
2339
|
OneGoal = MaxScoreMutator(1)
|
|
2267
2340
|
ThreeGoals = MaxScoreMutator(2)
|
|
@@ -2284,12 +2357,16 @@ class MaxScoreMutator:
|
|
|
2284
2357
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2285
2358
|
"""
|
|
2286
2359
|
def __int__(self) -> int: ...
|
|
2287
|
-
def __eq__(self, other
|
|
2288
|
-
def __hash__(self) ->
|
|
2360
|
+
def __eq__(self, other) -> bool: ...
|
|
2361
|
+
def __hash__(self) -> int: ...
|
|
2289
2362
|
def __str__(self) -> str: ...
|
|
2290
2363
|
def __repr__(self) -> str: ...
|
|
2291
2364
|
|
|
2292
2365
|
class MaxTimeMutator:
|
|
2366
|
+
"""
|
|
2367
|
+
Max time mutator options.
|
|
2368
|
+
"""
|
|
2369
|
+
|
|
2293
2370
|
Unlimited = MaxTimeMutator(0)
|
|
2294
2371
|
ElevenMinutes = MaxTimeMutator(1)
|
|
2295
2372
|
|
|
@@ -2299,12 +2376,16 @@ class MaxTimeMutator:
|
|
|
2299
2376
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2300
2377
|
"""
|
|
2301
2378
|
def __int__(self) -> int: ...
|
|
2302
|
-
def __eq__(self, other
|
|
2303
|
-
def __hash__(self) ->
|
|
2379
|
+
def __eq__(self, other) -> bool: ...
|
|
2380
|
+
def __hash__(self) -> int: ...
|
|
2304
2381
|
def __str__(self) -> str: ...
|
|
2305
2382
|
def __repr__(self) -> str: ...
|
|
2306
2383
|
|
|
2307
2384
|
class MultiBallMutator:
|
|
2385
|
+
"""
|
|
2386
|
+
Multi ball mutator options.
|
|
2387
|
+
"""
|
|
2388
|
+
|
|
2308
2389
|
One = MultiBallMutator(0)
|
|
2309
2390
|
Two = MultiBallMutator(1)
|
|
2310
2391
|
Four = MultiBallMutator(2)
|
|
@@ -2316,8 +2397,8 @@ class MultiBallMutator:
|
|
|
2316
2397
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2317
2398
|
"""
|
|
2318
2399
|
def __int__(self) -> int: ...
|
|
2319
|
-
def __eq__(self, other
|
|
2320
|
-
def __hash__(self) ->
|
|
2400
|
+
def __eq__(self, other) -> bool: ...
|
|
2401
|
+
def __hash__(self) -> int: ...
|
|
2321
2402
|
def __str__(self) -> str: ...
|
|
2322
2403
|
def __repr__(self) -> str: ...
|
|
2323
2404
|
|
|
@@ -2325,6 +2406,7 @@ class MutatorSettings:
|
|
|
2325
2406
|
"""
|
|
2326
2407
|
All mutators options.
|
|
2327
2408
|
"""
|
|
2409
|
+
|
|
2328
2410
|
match_length: MatchLengthMutator
|
|
2329
2411
|
"""
|
|
2330
2412
|
Duration of the match.
|
|
@@ -2450,6 +2532,10 @@ class MutatorSettings:
|
|
|
2450
2532
|
"""
|
|
2451
2533
|
Player input restriction mutator.
|
|
2452
2534
|
"""
|
|
2535
|
+
scoring_rule: ScoringRuleMutator
|
|
2536
|
+
"""
|
|
2537
|
+
Additional rules about scoring (ball-goal interaction).
|
|
2538
|
+
"""
|
|
2453
2539
|
|
|
2454
2540
|
__match_args__ = (
|
|
2455
2541
|
"match_length",
|
|
@@ -2483,6 +2569,7 @@ class MutatorSettings:
|
|
|
2483
2569
|
"aerial_goal_score",
|
|
2484
2570
|
"assist_goal_score",
|
|
2485
2571
|
"input_restriction",
|
|
2572
|
+
"scoring_rule",
|
|
2486
2573
|
)
|
|
2487
2574
|
|
|
2488
2575
|
def __new__(
|
|
@@ -2518,6 +2605,7 @@ class MutatorSettings:
|
|
|
2518
2605
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2519
2606
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2520
2607
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2608
|
+
scoring_rule: ScoringRuleMutator = ScoringRuleMutator(),
|
|
2521
2609
|
): ...
|
|
2522
2610
|
def __init__(
|
|
2523
2611
|
self,
|
|
@@ -2552,11 +2640,13 @@ class MutatorSettings:
|
|
|
2552
2640
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2553
2641
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2554
2642
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2643
|
+
scoring_rule: ScoringRuleMutator = ScoringRuleMutator(),
|
|
2555
2644
|
): ...
|
|
2556
2645
|
def pack(self) -> bytes:
|
|
2557
2646
|
"""
|
|
2558
2647
|
Serializes this instance into a byte array
|
|
2559
2648
|
"""
|
|
2649
|
+
|
|
2560
2650
|
@staticmethod
|
|
2561
2651
|
def unpack(data: bytes) -> MutatorSettings:
|
|
2562
2652
|
"""
|
|
@@ -2564,6 +2654,7 @@ class MutatorSettings:
|
|
|
2564
2654
|
|
|
2565
2655
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2566
2656
|
"""
|
|
2657
|
+
|
|
2567
2658
|
def __str__(self) -> str: ...
|
|
2568
2659
|
def __repr__(self) -> str: ...
|
|
2569
2660
|
|
|
@@ -2581,12 +2672,16 @@ class NormalGoalScoreMutator:
|
|
|
2581
2672
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2582
2673
|
"""
|
|
2583
2674
|
def __int__(self) -> int: ...
|
|
2584
|
-
def __eq__(self, other
|
|
2585
|
-
def __hash__(self) ->
|
|
2675
|
+
def __eq__(self, other) -> bool: ...
|
|
2676
|
+
def __hash__(self) -> int: ...
|
|
2586
2677
|
def __str__(self) -> str: ...
|
|
2587
2678
|
def __repr__(self) -> str: ...
|
|
2588
2679
|
|
|
2589
2680
|
class OvertimeMutator:
|
|
2681
|
+
"""
|
|
2682
|
+
Overtime mutator options.
|
|
2683
|
+
"""
|
|
2684
|
+
|
|
2590
2685
|
Unlimited = OvertimeMutator(0)
|
|
2591
2686
|
FiveMaxFirstScore = OvertimeMutator(1)
|
|
2592
2687
|
FiveMaxRandomTeam = OvertimeMutator(2)
|
|
@@ -2597,12 +2692,16 @@ class OvertimeMutator:
|
|
|
2597
2692
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2598
2693
|
"""
|
|
2599
2694
|
def __int__(self) -> int: ...
|
|
2600
|
-
def __eq__(self, other
|
|
2601
|
-
def __hash__(self) ->
|
|
2695
|
+
def __eq__(self, other) -> bool: ...
|
|
2696
|
+
def __hash__(self) -> int: ...
|
|
2602
2697
|
def __str__(self) -> str: ...
|
|
2603
2698
|
def __repr__(self) -> str: ...
|
|
2604
2699
|
|
|
2605
2700
|
class Physics:
|
|
2701
|
+
"""
|
|
2702
|
+
The physical state of an object.
|
|
2703
|
+
"""
|
|
2704
|
+
|
|
2606
2705
|
location: Vector3
|
|
2607
2706
|
rotation: Rotator
|
|
2608
2707
|
velocity: Vector3
|
|
@@ -2629,30 +2728,6 @@ class Physics:
|
|
|
2629
2728
|
velocity: Vector3 = Vector3(),
|
|
2630
2729
|
angular_velocity: Vector3 = Vector3(),
|
|
2631
2730
|
): ...
|
|
2632
|
-
def pack(self) -> bytes:
|
|
2633
|
-
"""
|
|
2634
|
-
Serializes this instance into a byte array
|
|
2635
|
-
"""
|
|
2636
|
-
@staticmethod
|
|
2637
|
-
def unpack(data: bytes) -> Physics:
|
|
2638
|
-
"""
|
|
2639
|
-
Deserializes the data into a new instance
|
|
2640
|
-
|
|
2641
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2642
|
-
"""
|
|
2643
|
-
def __str__(self) -> str: ...
|
|
2644
|
-
def __repr__(self) -> str: ...
|
|
2645
|
-
|
|
2646
|
-
class PlayerClass:
|
|
2647
|
-
item: Human | CustomBot | PsyonixBot
|
|
2648
|
-
|
|
2649
|
-
def __new__(
|
|
2650
|
-
cls, item: Human | CustomBot | PsyonixBot = Human()
|
|
2651
|
-
): ...
|
|
2652
|
-
def __init__(
|
|
2653
|
-
self, item: Human | CustomBot | PsyonixBot = Human()
|
|
2654
|
-
): ...
|
|
2655
|
-
|
|
2656
2731
|
def __str__(self) -> str: ...
|
|
2657
2732
|
def __repr__(self) -> str: ...
|
|
2658
2733
|
|
|
@@ -2660,7 +2735,8 @@ class PlayerConfiguration:
|
|
|
2660
2735
|
"""
|
|
2661
2736
|
A PlayerConfiguration defines a player of a match.
|
|
2662
2737
|
"""
|
|
2663
|
-
|
|
2738
|
+
|
|
2739
|
+
variety: CustomBot | Human | PsyonixBot
|
|
2664
2740
|
"""
|
|
2665
2741
|
The type of the player, i.e. human, Psyonix bot, or a custom bot.
|
|
2666
2742
|
"""
|
|
@@ -2683,13 +2759,13 @@ class PlayerConfiguration:
|
|
|
2683
2759
|
|
|
2684
2760
|
def __new__(
|
|
2685
2761
|
cls,
|
|
2686
|
-
variety:
|
|
2762
|
+
variety: CustomBot | Human | PsyonixBot = CustomBot(),
|
|
2687
2763
|
team: int = 0,
|
|
2688
2764
|
player_id: int = 0,
|
|
2689
2765
|
): ...
|
|
2690
2766
|
def __init__(
|
|
2691
2767
|
self,
|
|
2692
|
-
variety:
|
|
2768
|
+
variety: CustomBot | Human | PsyonixBot = CustomBot(),
|
|
2693
2769
|
team: int = 0,
|
|
2694
2770
|
player_id: int = 0,
|
|
2695
2771
|
): ...
|
|
@@ -2697,6 +2773,7 @@ class PlayerConfiguration:
|
|
|
2697
2773
|
"""
|
|
2698
2774
|
Serializes this instance into a byte array
|
|
2699
2775
|
"""
|
|
2776
|
+
|
|
2700
2777
|
@staticmethod
|
|
2701
2778
|
def unpack(data: bytes) -> PlayerConfiguration:
|
|
2702
2779
|
"""
|
|
@@ -2704,6 +2781,7 @@ class PlayerConfiguration:
|
|
|
2704
2781
|
|
|
2705
2782
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2706
2783
|
"""
|
|
2784
|
+
|
|
2707
2785
|
def __str__(self) -> str: ...
|
|
2708
2786
|
def __repr__(self) -> str: ...
|
|
2709
2787
|
|
|
@@ -2711,6 +2789,7 @@ class PlayerInfo:
|
|
|
2711
2789
|
"""
|
|
2712
2790
|
A collection of information about a player and their car.
|
|
2713
2791
|
"""
|
|
2792
|
+
|
|
2714
2793
|
physics: Physics
|
|
2715
2794
|
"""
|
|
2716
2795
|
The physical state of the player's car.
|
|
@@ -2729,7 +2808,7 @@ class PlayerInfo:
|
|
|
2729
2808
|
"""
|
|
2730
2809
|
The center of the hitbox in local coordinates.
|
|
2731
2810
|
"""
|
|
2732
|
-
latest_touch:
|
|
2811
|
+
latest_touch: Touch | None
|
|
2733
2812
|
"""
|
|
2734
2813
|
Information about the latest touch with a ball.
|
|
2735
2814
|
Is null if the player has yet to touch the ball.
|
|
@@ -2849,22 +2928,22 @@ class PlayerInfo:
|
|
|
2849
2928
|
score_info: ScoreInfo = ScoreInfo(),
|
|
2850
2929
|
hitbox: BoxShape = BoxShape(),
|
|
2851
2930
|
hitbox_offset: Vector3 = Vector3(),
|
|
2852
|
-
latest_touch:
|
|
2931
|
+
latest_touch: Touch | None = None,
|
|
2853
2932
|
air_state: AirState = AirState(),
|
|
2854
|
-
dodge_timeout: float = 0,
|
|
2855
|
-
demolished_timeout: float = 0,
|
|
2933
|
+
dodge_timeout: float = 0.0,
|
|
2934
|
+
demolished_timeout: float = 0.0,
|
|
2856
2935
|
is_supersonic: bool = False,
|
|
2857
2936
|
is_bot: bool = False,
|
|
2858
2937
|
name: str = "",
|
|
2859
2938
|
team: int = 0,
|
|
2860
|
-
boost: float = 0,
|
|
2939
|
+
boost: float = 0.0,
|
|
2861
2940
|
player_id: int = 0,
|
|
2862
2941
|
accolades: Sequence[str] = [],
|
|
2863
2942
|
last_input: ControllerState = ControllerState(),
|
|
2864
2943
|
has_jumped: bool = False,
|
|
2865
2944
|
has_double_jumped: bool = False,
|
|
2866
2945
|
has_dodged: bool = False,
|
|
2867
|
-
dodge_elapsed: float = 0,
|
|
2946
|
+
dodge_elapsed: float = 0.0,
|
|
2868
2947
|
dodge_dir: Vector2 = Vector2(),
|
|
2869
2948
|
): ...
|
|
2870
2949
|
def __init__(
|
|
@@ -2873,28 +2952,29 @@ class PlayerInfo:
|
|
|
2873
2952
|
score_info: ScoreInfo = ScoreInfo(),
|
|
2874
2953
|
hitbox: BoxShape = BoxShape(),
|
|
2875
2954
|
hitbox_offset: Vector3 = Vector3(),
|
|
2876
|
-
latest_touch:
|
|
2955
|
+
latest_touch: Touch | None = None,
|
|
2877
2956
|
air_state: AirState = AirState(),
|
|
2878
|
-
dodge_timeout: float = 0,
|
|
2879
|
-
demolished_timeout: float = 0,
|
|
2957
|
+
dodge_timeout: float = 0.0,
|
|
2958
|
+
demolished_timeout: float = 0.0,
|
|
2880
2959
|
is_supersonic: bool = False,
|
|
2881
2960
|
is_bot: bool = False,
|
|
2882
2961
|
name: str = "",
|
|
2883
2962
|
team: int = 0,
|
|
2884
|
-
boost: float = 0,
|
|
2963
|
+
boost: float = 0.0,
|
|
2885
2964
|
player_id: int = 0,
|
|
2886
2965
|
accolades: Sequence[str] = [],
|
|
2887
2966
|
last_input: ControllerState = ControllerState(),
|
|
2888
2967
|
has_jumped: bool = False,
|
|
2889
2968
|
has_double_jumped: bool = False,
|
|
2890
2969
|
has_dodged: bool = False,
|
|
2891
|
-
dodge_elapsed: float = 0,
|
|
2970
|
+
dodge_elapsed: float = 0.0,
|
|
2892
2971
|
dodge_dir: Vector2 = Vector2(),
|
|
2893
2972
|
): ...
|
|
2894
2973
|
def pack(self) -> bytes:
|
|
2895
2974
|
"""
|
|
2896
2975
|
Serializes this instance into a byte array
|
|
2897
2976
|
"""
|
|
2977
|
+
|
|
2898
2978
|
@staticmethod
|
|
2899
2979
|
def unpack(data: bytes) -> PlayerInfo:
|
|
2900
2980
|
"""
|
|
@@ -2902,6 +2982,7 @@ class PlayerInfo:
|
|
|
2902
2982
|
|
|
2903
2983
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2904
2984
|
"""
|
|
2985
|
+
|
|
2905
2986
|
def __str__(self) -> str: ...
|
|
2906
2987
|
def __repr__(self) -> str: ...
|
|
2907
2988
|
|
|
@@ -2910,6 +2991,7 @@ class PlayerInput:
|
|
|
2910
2991
|
A player index and the controller state of that player.
|
|
2911
2992
|
Used to indicate what the player is doing this tick.
|
|
2912
2993
|
"""
|
|
2994
|
+
|
|
2913
2995
|
player_index: int
|
|
2914
2996
|
controller_state: ControllerState
|
|
2915
2997
|
|
|
@@ -2932,6 +3014,7 @@ class PlayerInput:
|
|
|
2932
3014
|
"""
|
|
2933
3015
|
Serializes this instance into a byte array
|
|
2934
3016
|
"""
|
|
3017
|
+
|
|
2935
3018
|
@staticmethod
|
|
2936
3019
|
def unpack(data: bytes) -> PlayerInput:
|
|
2937
3020
|
"""
|
|
@@ -2939,6 +3022,7 @@ class PlayerInput:
|
|
|
2939
3022
|
|
|
2940
3023
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2941
3024
|
"""
|
|
3025
|
+
|
|
2942
3026
|
def __str__(self) -> str: ...
|
|
2943
3027
|
def __repr__(self) -> str: ...
|
|
2944
3028
|
|
|
@@ -2947,6 +3031,7 @@ class PlayerLoadout:
|
|
|
2947
3031
|
Defines the car type, color, and other aspects of the player's appearance.
|
|
2948
3032
|
See https://wiki.rlbot.org/botmaking/bot-customization/
|
|
2949
3033
|
"""
|
|
3034
|
+
|
|
2950
3035
|
team_color_id: int
|
|
2951
3036
|
custom_color_id: int
|
|
2952
3037
|
car_id: int
|
|
@@ -2960,13 +3045,13 @@ class PlayerLoadout:
|
|
|
2960
3045
|
engine_audio_id: int
|
|
2961
3046
|
trails_id: int
|
|
2962
3047
|
goal_explosion_id: int
|
|
2963
|
-
loadout_paint:
|
|
2964
|
-
primary_color_lookup:
|
|
3048
|
+
loadout_paint: LoadoutPaint | None
|
|
3049
|
+
primary_color_lookup: Color | None
|
|
2965
3050
|
"""
|
|
2966
3051
|
Sets the primary color of the car to the swatch that most closely matches the provided
|
|
2967
3052
|
RGB color value. If set, this overrides teamColorId.
|
|
2968
3053
|
"""
|
|
2969
|
-
secondary_color_lookup:
|
|
3054
|
+
secondary_color_lookup: Color | None
|
|
2970
3055
|
"""
|
|
2971
3056
|
Sets the secondary color of the car to the swatch that most closely matches the provided
|
|
2972
3057
|
RGB color value. If set, this overrides customColorId.
|
|
@@ -3006,9 +3091,9 @@ class PlayerLoadout:
|
|
|
3006
3091
|
engine_audio_id: int = 0,
|
|
3007
3092
|
trails_id: int = 0,
|
|
3008
3093
|
goal_explosion_id: int = 0,
|
|
3009
|
-
loadout_paint:
|
|
3010
|
-
primary_color_lookup:
|
|
3011
|
-
secondary_color_lookup:
|
|
3094
|
+
loadout_paint: LoadoutPaint | None = None,
|
|
3095
|
+
primary_color_lookup: Color | None = None,
|
|
3096
|
+
secondary_color_lookup: Color | None = None,
|
|
3012
3097
|
): ...
|
|
3013
3098
|
def __init__(
|
|
3014
3099
|
self,
|
|
@@ -3025,14 +3110,15 @@ class PlayerLoadout:
|
|
|
3025
3110
|
engine_audio_id: int = 0,
|
|
3026
3111
|
trails_id: int = 0,
|
|
3027
3112
|
goal_explosion_id: int = 0,
|
|
3028
|
-
loadout_paint:
|
|
3029
|
-
primary_color_lookup:
|
|
3030
|
-
secondary_color_lookup:
|
|
3113
|
+
loadout_paint: LoadoutPaint | None = None,
|
|
3114
|
+
primary_color_lookup: Color | None = None,
|
|
3115
|
+
secondary_color_lookup: Color | None = None,
|
|
3031
3116
|
): ...
|
|
3032
3117
|
def pack(self) -> bytes:
|
|
3033
3118
|
"""
|
|
3034
3119
|
Serializes this instance into a byte array
|
|
3035
3120
|
"""
|
|
3121
|
+
|
|
3036
3122
|
@staticmethod
|
|
3037
3123
|
def unpack(data: bytes) -> PlayerLoadout:
|
|
3038
3124
|
"""
|
|
@@ -3040,6 +3126,7 @@ class PlayerLoadout:
|
|
|
3040
3126
|
|
|
3041
3127
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3042
3128
|
"""
|
|
3129
|
+
|
|
3043
3130
|
def __str__(self) -> str: ...
|
|
3044
3131
|
def __repr__(self) -> str: ...
|
|
3045
3132
|
|
|
@@ -3047,6 +3134,7 @@ class PolyLine3D:
|
|
|
3047
3134
|
"""
|
|
3048
3135
|
A RenderMessage for a line in 3D space going through a series of points.
|
|
3049
3136
|
"""
|
|
3137
|
+
|
|
3050
3138
|
points: Sequence[Vector3]
|
|
3051
3139
|
color: Color
|
|
3052
3140
|
|
|
@@ -3069,6 +3157,7 @@ class PolyLine3D:
|
|
|
3069
3157
|
"""
|
|
3070
3158
|
Serializes this instance into a byte array
|
|
3071
3159
|
"""
|
|
3160
|
+
|
|
3072
3161
|
@staticmethod
|
|
3073
3162
|
def unpack(data: bytes) -> PolyLine3D:
|
|
3074
3163
|
"""
|
|
@@ -3076,6 +3165,7 @@ class PolyLine3D:
|
|
|
3076
3165
|
|
|
3077
3166
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3078
3167
|
"""
|
|
3168
|
+
|
|
3079
3169
|
def __str__(self) -> str: ...
|
|
3080
3170
|
def __repr__(self) -> str: ...
|
|
3081
3171
|
|
|
@@ -3091,17 +3181,25 @@ class PossessionScoreMutator:
|
|
|
3091
3181
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3092
3182
|
"""
|
|
3093
3183
|
def __int__(self) -> int: ...
|
|
3094
|
-
def __eq__(self, other
|
|
3095
|
-
def __hash__(self) ->
|
|
3184
|
+
def __eq__(self, other) -> bool: ...
|
|
3185
|
+
def __hash__(self) -> int: ...
|
|
3096
3186
|
def __str__(self) -> str: ...
|
|
3097
3187
|
def __repr__(self) -> str: ...
|
|
3098
3188
|
|
|
3099
3189
|
class PredictionSlice:
|
|
3190
|
+
"""
|
|
3191
|
+
An entry in the ball prediction describing where a ball will be at some future time.
|
|
3192
|
+
"""
|
|
3193
|
+
|
|
3100
3194
|
game_seconds: float
|
|
3101
3195
|
"""
|
|
3102
3196
|
The moment in game time that this prediction corresponds to.
|
|
3197
|
+
This corresponds to 'seconds_elapsed' in the MatchInfo.
|
|
3103
3198
|
"""
|
|
3104
3199
|
physics: Physics
|
|
3200
|
+
"""
|
|
3201
|
+
The predicted location and motion of the object.
|
|
3202
|
+
"""
|
|
3105
3203
|
|
|
3106
3204
|
__match_args__ = (
|
|
3107
3205
|
"game_seconds",
|
|
@@ -3110,25 +3208,14 @@ class PredictionSlice:
|
|
|
3110
3208
|
|
|
3111
3209
|
def __new__(
|
|
3112
3210
|
cls,
|
|
3113
|
-
game_seconds: float = 0,
|
|
3211
|
+
game_seconds: float = 0.0,
|
|
3114
3212
|
physics: Physics = Physics(),
|
|
3115
3213
|
): ...
|
|
3116
3214
|
def __init__(
|
|
3117
3215
|
self,
|
|
3118
|
-
game_seconds: float = 0,
|
|
3216
|
+
game_seconds: float = 0.0,
|
|
3119
3217
|
physics: Physics = Physics(),
|
|
3120
3218
|
): ...
|
|
3121
|
-
def pack(self) -> bytes:
|
|
3122
|
-
"""
|
|
3123
|
-
Serializes this instance into a byte array
|
|
3124
|
-
"""
|
|
3125
|
-
@staticmethod
|
|
3126
|
-
def unpack(data: bytes) -> PredictionSlice:
|
|
3127
|
-
"""
|
|
3128
|
-
Deserializes the data into a new instance
|
|
3129
|
-
|
|
3130
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3131
|
-
"""
|
|
3132
3219
|
def __str__(self) -> str: ...
|
|
3133
3220
|
def __repr__(self) -> str: ...
|
|
3134
3221
|
|
|
@@ -3136,13 +3223,14 @@ class PsyonixBot:
|
|
|
3136
3223
|
"""
|
|
3137
3224
|
A Psyonix bot, e.g. All Star bot.
|
|
3138
3225
|
"""
|
|
3226
|
+
|
|
3139
3227
|
name: str
|
|
3140
3228
|
"""
|
|
3141
3229
|
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
3142
3230
|
duplicate names will be renamed with a suffix like `(2)`. For psyonix bots, a blank name will
|
|
3143
3231
|
be replaced with one of the official names.
|
|
3144
3232
|
"""
|
|
3145
|
-
loadout:
|
|
3233
|
+
loadout: PlayerLoadout | None
|
|
3146
3234
|
"""
|
|
3147
3235
|
The loadout of the player.
|
|
3148
3236
|
"""
|
|
@@ -3157,19 +3245,20 @@ class PsyonixBot:
|
|
|
3157
3245
|
def __new__(
|
|
3158
3246
|
cls,
|
|
3159
3247
|
name: str = "",
|
|
3160
|
-
loadout:
|
|
3248
|
+
loadout: PlayerLoadout | None = None,
|
|
3161
3249
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3162
3250
|
): ...
|
|
3163
3251
|
def __init__(
|
|
3164
3252
|
self,
|
|
3165
3253
|
name: str = "",
|
|
3166
|
-
loadout:
|
|
3254
|
+
loadout: PlayerLoadout | None = None,
|
|
3167
3255
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3168
3256
|
): ...
|
|
3169
3257
|
def pack(self) -> bytes:
|
|
3170
3258
|
"""
|
|
3171
3259
|
Serializes this instance into a byte array
|
|
3172
3260
|
"""
|
|
3261
|
+
|
|
3173
3262
|
@staticmethod
|
|
3174
3263
|
def unpack(data: bytes) -> PsyonixBot:
|
|
3175
3264
|
"""
|
|
@@ -3177,10 +3266,15 @@ class PsyonixBot:
|
|
|
3177
3266
|
|
|
3178
3267
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3179
3268
|
"""
|
|
3269
|
+
|
|
3180
3270
|
def __str__(self) -> str: ...
|
|
3181
3271
|
def __repr__(self) -> str: ...
|
|
3182
3272
|
|
|
3183
3273
|
class PsyonixSkill:
|
|
3274
|
+
"""
|
|
3275
|
+
Various skill levels of Psyonix bots.
|
|
3276
|
+
"""
|
|
3277
|
+
|
|
3184
3278
|
Beginner = PsyonixSkill(0)
|
|
3185
3279
|
Rookie = PsyonixSkill(1)
|
|
3186
3280
|
Pro = PsyonixSkill(2)
|
|
@@ -3192,8 +3286,8 @@ class PsyonixSkill:
|
|
|
3192
3286
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3193
3287
|
"""
|
|
3194
3288
|
def __int__(self) -> int: ...
|
|
3195
|
-
def __eq__(self, other
|
|
3196
|
-
def __hash__(self) ->
|
|
3289
|
+
def __eq__(self, other) -> bool: ...
|
|
3290
|
+
def __hash__(self) -> int: ...
|
|
3197
3291
|
def __str__(self) -> str: ...
|
|
3198
3292
|
def __repr__(self) -> str: ...
|
|
3199
3293
|
|
|
@@ -3202,6 +3296,7 @@ class Rect2D:
|
|
|
3202
3296
|
A RenderMessage for a rectangle in 2D space.
|
|
3203
3297
|
Note that the position and size is given in screen-space coordinates.
|
|
3204
3298
|
"""
|
|
3299
|
+
|
|
3205
3300
|
x: float
|
|
3206
3301
|
"""
|
|
3207
3302
|
Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.
|
|
@@ -3243,20 +3338,20 @@ class Rect2D:
|
|
|
3243
3338
|
|
|
3244
3339
|
def __new__(
|
|
3245
3340
|
cls,
|
|
3246
|
-
x: float = 0,
|
|
3247
|
-
y: float = 0,
|
|
3248
|
-
width: float = 0,
|
|
3249
|
-
height: float = 0,
|
|
3341
|
+
x: float = 0.0,
|
|
3342
|
+
y: float = 0.0,
|
|
3343
|
+
width: float = 0.0,
|
|
3344
|
+
height: float = 0.0,
|
|
3250
3345
|
color: Color = Color(),
|
|
3251
3346
|
h_align: TextHAlign = TextHAlign(),
|
|
3252
3347
|
v_align: TextVAlign = TextVAlign(),
|
|
3253
3348
|
): ...
|
|
3254
3349
|
def __init__(
|
|
3255
3350
|
self,
|
|
3256
|
-
x: float = 0,
|
|
3257
|
-
y: float = 0,
|
|
3258
|
-
width: float = 0,
|
|
3259
|
-
height: float = 0,
|
|
3351
|
+
x: float = 0.0,
|
|
3352
|
+
y: float = 0.0,
|
|
3353
|
+
width: float = 0.0,
|
|
3354
|
+
height: float = 0.0,
|
|
3260
3355
|
color: Color = Color(),
|
|
3261
3356
|
h_align: TextHAlign = TextHAlign(),
|
|
3262
3357
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3265,6 +3360,7 @@ class Rect2D:
|
|
|
3265
3360
|
"""
|
|
3266
3361
|
Serializes this instance into a byte array
|
|
3267
3362
|
"""
|
|
3363
|
+
|
|
3268
3364
|
@staticmethod
|
|
3269
3365
|
def unpack(data: bytes) -> Rect2D:
|
|
3270
3366
|
"""
|
|
@@ -3272,6 +3368,7 @@ class Rect2D:
|
|
|
3272
3368
|
|
|
3273
3369
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3274
3370
|
"""
|
|
3371
|
+
|
|
3275
3372
|
def __str__(self) -> str: ...
|
|
3276
3373
|
def __repr__(self) -> str: ...
|
|
3277
3374
|
|
|
@@ -3280,6 +3377,7 @@ class Rect3D:
|
|
|
3280
3377
|
A RenderMessage for a rectangle in 3D space.
|
|
3281
3378
|
Note that the size is given in screen-space sizes.
|
|
3282
3379
|
"""
|
|
3380
|
+
|
|
3283
3381
|
anchor: RenderAnchor
|
|
3284
3382
|
"""
|
|
3285
3383
|
The position of the rectangle.
|
|
@@ -3317,8 +3415,8 @@ class Rect3D:
|
|
|
3317
3415
|
def __new__(
|
|
3318
3416
|
cls,
|
|
3319
3417
|
anchor: RenderAnchor = RenderAnchor(),
|
|
3320
|
-
width: float = 0,
|
|
3321
|
-
height: float = 0,
|
|
3418
|
+
width: float = 0.0,
|
|
3419
|
+
height: float = 0.0,
|
|
3322
3420
|
color: Color = Color(),
|
|
3323
3421
|
h_align: TextHAlign = TextHAlign(),
|
|
3324
3422
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3326,8 +3424,8 @@ class Rect3D:
|
|
|
3326
3424
|
def __init__(
|
|
3327
3425
|
self,
|
|
3328
3426
|
anchor: RenderAnchor = RenderAnchor(),
|
|
3329
|
-
width: float = 0,
|
|
3330
|
-
height: float = 0,
|
|
3427
|
+
width: float = 0.0,
|
|
3428
|
+
height: float = 0.0,
|
|
3331
3429
|
color: Color = Color(),
|
|
3332
3430
|
h_align: TextHAlign = TextHAlign(),
|
|
3333
3431
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3336,6 +3434,7 @@ class Rect3D:
|
|
|
3336
3434
|
"""
|
|
3337
3435
|
Serializes this instance into a byte array
|
|
3338
3436
|
"""
|
|
3437
|
+
|
|
3339
3438
|
@staticmethod
|
|
3340
3439
|
def unpack(data: bytes) -> Rect3D:
|
|
3341
3440
|
"""
|
|
@@ -3343,18 +3442,6 @@ class Rect3D:
|
|
|
3343
3442
|
|
|
3344
3443
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3345
3444
|
"""
|
|
3346
|
-
def __str__(self) -> str: ...
|
|
3347
|
-
def __repr__(self) -> str: ...
|
|
3348
|
-
|
|
3349
|
-
class RelativeAnchor:
|
|
3350
|
-
item: BallAnchor | CarAnchor
|
|
3351
|
-
|
|
3352
|
-
def __new__(
|
|
3353
|
-
cls, item: BallAnchor | CarAnchor = BallAnchor()
|
|
3354
|
-
): ...
|
|
3355
|
-
def __init__(
|
|
3356
|
-
self, item: BallAnchor | CarAnchor = BallAnchor()
|
|
3357
|
-
): ...
|
|
3358
3445
|
|
|
3359
3446
|
def __str__(self) -> str: ...
|
|
3360
3447
|
def __repr__(self) -> str: ...
|
|
@@ -3364,6 +3451,7 @@ class RemoveRenderGroup:
|
|
|
3364
3451
|
A client message request removal of a RenderGroup.
|
|
3365
3452
|
A client can only clear its own RenderGroups.
|
|
3366
3453
|
"""
|
|
3454
|
+
|
|
3367
3455
|
id: int
|
|
3368
3456
|
|
|
3369
3457
|
__match_args__ = (
|
|
@@ -3382,6 +3470,7 @@ class RemoveRenderGroup:
|
|
|
3382
3470
|
"""
|
|
3383
3471
|
Serializes this instance into a byte array
|
|
3384
3472
|
"""
|
|
3473
|
+
|
|
3385
3474
|
@staticmethod
|
|
3386
3475
|
def unpack(data: bytes) -> RemoveRenderGroup:
|
|
3387
3476
|
"""
|
|
@@ -3389,6 +3478,7 @@ class RemoveRenderGroup:
|
|
|
3389
3478
|
|
|
3390
3479
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3391
3480
|
"""
|
|
3481
|
+
|
|
3392
3482
|
def __str__(self) -> str: ...
|
|
3393
3483
|
def __repr__(self) -> str: ...
|
|
3394
3484
|
|
|
@@ -3399,12 +3489,13 @@ class RenderAnchor:
|
|
|
3399
3489
|
The RenderAnchor stays attached to the object and does not have to be updated each tick.
|
|
3400
3490
|
Rendering that uses a RenderAnchor attached to an object disappears if the object is destroyed, i.e. the car demolished or the ball is scored.
|
|
3401
3491
|
"""
|
|
3492
|
+
|
|
3402
3493
|
world: Vector3
|
|
3403
3494
|
"""
|
|
3404
3495
|
An offset in global coordinates.
|
|
3405
3496
|
If the relative component is null, then this simply a point in 3D space.
|
|
3406
3497
|
"""
|
|
3407
|
-
relative:
|
|
3498
|
+
relative: BallAnchor | CarAnchor | None
|
|
3408
3499
|
"""
|
|
3409
3500
|
An optional offset given by the position of an object and includes a local offset that takes the object's orientation into account.
|
|
3410
3501
|
"""
|
|
@@ -3417,17 +3508,18 @@ class RenderAnchor:
|
|
|
3417
3508
|
def __new__(
|
|
3418
3509
|
cls,
|
|
3419
3510
|
world: Vector3 = Vector3(),
|
|
3420
|
-
relative:
|
|
3511
|
+
relative: BallAnchor | CarAnchor | None = None,
|
|
3421
3512
|
): ...
|
|
3422
3513
|
def __init__(
|
|
3423
3514
|
self,
|
|
3424
3515
|
world: Vector3 = Vector3(),
|
|
3425
|
-
relative:
|
|
3516
|
+
relative: BallAnchor | CarAnchor | None = None,
|
|
3426
3517
|
): ...
|
|
3427
3518
|
def pack(self) -> bytes:
|
|
3428
3519
|
"""
|
|
3429
3520
|
Serializes this instance into a byte array
|
|
3430
3521
|
"""
|
|
3522
|
+
|
|
3431
3523
|
@staticmethod
|
|
3432
3524
|
def unpack(data: bytes) -> RenderAnchor:
|
|
3433
3525
|
"""
|
|
@@ -3435,6 +3527,7 @@ class RenderAnchor:
|
|
|
3435
3527
|
|
|
3436
3528
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3437
3529
|
"""
|
|
3530
|
+
|
|
3438
3531
|
def __str__(self) -> str: ...
|
|
3439
3532
|
def __repr__(self) -> str: ...
|
|
3440
3533
|
|
|
@@ -3445,6 +3538,7 @@ class RenderGroup:
|
|
|
3445
3538
|
The group is identified by a unique id.
|
|
3446
3539
|
A client can only clear its own RenderGroups.
|
|
3447
3540
|
"""
|
|
3541
|
+
|
|
3448
3542
|
render_messages: Sequence[RenderMessage]
|
|
3449
3543
|
"""
|
|
3450
3544
|
The content of the RenderGroup.
|
|
@@ -3473,6 +3567,7 @@ class RenderGroup:
|
|
|
3473
3567
|
"""
|
|
3474
3568
|
Serializes this instance into a byte array
|
|
3475
3569
|
"""
|
|
3570
|
+
|
|
3476
3571
|
@staticmethod
|
|
3477
3572
|
def unpack(data: bytes) -> RenderGroup:
|
|
3478
3573
|
"""
|
|
@@ -3480,6 +3575,7 @@ class RenderGroup:
|
|
|
3480
3575
|
|
|
3481
3576
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3482
3577
|
"""
|
|
3578
|
+
|
|
3483
3579
|
def __str__(self) -> str: ...
|
|
3484
3580
|
def __repr__(self) -> str: ...
|
|
3485
3581
|
|
|
@@ -3487,7 +3583,8 @@ class RenderMessage:
|
|
|
3487
3583
|
"""
|
|
3488
3584
|
A RenderMessage, describing a piece of debug rendering.
|
|
3489
3585
|
"""
|
|
3490
|
-
|
|
3586
|
+
|
|
3587
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D
|
|
3491
3588
|
|
|
3492
3589
|
__match_args__ = (
|
|
3493
3590
|
"variety",
|
|
@@ -3495,16 +3592,17 @@ class RenderMessage:
|
|
|
3495
3592
|
|
|
3496
3593
|
def __new__(
|
|
3497
3594
|
cls,
|
|
3498
|
-
variety: Line3D | PolyLine3D |
|
|
3595
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D = Line3D(),
|
|
3499
3596
|
): ...
|
|
3500
3597
|
def __init__(
|
|
3501
3598
|
self,
|
|
3502
|
-
variety: Line3D | PolyLine3D |
|
|
3599
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D = Line3D(),
|
|
3503
3600
|
): ...
|
|
3504
3601
|
def pack(self) -> bytes:
|
|
3505
3602
|
"""
|
|
3506
3603
|
Serializes this instance into a byte array
|
|
3507
3604
|
"""
|
|
3605
|
+
|
|
3508
3606
|
@staticmethod
|
|
3509
3607
|
def unpack(data: bytes) -> RenderMessage:
|
|
3510
3608
|
"""
|
|
@@ -3512,18 +3610,6 @@ class RenderMessage:
|
|
|
3512
3610
|
|
|
3513
3611
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3514
3612
|
"""
|
|
3515
|
-
def __str__(self) -> str: ...
|
|
3516
|
-
def __repr__(self) -> str: ...
|
|
3517
|
-
|
|
3518
|
-
class RenderType:
|
|
3519
|
-
item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D
|
|
3520
|
-
|
|
3521
|
-
def __new__(
|
|
3522
|
-
cls, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
|
|
3523
|
-
): ...
|
|
3524
|
-
def __init__(
|
|
3525
|
-
self, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
|
|
3526
|
-
): ...
|
|
3527
3613
|
|
|
3528
3614
|
def __str__(self) -> str: ...
|
|
3529
3615
|
def __repr__(self) -> str: ...
|
|
@@ -3534,6 +3620,7 @@ class RenderingStatus:
|
|
|
3534
3620
|
This changed will then be broadcasted to all current connections as a core message.
|
|
3535
3621
|
Does nothing if rendering has been completely disabled.
|
|
3536
3622
|
"""
|
|
3623
|
+
|
|
3537
3624
|
index: int
|
|
3538
3625
|
"""
|
|
3539
3626
|
If `is_bot`, this is the index of the bot in `GamePacket` that has been updated.
|
|
@@ -3570,6 +3657,7 @@ class RenderingStatus:
|
|
|
3570
3657
|
"""
|
|
3571
3658
|
Serializes this instance into a byte array
|
|
3572
3659
|
"""
|
|
3660
|
+
|
|
3573
3661
|
@staticmethod
|
|
3574
3662
|
def unpack(data: bytes) -> RenderingStatus:
|
|
3575
3663
|
"""
|
|
@@ -3577,10 +3665,15 @@ class RenderingStatus:
|
|
|
3577
3665
|
|
|
3578
3666
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3579
3667
|
"""
|
|
3668
|
+
|
|
3580
3669
|
def __str__(self) -> str: ...
|
|
3581
3670
|
def __repr__(self) -> str: ...
|
|
3582
3671
|
|
|
3583
3672
|
class RespawnTimeMutator:
|
|
3673
|
+
"""
|
|
3674
|
+
Respawn time mutator options.
|
|
3675
|
+
"""
|
|
3676
|
+
|
|
3584
3677
|
ThreeSeconds = RespawnTimeMutator(0)
|
|
3585
3678
|
TwoSeconds = RespawnTimeMutator(1)
|
|
3586
3679
|
OneSecond = RespawnTimeMutator(2)
|
|
@@ -3592,15 +3685,28 @@ class RespawnTimeMutator:
|
|
|
3592
3685
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3593
3686
|
"""
|
|
3594
3687
|
def __int__(self) -> int: ...
|
|
3595
|
-
def __eq__(self, other
|
|
3596
|
-
def __hash__(self) ->
|
|
3688
|
+
def __eq__(self, other) -> bool: ...
|
|
3689
|
+
def __hash__(self) -> int: ...
|
|
3597
3690
|
def __str__(self) -> str: ...
|
|
3598
3691
|
def __repr__(self) -> str: ...
|
|
3599
3692
|
|
|
3600
3693
|
class Rotator:
|
|
3694
|
+
"""
|
|
3695
|
+
Expresses the rotation state of an object in Euler angles. Values are in radians.
|
|
3696
|
+
"""
|
|
3697
|
+
|
|
3601
3698
|
pitch: float
|
|
3699
|
+
"""
|
|
3700
|
+
In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down.
|
|
3701
|
+
"""
|
|
3602
3702
|
yaw: float
|
|
3703
|
+
"""
|
|
3704
|
+
In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).
|
|
3705
|
+
"""
|
|
3603
3706
|
roll: float
|
|
3707
|
+
"""
|
|
3708
|
+
In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.
|
|
3709
|
+
"""
|
|
3604
3710
|
|
|
3605
3711
|
__match_args__ = (
|
|
3606
3712
|
"pitch",
|
|
@@ -3610,27 +3716,16 @@ class Rotator:
|
|
|
3610
3716
|
|
|
3611
3717
|
def __new__(
|
|
3612
3718
|
cls,
|
|
3613
|
-
pitch: float = 0,
|
|
3614
|
-
yaw: float = 0,
|
|
3615
|
-
roll: float = 0,
|
|
3719
|
+
pitch: float = 0.0,
|
|
3720
|
+
yaw: float = 0.0,
|
|
3721
|
+
roll: float = 0.0,
|
|
3616
3722
|
): ...
|
|
3617
3723
|
def __init__(
|
|
3618
3724
|
self,
|
|
3619
|
-
pitch: float = 0,
|
|
3620
|
-
yaw: float = 0,
|
|
3621
|
-
roll: float = 0,
|
|
3725
|
+
pitch: float = 0.0,
|
|
3726
|
+
yaw: float = 0.0,
|
|
3727
|
+
roll: float = 0.0,
|
|
3622
3728
|
): ...
|
|
3623
|
-
def pack(self) -> bytes:
|
|
3624
|
-
"""
|
|
3625
|
-
Serializes this instance into a byte array
|
|
3626
|
-
"""
|
|
3627
|
-
@staticmethod
|
|
3628
|
-
def unpack(data: bytes) -> Rotator:
|
|
3629
|
-
"""
|
|
3630
|
-
Deserializes the data into a new instance
|
|
3631
|
-
|
|
3632
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3633
|
-
"""
|
|
3634
3729
|
def __str__(self) -> str: ...
|
|
3635
3730
|
def __repr__(self) -> str: ...
|
|
3636
3731
|
|
|
@@ -3641,15 +3736,16 @@ class RotatorPartial:
|
|
|
3641
3736
|
If a component is null, then the component will keep its current value.
|
|
3642
3737
|
Values are in radians.
|
|
3643
3738
|
"""
|
|
3644
|
-
|
|
3739
|
+
|
|
3740
|
+
pitch: float | None
|
|
3645
3741
|
"""
|
|
3646
3742
|
In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down.
|
|
3647
3743
|
"""
|
|
3648
|
-
yaw:
|
|
3744
|
+
yaw: float | None
|
|
3649
3745
|
"""
|
|
3650
3746
|
In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).
|
|
3651
3747
|
"""
|
|
3652
|
-
roll:
|
|
3748
|
+
roll: float | None
|
|
3653
3749
|
"""
|
|
3654
3750
|
In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.
|
|
3655
3751
|
"""
|
|
@@ -3662,20 +3758,21 @@ class RotatorPartial:
|
|
|
3662
3758
|
|
|
3663
3759
|
def __new__(
|
|
3664
3760
|
cls,
|
|
3665
|
-
pitch:
|
|
3666
|
-
yaw:
|
|
3667
|
-
roll:
|
|
3761
|
+
pitch: float | None = None,
|
|
3762
|
+
yaw: float | None = None,
|
|
3763
|
+
roll: float | None = None,
|
|
3668
3764
|
): ...
|
|
3669
3765
|
def __init__(
|
|
3670
3766
|
self,
|
|
3671
|
-
pitch:
|
|
3672
|
-
yaw:
|
|
3673
|
-
roll:
|
|
3767
|
+
pitch: float | None = None,
|
|
3768
|
+
yaw: float | None = None,
|
|
3769
|
+
roll: float | None = None,
|
|
3674
3770
|
): ...
|
|
3675
3771
|
def pack(self) -> bytes:
|
|
3676
3772
|
"""
|
|
3677
3773
|
Serializes this instance into a byte array
|
|
3678
3774
|
"""
|
|
3775
|
+
|
|
3679
3776
|
@staticmethod
|
|
3680
3777
|
def unpack(data: bytes) -> RotatorPartial:
|
|
3681
3778
|
"""
|
|
@@ -3683,10 +3780,15 @@ class RotatorPartial:
|
|
|
3683
3780
|
|
|
3684
3781
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3685
3782
|
"""
|
|
3783
|
+
|
|
3686
3784
|
def __str__(self) -> str: ...
|
|
3687
3785
|
def __repr__(self) -> str: ...
|
|
3688
3786
|
|
|
3689
3787
|
class RumbleMutator:
|
|
3788
|
+
"""
|
|
3789
|
+
Rumble mutator options.
|
|
3790
|
+
"""
|
|
3791
|
+
|
|
3690
3792
|
Off = RumbleMutator(0)
|
|
3691
3793
|
DefaultRumble = RumbleMutator(1)
|
|
3692
3794
|
Slow = RumbleMutator(2)
|
|
@@ -3700,6 +3802,8 @@ class RumbleMutator:
|
|
|
3700
3802
|
BatmanRumble = RumbleMutator(10)
|
|
3701
3803
|
GrapplingOnly = RumbleMutator(11)
|
|
3702
3804
|
HaymakerOnly = RumbleMutator(12)
|
|
3805
|
+
SpikeRushForce = RumbleMutator(13)
|
|
3806
|
+
Rps = RumbleMutator(14)
|
|
3703
3807
|
|
|
3704
3808
|
def __new__(cls, value: int = 0): ...
|
|
3705
3809
|
def __init__(self, value: int = 0):
|
|
@@ -3707,19 +3811,44 @@ class RumbleMutator:
|
|
|
3707
3811
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3708
3812
|
"""
|
|
3709
3813
|
def __int__(self) -> int: ...
|
|
3710
|
-
def __eq__(self, other
|
|
3711
|
-
def __hash__(self) ->
|
|
3814
|
+
def __eq__(self, other) -> bool: ...
|
|
3815
|
+
def __hash__(self) -> int: ...
|
|
3712
3816
|
def __str__(self) -> str: ...
|
|
3713
3817
|
def __repr__(self) -> str: ...
|
|
3714
3818
|
|
|
3715
3819
|
class ScoreInfo:
|
|
3820
|
+
"""
|
|
3821
|
+
A collection of values shown on the scoreboard (and a few more).
|
|
3822
|
+
"""
|
|
3823
|
+
|
|
3716
3824
|
score: int
|
|
3825
|
+
"""
|
|
3826
|
+
The accumulated score, roughly indicating how well a player performs.
|
|
3827
|
+
"""
|
|
3717
3828
|
goals: int
|
|
3829
|
+
"""
|
|
3830
|
+
Number of goals scored.
|
|
3831
|
+
"""
|
|
3718
3832
|
own_goals: int
|
|
3833
|
+
"""
|
|
3834
|
+
Number of own-goals scored.
|
|
3835
|
+
"""
|
|
3719
3836
|
assists: int
|
|
3837
|
+
"""
|
|
3838
|
+
Number of goals assisted.
|
|
3839
|
+
"""
|
|
3720
3840
|
saves: int
|
|
3841
|
+
"""
|
|
3842
|
+
Number of shots saved.
|
|
3843
|
+
"""
|
|
3721
3844
|
shots: int
|
|
3845
|
+
"""
|
|
3846
|
+
Number of shots on opponent goal.
|
|
3847
|
+
"""
|
|
3722
3848
|
demolitions: int
|
|
3849
|
+
"""
|
|
3850
|
+
Number of demolitions made.
|
|
3851
|
+
"""
|
|
3723
3852
|
|
|
3724
3853
|
__match_args__ = (
|
|
3725
3854
|
"score",
|
|
@@ -3751,17 +3880,21 @@ class ScoreInfo:
|
|
|
3751
3880
|
shots: int = 0,
|
|
3752
3881
|
demolitions: int = 0,
|
|
3753
3882
|
): ...
|
|
3754
|
-
def
|
|
3755
|
-
|
|
3756
|
-
Serializes this instance into a byte array
|
|
3757
|
-
"""
|
|
3758
|
-
@staticmethod
|
|
3759
|
-
def unpack(data: bytes) -> ScoreInfo:
|
|
3760
|
-
"""
|
|
3761
|
-
Deserializes the data into a new instance
|
|
3883
|
+
def __str__(self) -> str: ...
|
|
3884
|
+
def __repr__(self) -> str: ...
|
|
3762
3885
|
|
|
3763
|
-
|
|
3886
|
+
class ScoringRuleMutator:
|
|
3887
|
+
Default = ScoringRuleMutator(0)
|
|
3888
|
+
Disabled = ScoringRuleMutator(1)
|
|
3889
|
+
|
|
3890
|
+
def __new__(cls, value: int = 0): ...
|
|
3891
|
+
def __init__(self, value: int = 0):
|
|
3764
3892
|
"""
|
|
3893
|
+
:raises ValueError: If the `value` is not a valid enum value
|
|
3894
|
+
"""
|
|
3895
|
+
def __int__(self) -> int: ...
|
|
3896
|
+
def __eq__(self, other) -> bool: ...
|
|
3897
|
+
def __hash__(self) -> int: ...
|
|
3765
3898
|
def __str__(self) -> str: ...
|
|
3766
3899
|
def __repr__(self) -> str: ...
|
|
3767
3900
|
|
|
@@ -3769,6 +3902,7 @@ class ScriptConfiguration:
|
|
|
3769
3902
|
"""
|
|
3770
3903
|
A ScriptConfiguration defines a script of a match.
|
|
3771
3904
|
"""
|
|
3905
|
+
|
|
3772
3906
|
name: str
|
|
3773
3907
|
"""
|
|
3774
3908
|
The name of the script.
|
|
@@ -3822,6 +3956,7 @@ class ScriptConfiguration:
|
|
|
3822
3956
|
"""
|
|
3823
3957
|
Serializes this instance into a byte array
|
|
3824
3958
|
"""
|
|
3959
|
+
|
|
3825
3960
|
@staticmethod
|
|
3826
3961
|
def unpack(data: bytes) -> ScriptConfiguration:
|
|
3827
3962
|
"""
|
|
@@ -3829,10 +3964,15 @@ class ScriptConfiguration:
|
|
|
3829
3964
|
|
|
3830
3965
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3831
3966
|
"""
|
|
3967
|
+
|
|
3832
3968
|
def __str__(self) -> str: ...
|
|
3833
3969
|
def __repr__(self) -> str: ...
|
|
3834
3970
|
|
|
3835
3971
|
class SeriesLengthMutator:
|
|
3972
|
+
"""
|
|
3973
|
+
Series length mutator options.
|
|
3974
|
+
"""
|
|
3975
|
+
|
|
3836
3976
|
Unlimited = SeriesLengthMutator(0)
|
|
3837
3977
|
ThreeGames = SeriesLengthMutator(1)
|
|
3838
3978
|
FiveGames = SeriesLengthMutator(2)
|
|
@@ -3844,8 +3984,8 @@ class SeriesLengthMutator:
|
|
|
3844
3984
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3845
3985
|
"""
|
|
3846
3986
|
def __int__(self) -> int: ...
|
|
3847
|
-
def __eq__(self, other
|
|
3848
|
-
def __hash__(self) ->
|
|
3987
|
+
def __eq__(self, other) -> bool: ...
|
|
3988
|
+
def __hash__(self) -> int: ...
|
|
3849
3989
|
def __str__(self) -> str: ...
|
|
3850
3990
|
def __repr__(self) -> str: ...
|
|
3851
3991
|
|
|
@@ -3856,6 +3996,7 @@ class SetLoadout:
|
|
|
3856
3996
|
If sent after the ready message and if game state setting is enabled, this will respawn the car with the new loadout.
|
|
3857
3997
|
Bots can only set the loadout of their own car(s).
|
|
3858
3998
|
"""
|
|
3999
|
+
|
|
3859
4000
|
index: int
|
|
3860
4001
|
"""
|
|
3861
4002
|
The index of the car to change loadout off.
|
|
@@ -3884,6 +4025,7 @@ class SetLoadout:
|
|
|
3884
4025
|
"""
|
|
3885
4026
|
Serializes this instance into a byte array
|
|
3886
4027
|
"""
|
|
4028
|
+
|
|
3887
4029
|
@staticmethod
|
|
3888
4030
|
def unpack(data: bytes) -> SetLoadout:
|
|
3889
4031
|
"""
|
|
@@ -3891,6 +4033,7 @@ class SetLoadout:
|
|
|
3891
4033
|
|
|
3892
4034
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3893
4035
|
"""
|
|
4036
|
+
|
|
3894
4037
|
def __str__(self) -> str: ...
|
|
3895
4038
|
def __repr__(self) -> str: ...
|
|
3896
4039
|
|
|
@@ -3899,6 +4042,7 @@ class SphereShape:
|
|
|
3899
4042
|
A sphere with diameter.
|
|
3900
4043
|
Used for balls with a spherical shapes.
|
|
3901
4044
|
"""
|
|
4045
|
+
|
|
3902
4046
|
diameter: float
|
|
3903
4047
|
|
|
3904
4048
|
__match_args__ = (
|
|
@@ -3907,16 +4051,17 @@ class SphereShape:
|
|
|
3907
4051
|
|
|
3908
4052
|
def __new__(
|
|
3909
4053
|
cls,
|
|
3910
|
-
diameter: float = 0,
|
|
4054
|
+
diameter: float = 0.0,
|
|
3911
4055
|
): ...
|
|
3912
4056
|
def __init__(
|
|
3913
4057
|
self,
|
|
3914
|
-
diameter: float = 0,
|
|
4058
|
+
diameter: float = 0.0,
|
|
3915
4059
|
): ...
|
|
3916
4060
|
def pack(self) -> bytes:
|
|
3917
4061
|
"""
|
|
3918
4062
|
Serializes this instance into a byte array
|
|
3919
4063
|
"""
|
|
4064
|
+
|
|
3920
4065
|
@staticmethod
|
|
3921
4066
|
def unpack(data: bytes) -> SphereShape:
|
|
3922
4067
|
"""
|
|
@@ -3924,6 +4069,7 @@ class SphereShape:
|
|
|
3924
4069
|
|
|
3925
4070
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3926
4071
|
"""
|
|
4072
|
+
|
|
3927
4073
|
def __str__(self) -> str: ...
|
|
3928
4074
|
def __repr__(self) -> str: ...
|
|
3929
4075
|
|
|
@@ -3937,8 +4083,8 @@ class StaleBallMutator:
|
|
|
3937
4083
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3938
4084
|
"""
|
|
3939
4085
|
def __int__(self) -> int: ...
|
|
3940
|
-
def __eq__(self, other
|
|
3941
|
-
def __hash__(self) ->
|
|
4086
|
+
def __eq__(self, other) -> bool: ...
|
|
4087
|
+
def __hash__(self) -> int: ...
|
|
3942
4088
|
def __str__(self) -> str: ...
|
|
3943
4089
|
def __repr__(self) -> str: ...
|
|
3944
4090
|
|
|
@@ -3946,6 +4092,7 @@ class StartCommand:
|
|
|
3946
4092
|
"""
|
|
3947
4093
|
A client message to start a match using a path to a match config file.
|
|
3948
4094
|
"""
|
|
4095
|
+
|
|
3949
4096
|
config_path: str
|
|
3950
4097
|
|
|
3951
4098
|
__match_args__ = (
|
|
@@ -3964,6 +4111,7 @@ class StartCommand:
|
|
|
3964
4111
|
"""
|
|
3965
4112
|
Serializes this instance into a byte array
|
|
3966
4113
|
"""
|
|
4114
|
+
|
|
3967
4115
|
@staticmethod
|
|
3968
4116
|
def unpack(data: bytes) -> StartCommand:
|
|
3969
4117
|
"""
|
|
@@ -3971,6 +4119,7 @@ class StartCommand:
|
|
|
3971
4119
|
|
|
3972
4120
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3973
4121
|
"""
|
|
4122
|
+
|
|
3974
4123
|
def __str__(self) -> str: ...
|
|
3975
4124
|
def __repr__(self) -> str: ...
|
|
3976
4125
|
|
|
@@ -3978,6 +4127,7 @@ class StopCommand:
|
|
|
3978
4127
|
"""
|
|
3979
4128
|
A client message to stop a match and optionally the RLBot server too.
|
|
3980
4129
|
"""
|
|
4130
|
+
|
|
3981
4131
|
shutdown_server: bool
|
|
3982
4132
|
|
|
3983
4133
|
__match_args__ = (
|
|
@@ -3996,6 +4146,7 @@ class StopCommand:
|
|
|
3996
4146
|
"""
|
|
3997
4147
|
Serializes this instance into a byte array
|
|
3998
4148
|
"""
|
|
4149
|
+
|
|
3999
4150
|
@staticmethod
|
|
4000
4151
|
def unpack(data: bytes) -> StopCommand:
|
|
4001
4152
|
"""
|
|
@@ -4003,6 +4154,7 @@ class StopCommand:
|
|
|
4003
4154
|
|
|
4004
4155
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4005
4156
|
"""
|
|
4157
|
+
|
|
4006
4158
|
def __str__(self) -> str: ...
|
|
4007
4159
|
def __repr__(self) -> str: ...
|
|
4008
4160
|
|
|
@@ -4011,6 +4163,7 @@ class String2D:
|
|
|
4011
4163
|
A RenderMessage for text in 2D space.
|
|
4012
4164
|
Note that the position is given in screen-space coordinates.
|
|
4013
4165
|
"""
|
|
4166
|
+
|
|
4014
4167
|
text: str
|
|
4015
4168
|
"""
|
|
4016
4169
|
The text to be displayed.
|
|
@@ -4059,9 +4212,9 @@ class String2D:
|
|
|
4059
4212
|
def __new__(
|
|
4060
4213
|
cls,
|
|
4061
4214
|
text: str = "",
|
|
4062
|
-
x: float = 0,
|
|
4063
|
-
y: float = 0,
|
|
4064
|
-
scale: float = 0,
|
|
4215
|
+
x: float = 0.0,
|
|
4216
|
+
y: float = 0.0,
|
|
4217
|
+
scale: float = 0.0,
|
|
4065
4218
|
foreground: Color = Color(),
|
|
4066
4219
|
background: Color = Color(),
|
|
4067
4220
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4070,9 +4223,9 @@ class String2D:
|
|
|
4070
4223
|
def __init__(
|
|
4071
4224
|
self,
|
|
4072
4225
|
text: str = "",
|
|
4073
|
-
x: float = 0,
|
|
4074
|
-
y: float = 0,
|
|
4075
|
-
scale: float = 0,
|
|
4226
|
+
x: float = 0.0,
|
|
4227
|
+
y: float = 0.0,
|
|
4228
|
+
scale: float = 0.0,
|
|
4076
4229
|
foreground: Color = Color(),
|
|
4077
4230
|
background: Color = Color(),
|
|
4078
4231
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4082,6 +4235,7 @@ class String2D:
|
|
|
4082
4235
|
"""
|
|
4083
4236
|
Serializes this instance into a byte array
|
|
4084
4237
|
"""
|
|
4238
|
+
|
|
4085
4239
|
@staticmethod
|
|
4086
4240
|
def unpack(data: bytes) -> String2D:
|
|
4087
4241
|
"""
|
|
@@ -4089,6 +4243,7 @@ class String2D:
|
|
|
4089
4243
|
|
|
4090
4244
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4091
4245
|
"""
|
|
4246
|
+
|
|
4092
4247
|
def __str__(self) -> str: ...
|
|
4093
4248
|
def __repr__(self) -> str: ...
|
|
4094
4249
|
|
|
@@ -4096,6 +4251,7 @@ class String3D:
|
|
|
4096
4251
|
"""
|
|
4097
4252
|
A RenderMessage for text in 3D space.
|
|
4098
4253
|
"""
|
|
4254
|
+
|
|
4099
4255
|
text: str
|
|
4100
4256
|
"""
|
|
4101
4257
|
The text to be displayed.
|
|
@@ -4140,7 +4296,7 @@ class String3D:
|
|
|
4140
4296
|
cls,
|
|
4141
4297
|
text: str = "",
|
|
4142
4298
|
anchor: RenderAnchor = RenderAnchor(),
|
|
4143
|
-
scale: float = 0,
|
|
4299
|
+
scale: float = 0.0,
|
|
4144
4300
|
foreground: Color = Color(),
|
|
4145
4301
|
background: Color = Color(),
|
|
4146
4302
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4150,7 +4306,7 @@ class String3D:
|
|
|
4150
4306
|
self,
|
|
4151
4307
|
text: str = "",
|
|
4152
4308
|
anchor: RenderAnchor = RenderAnchor(),
|
|
4153
|
-
scale: float = 0,
|
|
4309
|
+
scale: float = 0.0,
|
|
4154
4310
|
foreground: Color = Color(),
|
|
4155
4311
|
background: Color = Color(),
|
|
4156
4312
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4160,6 +4316,7 @@ class String3D:
|
|
|
4160
4316
|
"""
|
|
4161
4317
|
Serializes this instance into a byte array
|
|
4162
4318
|
"""
|
|
4319
|
+
|
|
4163
4320
|
@staticmethod
|
|
4164
4321
|
def unpack(data: bytes) -> String3D:
|
|
4165
4322
|
"""
|
|
@@ -4167,15 +4324,24 @@ class String3D:
|
|
|
4167
4324
|
|
|
4168
4325
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4169
4326
|
"""
|
|
4327
|
+
|
|
4170
4328
|
def __str__(self) -> str: ...
|
|
4171
4329
|
def __repr__(self) -> str: ...
|
|
4172
4330
|
|
|
4173
4331
|
class TeamInfo:
|
|
4332
|
+
"""
|
|
4333
|
+
Information about teams. Currently only the number of goals scored.
|
|
4334
|
+
"""
|
|
4335
|
+
|
|
4174
4336
|
team_index: int
|
|
4337
|
+
"""
|
|
4338
|
+
The index of the team. Blue is 0, orange is 1.
|
|
4339
|
+
"""
|
|
4175
4340
|
score: int
|
|
4176
4341
|
"""
|
|
4177
4342
|
Number of goals scored.
|
|
4178
4343
|
Note, this value may be different than the sum of the goals scored by the current players on the team as player may join/leave the game or switch teams.
|
|
4344
|
+
This value is what is shown on the heads-up display.
|
|
4179
4345
|
"""
|
|
4180
4346
|
|
|
4181
4347
|
__match_args__ = (
|
|
@@ -4193,17 +4359,6 @@ class TeamInfo:
|
|
|
4193
4359
|
team_index: int = 0,
|
|
4194
4360
|
score: int = 0,
|
|
4195
4361
|
): ...
|
|
4196
|
-
def pack(self) -> bytes:
|
|
4197
|
-
"""
|
|
4198
|
-
Serializes this instance into a byte array
|
|
4199
|
-
"""
|
|
4200
|
-
@staticmethod
|
|
4201
|
-
def unpack(data: bytes) -> TeamInfo:
|
|
4202
|
-
"""
|
|
4203
|
-
Deserializes the data into a new instance
|
|
4204
|
-
|
|
4205
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4206
|
-
"""
|
|
4207
4362
|
def __str__(self) -> str: ...
|
|
4208
4363
|
def __repr__(self) -> str: ...
|
|
4209
4364
|
|
|
@@ -4217,12 +4372,16 @@ class TerritoryMutator:
|
|
|
4217
4372
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4218
4373
|
"""
|
|
4219
4374
|
def __int__(self) -> int: ...
|
|
4220
|
-
def __eq__(self, other
|
|
4221
|
-
def __hash__(self) ->
|
|
4375
|
+
def __eq__(self, other) -> bool: ...
|
|
4376
|
+
def __hash__(self) -> int: ...
|
|
4222
4377
|
def __str__(self) -> str: ...
|
|
4223
4378
|
def __repr__(self) -> str: ...
|
|
4224
4379
|
|
|
4225
4380
|
class TextHAlign:
|
|
4381
|
+
"""
|
|
4382
|
+
Horizontal text alignment.
|
|
4383
|
+
"""
|
|
4384
|
+
|
|
4226
4385
|
Left = TextHAlign(0)
|
|
4227
4386
|
Center = TextHAlign(1)
|
|
4228
4387
|
Right = TextHAlign(2)
|
|
@@ -4233,12 +4392,16 @@ class TextHAlign:
|
|
|
4233
4392
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4234
4393
|
"""
|
|
4235
4394
|
def __int__(self) -> int: ...
|
|
4236
|
-
def __eq__(self, other
|
|
4237
|
-
def __hash__(self) ->
|
|
4395
|
+
def __eq__(self, other) -> bool: ...
|
|
4396
|
+
def __hash__(self) -> int: ...
|
|
4238
4397
|
def __str__(self) -> str: ...
|
|
4239
4398
|
def __repr__(self) -> str: ...
|
|
4240
4399
|
|
|
4241
4400
|
class TextVAlign:
|
|
4401
|
+
"""
|
|
4402
|
+
Vertical text alignment.
|
|
4403
|
+
"""
|
|
4404
|
+
|
|
4242
4405
|
Top = TextVAlign(0)
|
|
4243
4406
|
Center = TextVAlign(1)
|
|
4244
4407
|
Bottom = TextVAlign(2)
|
|
@@ -4249,8 +4412,8 @@ class TextVAlign:
|
|
|
4249
4412
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4250
4413
|
"""
|
|
4251
4414
|
def __int__(self) -> int: ...
|
|
4252
|
-
def __eq__(self, other
|
|
4253
|
-
def __hash__(self) ->
|
|
4415
|
+
def __eq__(self, other) -> bool: ...
|
|
4416
|
+
def __hash__(self) -> int: ...
|
|
4254
4417
|
def __str__(self) -> str: ...
|
|
4255
4418
|
def __repr__(self) -> str: ...
|
|
4256
4419
|
|
|
@@ -4258,6 +4421,7 @@ class Touch:
|
|
|
4258
4421
|
"""
|
|
4259
4422
|
Information about a ball touch.
|
|
4260
4423
|
"""
|
|
4424
|
+
|
|
4261
4425
|
game_seconds: float
|
|
4262
4426
|
"""
|
|
4263
4427
|
Seconds that had elapsed in the game when the touch occurred.
|
|
@@ -4284,14 +4448,14 @@ class Touch:
|
|
|
4284
4448
|
|
|
4285
4449
|
def __new__(
|
|
4286
4450
|
cls,
|
|
4287
|
-
game_seconds: float = 0,
|
|
4451
|
+
game_seconds: float = 0.0,
|
|
4288
4452
|
location: Vector3 = Vector3(),
|
|
4289
4453
|
normal: Vector3 = Vector3(),
|
|
4290
4454
|
ball_index: int = 0,
|
|
4291
4455
|
): ...
|
|
4292
4456
|
def __init__(
|
|
4293
4457
|
self,
|
|
4294
|
-
game_seconds: float = 0,
|
|
4458
|
+
game_seconds: float = 0.0,
|
|
4295
4459
|
location: Vector3 = Vector3(),
|
|
4296
4460
|
normal: Vector3 = Vector3(),
|
|
4297
4461
|
ball_index: int = 0,
|
|
@@ -4300,6 +4464,7 @@ class Touch:
|
|
|
4300
4464
|
"""
|
|
4301
4465
|
Serializes this instance into a byte array
|
|
4302
4466
|
"""
|
|
4467
|
+
|
|
4303
4468
|
@staticmethod
|
|
4304
4469
|
def unpack(data: bytes) -> Touch:
|
|
4305
4470
|
"""
|
|
@@ -4307,10 +4472,15 @@ class Touch:
|
|
|
4307
4472
|
|
|
4308
4473
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4309
4474
|
"""
|
|
4475
|
+
|
|
4310
4476
|
def __str__(self) -> str: ...
|
|
4311
4477
|
def __repr__(self) -> str: ...
|
|
4312
4478
|
|
|
4313
4479
|
class Vector2:
|
|
4480
|
+
"""
|
|
4481
|
+
A vector with an x and y component.
|
|
4482
|
+
"""
|
|
4483
|
+
|
|
4314
4484
|
x: float
|
|
4315
4485
|
y: float
|
|
4316
4486
|
|
|
@@ -4321,29 +4491,23 @@ class Vector2:
|
|
|
4321
4491
|
|
|
4322
4492
|
def __new__(
|
|
4323
4493
|
cls,
|
|
4324
|
-
x: float = 0,
|
|
4325
|
-
y: float = 0,
|
|
4494
|
+
x: float = 0.0,
|
|
4495
|
+
y: float = 0.0,
|
|
4326
4496
|
): ...
|
|
4327
4497
|
def __init__(
|
|
4328
4498
|
self,
|
|
4329
|
-
x: float = 0,
|
|
4330
|
-
y: float = 0,
|
|
4499
|
+
x: float = 0.0,
|
|
4500
|
+
y: float = 0.0,
|
|
4331
4501
|
): ...
|
|
4332
|
-
def pack(self) -> bytes:
|
|
4333
|
-
"""
|
|
4334
|
-
Serializes this instance into a byte array
|
|
4335
|
-
"""
|
|
4336
|
-
@staticmethod
|
|
4337
|
-
def unpack(data: bytes) -> Vector2:
|
|
4338
|
-
"""
|
|
4339
|
-
Deserializes the data into a new instance
|
|
4340
|
-
|
|
4341
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4342
|
-
"""
|
|
4343
4502
|
def __str__(self) -> str: ...
|
|
4344
4503
|
def __repr__(self) -> str: ...
|
|
4345
4504
|
|
|
4346
4505
|
class Vector3:
|
|
4506
|
+
"""
|
|
4507
|
+
A vector with an x, y, z component.
|
|
4508
|
+
Note that Rocket League uses a left-handed coordinate system.
|
|
4509
|
+
"""
|
|
4510
|
+
|
|
4347
4511
|
x: float
|
|
4348
4512
|
y: float
|
|
4349
4513
|
z: float
|
|
@@ -4356,27 +4520,16 @@ class Vector3:
|
|
|
4356
4520
|
|
|
4357
4521
|
def __new__(
|
|
4358
4522
|
cls,
|
|
4359
|
-
x: float = 0,
|
|
4360
|
-
y: float = 0,
|
|
4361
|
-
z: float = 0,
|
|
4523
|
+
x: float = 0.0,
|
|
4524
|
+
y: float = 0.0,
|
|
4525
|
+
z: float = 0.0,
|
|
4362
4526
|
): ...
|
|
4363
4527
|
def __init__(
|
|
4364
4528
|
self,
|
|
4365
|
-
x: float = 0,
|
|
4366
|
-
y: float = 0,
|
|
4367
|
-
z: float = 0,
|
|
4529
|
+
x: float = 0.0,
|
|
4530
|
+
y: float = 0.0,
|
|
4531
|
+
z: float = 0.0,
|
|
4368
4532
|
): ...
|
|
4369
|
-
def pack(self) -> bytes:
|
|
4370
|
-
"""
|
|
4371
|
-
Serializes this instance into a byte array
|
|
4372
|
-
"""
|
|
4373
|
-
@staticmethod
|
|
4374
|
-
def unpack(data: bytes) -> Vector3:
|
|
4375
|
-
"""
|
|
4376
|
-
Deserializes the data into a new instance
|
|
4377
|
-
|
|
4378
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4379
|
-
"""
|
|
4380
4533
|
def __str__(self) -> str: ...
|
|
4381
4534
|
def __repr__(self) -> str: ...
|
|
4382
4535
|
|
|
@@ -4386,9 +4539,10 @@ class Vector3Partial:
|
|
|
4386
4539
|
Used for game state setting to define which part of a vector should change.
|
|
4387
4540
|
If a component is null, then the component will keep its current value.
|
|
4388
4541
|
"""
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4542
|
+
|
|
4543
|
+
x: float | None
|
|
4544
|
+
y: float | None
|
|
4545
|
+
z: float | None
|
|
4392
4546
|
|
|
4393
4547
|
__match_args__ = (
|
|
4394
4548
|
"x",
|
|
@@ -4398,20 +4552,21 @@ class Vector3Partial:
|
|
|
4398
4552
|
|
|
4399
4553
|
def __new__(
|
|
4400
4554
|
cls,
|
|
4401
|
-
x:
|
|
4402
|
-
y:
|
|
4403
|
-
z:
|
|
4555
|
+
x: float | None = None,
|
|
4556
|
+
y: float | None = None,
|
|
4557
|
+
z: float | None = None,
|
|
4404
4558
|
): ...
|
|
4405
4559
|
def __init__(
|
|
4406
4560
|
self,
|
|
4407
|
-
x:
|
|
4408
|
-
y:
|
|
4409
|
-
z:
|
|
4561
|
+
x: float | None = None,
|
|
4562
|
+
y: float | None = None,
|
|
4563
|
+
z: float | None = None,
|
|
4410
4564
|
): ...
|
|
4411
4565
|
def pack(self) -> bytes:
|
|
4412
4566
|
"""
|
|
4413
4567
|
Serializes this instance into a byte array
|
|
4414
4568
|
"""
|
|
4569
|
+
|
|
4415
4570
|
@staticmethod
|
|
4416
4571
|
def unpack(data: bytes) -> Vector3Partial:
|
|
4417
4572
|
"""
|
|
@@ -4419,5 +4574,6 @@ class Vector3Partial:
|
|
|
4419
4574
|
|
|
4420
4575
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4421
4576
|
"""
|
|
4577
|
+
|
|
4422
4578
|
def __str__(self) -> str: ...
|
|
4423
4579
|
def __repr__(self) -> str: ...
|