rlbot-flatbuffers 0.17.1__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 +660 -533
- 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.1.dist-info → rlbot_flatbuffers-0.18.0.dist-info}/WHEEL +1 -1
- {rlbot_flatbuffers-0.17.1.dist-info → rlbot_flatbuffers-0.18.0.dist-info}/licenses/LICENSE +1 -1
- rlbot_flatbuffers-0.17.1.dist-info/METADATA +0 -119
- rlbot_flatbuffers-0.17.1.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)
|
|
@@ -313,12 +351,16 @@ class BallTypeMutator:
|
|
|
313
351
|
:raises ValueError: If the `value` is not a valid enum value
|
|
314
352
|
"""
|
|
315
353
|
def __int__(self) -> int: ...
|
|
316
|
-
def __eq__(self, other
|
|
317
|
-
def __hash__(self) ->
|
|
354
|
+
def __eq__(self, other) -> bool: ...
|
|
355
|
+
def __hash__(self) -> int: ...
|
|
318
356
|
def __str__(self) -> str: ...
|
|
319
357
|
def __repr__(self) -> str: ...
|
|
320
358
|
|
|
321
359
|
class BallWeightMutator:
|
|
360
|
+
"""
|
|
361
|
+
Ball weight mutator options.
|
|
362
|
+
"""
|
|
363
|
+
|
|
322
364
|
Default = BallWeightMutator(0)
|
|
323
365
|
Light = BallWeightMutator(1)
|
|
324
366
|
Heavy = BallWeightMutator(2)
|
|
@@ -334,41 +376,16 @@ class BallWeightMutator:
|
|
|
334
376
|
:raises ValueError: If the `value` is not a valid enum value
|
|
335
377
|
"""
|
|
336
378
|
def __int__(self) -> int: ...
|
|
337
|
-
def __eq__(self, other
|
|
338
|
-
def __hash__(self) ->
|
|
339
|
-
def __str__(self) -> str: ...
|
|
340
|
-
def __repr__(self) -> str: ...
|
|
341
|
-
|
|
342
|
-
class Bool:
|
|
343
|
-
val: bool
|
|
344
|
-
|
|
345
|
-
__match_args__ = (
|
|
346
|
-
"val",
|
|
347
|
-
)
|
|
348
|
-
|
|
349
|
-
def __new__(
|
|
350
|
-
cls,
|
|
351
|
-
val: bool = False,
|
|
352
|
-
): ...
|
|
353
|
-
def __init__(
|
|
354
|
-
self,
|
|
355
|
-
val: bool = False,
|
|
356
|
-
): ...
|
|
357
|
-
def pack(self) -> bytes:
|
|
358
|
-
"""
|
|
359
|
-
Serializes this instance into a byte array
|
|
360
|
-
"""
|
|
361
|
-
@staticmethod
|
|
362
|
-
def unpack(data: bytes) -> Bool:
|
|
363
|
-
"""
|
|
364
|
-
Deserializes the data into a new instance
|
|
365
|
-
|
|
366
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
367
|
-
"""
|
|
379
|
+
def __eq__(self, other) -> bool: ...
|
|
380
|
+
def __hash__(self) -> int: ...
|
|
368
381
|
def __str__(self) -> str: ...
|
|
369
382
|
def __repr__(self) -> str: ...
|
|
370
383
|
|
|
371
384
|
class BoostAmountMutator:
|
|
385
|
+
"""
|
|
386
|
+
Boost amount mutator options.
|
|
387
|
+
"""
|
|
388
|
+
|
|
372
389
|
NormalBoost = BoostAmountMutator(0)
|
|
373
390
|
UnlimitedBoost = BoostAmountMutator(1)
|
|
374
391
|
SlowRecharge = BoostAmountMutator(2)
|
|
@@ -381,8 +398,8 @@ class BoostAmountMutator:
|
|
|
381
398
|
:raises ValueError: If the `value` is not a valid enum value
|
|
382
399
|
"""
|
|
383
400
|
def __int__(self) -> int: ...
|
|
384
|
-
def __eq__(self, other
|
|
385
|
-
def __hash__(self) ->
|
|
401
|
+
def __eq__(self, other) -> bool: ...
|
|
402
|
+
def __hash__(self) -> int: ...
|
|
386
403
|
def __str__(self) -> str: ...
|
|
387
404
|
def __repr__(self) -> str: ...
|
|
388
405
|
|
|
@@ -390,6 +407,7 @@ class BoostPad:
|
|
|
390
407
|
"""
|
|
391
408
|
Static information about a boost pad such as location and size.
|
|
392
409
|
"""
|
|
410
|
+
|
|
393
411
|
location: Vector3
|
|
394
412
|
"""
|
|
395
413
|
The location of the boost pad.
|
|
@@ -420,6 +438,7 @@ class BoostPad:
|
|
|
420
438
|
"""
|
|
421
439
|
Serializes this instance into a byte array
|
|
422
440
|
"""
|
|
441
|
+
|
|
423
442
|
@staticmethod
|
|
424
443
|
def unpack(data: bytes) -> BoostPad:
|
|
425
444
|
"""
|
|
@@ -427,15 +446,25 @@ class BoostPad:
|
|
|
427
446
|
|
|
428
447
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
429
448
|
"""
|
|
449
|
+
|
|
430
450
|
def __str__(self) -> str: ...
|
|
431
451
|
def __repr__(self) -> str: ...
|
|
432
452
|
|
|
433
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
|
+
|
|
434
459
|
is_active: bool
|
|
460
|
+
"""
|
|
461
|
+
True if the boost can be picked up right now.
|
|
462
|
+
"""
|
|
435
463
|
timer: float
|
|
436
464
|
"""
|
|
437
465
|
The number of seconds since the boost has been picked up, or 0 if the boost is active.
|
|
438
466
|
A big boost pad becomes active again after 10 seconds.
|
|
467
|
+
A small boost pad becomes active again after 4 seconds.
|
|
439
468
|
"""
|
|
440
469
|
|
|
441
470
|
__match_args__ = (
|
|
@@ -446,28 +475,21 @@ class BoostPadState:
|
|
|
446
475
|
def __new__(
|
|
447
476
|
cls,
|
|
448
477
|
is_active: bool = False,
|
|
449
|
-
timer: float = 0,
|
|
478
|
+
timer: float = 0.0,
|
|
450
479
|
): ...
|
|
451
480
|
def __init__(
|
|
452
481
|
self,
|
|
453
482
|
is_active: bool = False,
|
|
454
|
-
timer: float = 0,
|
|
483
|
+
timer: float = 0.0,
|
|
455
484
|
): ...
|
|
456
|
-
def pack(self) -> bytes:
|
|
457
|
-
"""
|
|
458
|
-
Serializes this instance into a byte array
|
|
459
|
-
"""
|
|
460
|
-
@staticmethod
|
|
461
|
-
def unpack(data: bytes) -> BoostPadState:
|
|
462
|
-
"""
|
|
463
|
-
Deserializes the data into a new instance
|
|
464
|
-
|
|
465
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
466
|
-
"""
|
|
467
485
|
def __str__(self) -> str: ...
|
|
468
486
|
def __repr__(self) -> str: ...
|
|
469
487
|
|
|
470
488
|
class BoostStrengthMutator:
|
|
489
|
+
"""
|
|
490
|
+
Boost strength mutator options.
|
|
491
|
+
"""
|
|
492
|
+
|
|
471
493
|
One = BoostStrengthMutator(0)
|
|
472
494
|
OneAndAHalf = BoostStrengthMutator(1)
|
|
473
495
|
Two = BoostStrengthMutator(2)
|
|
@@ -480,8 +502,8 @@ class BoostStrengthMutator:
|
|
|
480
502
|
:raises ValueError: If the `value` is not a valid enum value
|
|
481
503
|
"""
|
|
482
504
|
def __int__(self) -> int: ...
|
|
483
|
-
def __eq__(self, other
|
|
484
|
-
def __hash__(self) ->
|
|
505
|
+
def __eq__(self, other) -> bool: ...
|
|
506
|
+
def __hash__(self) -> int: ...
|
|
485
507
|
def __str__(self) -> str: ...
|
|
486
508
|
def __repr__(self) -> str: ...
|
|
487
509
|
|
|
@@ -490,6 +512,7 @@ class BoxShape:
|
|
|
490
512
|
A box with dimensions.
|
|
491
513
|
Used for cars and balls with a box shapes.
|
|
492
514
|
"""
|
|
515
|
+
|
|
493
516
|
length: float
|
|
494
517
|
width: float
|
|
495
518
|
height: float
|
|
@@ -502,20 +525,21 @@ class BoxShape:
|
|
|
502
525
|
|
|
503
526
|
def __new__(
|
|
504
527
|
cls,
|
|
505
|
-
length: float = 0,
|
|
506
|
-
width: float = 0,
|
|
507
|
-
height: float = 0,
|
|
528
|
+
length: float = 0.0,
|
|
529
|
+
width: float = 0.0,
|
|
530
|
+
height: float = 0.0,
|
|
508
531
|
): ...
|
|
509
532
|
def __init__(
|
|
510
533
|
self,
|
|
511
|
-
length: float = 0,
|
|
512
|
-
width: float = 0,
|
|
513
|
-
height: float = 0,
|
|
534
|
+
length: float = 0.0,
|
|
535
|
+
width: float = 0.0,
|
|
536
|
+
height: float = 0.0,
|
|
514
537
|
): ...
|
|
515
538
|
def pack(self) -> bytes:
|
|
516
539
|
"""
|
|
517
540
|
Serializes this instance into a byte array
|
|
518
541
|
"""
|
|
542
|
+
|
|
519
543
|
@staticmethod
|
|
520
544
|
def unpack(data: bytes) -> BoxShape:
|
|
521
545
|
"""
|
|
@@ -523,6 +547,7 @@ class BoxShape:
|
|
|
523
547
|
|
|
524
548
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
525
549
|
"""
|
|
550
|
+
|
|
526
551
|
def __str__(self) -> str: ...
|
|
527
552
|
def __repr__(self) -> str: ...
|
|
528
553
|
|
|
@@ -531,6 +556,7 @@ class CarAnchor:
|
|
|
531
556
|
A RenderAnchor attached to a car.
|
|
532
557
|
The local field allows for an offset in local coordinates taking the car's orientation into account.
|
|
533
558
|
"""
|
|
559
|
+
|
|
534
560
|
index: int
|
|
535
561
|
"""
|
|
536
562
|
The index of the car.
|
|
@@ -560,6 +586,7 @@ class CarAnchor:
|
|
|
560
586
|
"""
|
|
561
587
|
Serializes this instance into a byte array
|
|
562
588
|
"""
|
|
589
|
+
|
|
563
590
|
@staticmethod
|
|
564
591
|
def unpack(data: bytes) -> CarAnchor:
|
|
565
592
|
"""
|
|
@@ -567,23 +594,15 @@ class CarAnchor:
|
|
|
567
594
|
|
|
568
595
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
569
596
|
"""
|
|
570
|
-
def __str__(self) -> str: ...
|
|
571
|
-
def __repr__(self) -> str: ...
|
|
572
|
-
|
|
573
|
-
class CollisionShape:
|
|
574
|
-
item: BoxShape | SphereShape | CylinderShape
|
|
575
|
-
|
|
576
|
-
def __new__(
|
|
577
|
-
cls, item: BoxShape | SphereShape | CylinderShape = BoxShape()
|
|
578
|
-
): ...
|
|
579
|
-
def __init__(
|
|
580
|
-
self, item: BoxShape | SphereShape | CylinderShape = BoxShape()
|
|
581
|
-
): ...
|
|
582
597
|
|
|
583
598
|
def __str__(self) -> str: ...
|
|
584
599
|
def __repr__(self) -> str: ...
|
|
585
600
|
|
|
586
601
|
class Color:
|
|
602
|
+
"""
|
|
603
|
+
An RGBA color.
|
|
604
|
+
"""
|
|
605
|
+
|
|
587
606
|
r: int
|
|
588
607
|
g: int
|
|
589
608
|
b: int
|
|
@@ -610,17 +629,6 @@ class Color:
|
|
|
610
629
|
b: int = 0,
|
|
611
630
|
a: int = 255,
|
|
612
631
|
): ...
|
|
613
|
-
def pack(self) -> bytes:
|
|
614
|
-
"""
|
|
615
|
-
Serializes this instance into a byte array
|
|
616
|
-
"""
|
|
617
|
-
@staticmethod
|
|
618
|
-
def unpack(data: bytes) -> Color:
|
|
619
|
-
"""
|
|
620
|
-
Deserializes the data into a new instance
|
|
621
|
-
|
|
622
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
623
|
-
"""
|
|
624
632
|
def __str__(self) -> str: ...
|
|
625
633
|
def __repr__(self) -> str: ...
|
|
626
634
|
|
|
@@ -630,6 +638,7 @@ class ConnectionSettings:
|
|
|
630
638
|
This could be sent by a bot, or a bot manager governing several bots, an
|
|
631
639
|
overlay, or any other utility that connects to the RLBot process.
|
|
632
640
|
"""
|
|
641
|
+
|
|
633
642
|
agent_id: str
|
|
634
643
|
"""
|
|
635
644
|
The ID of the bot/script that is associated with the incoming connection.
|
|
@@ -673,6 +682,7 @@ class ConnectionSettings:
|
|
|
673
682
|
"""
|
|
674
683
|
Serializes this instance into a byte array
|
|
675
684
|
"""
|
|
685
|
+
|
|
676
686
|
@staticmethod
|
|
677
687
|
def unpack(data: bytes) -> ConnectionSettings:
|
|
678
688
|
"""
|
|
@@ -680,6 +690,7 @@ class ConnectionSettings:
|
|
|
680
690
|
|
|
681
691
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
682
692
|
"""
|
|
693
|
+
|
|
683
694
|
def __str__(self) -> str: ...
|
|
684
695
|
def __repr__(self) -> str: ...
|
|
685
696
|
|
|
@@ -688,6 +699,7 @@ class ConsoleCommand:
|
|
|
688
699
|
A console command which will be executed inside Rocket League.
|
|
689
700
|
See https://wiki.rlbot.org/framework/console-commands/ for a list of known commands.
|
|
690
701
|
"""
|
|
702
|
+
|
|
691
703
|
command: str
|
|
692
704
|
|
|
693
705
|
__match_args__ = (
|
|
@@ -706,6 +718,7 @@ class ConsoleCommand:
|
|
|
706
718
|
"""
|
|
707
719
|
Serializes this instance into a byte array
|
|
708
720
|
"""
|
|
721
|
+
|
|
709
722
|
@staticmethod
|
|
710
723
|
def unpack(data: bytes) -> ConsoleCommand:
|
|
711
724
|
"""
|
|
@@ -713,6 +726,7 @@ class ConsoleCommand:
|
|
|
713
726
|
|
|
714
727
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
715
728
|
"""
|
|
729
|
+
|
|
716
730
|
def __str__(self) -> str: ...
|
|
717
731
|
def __repr__(self) -> str: ...
|
|
718
732
|
|
|
@@ -720,6 +734,7 @@ class ControllableInfo:
|
|
|
720
734
|
"""
|
|
721
735
|
Information about a car that the client can control.
|
|
722
736
|
"""
|
|
737
|
+
|
|
723
738
|
index: int
|
|
724
739
|
"""
|
|
725
740
|
The index of the bot/script.
|
|
@@ -750,6 +765,7 @@ class ControllableInfo:
|
|
|
750
765
|
"""
|
|
751
766
|
Serializes this instance into a byte array
|
|
752
767
|
"""
|
|
768
|
+
|
|
753
769
|
@staticmethod
|
|
754
770
|
def unpack(data: bytes) -> ControllableInfo:
|
|
755
771
|
"""
|
|
@@ -757,6 +773,7 @@ class ControllableInfo:
|
|
|
757
773
|
|
|
758
774
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
759
775
|
"""
|
|
776
|
+
|
|
760
777
|
def __str__(self) -> str: ...
|
|
761
778
|
def __repr__(self) -> str: ...
|
|
762
779
|
|
|
@@ -766,6 +783,7 @@ class ControllableTeamInfo:
|
|
|
766
783
|
Sent to bot clients as a response to ConnectionSettings.
|
|
767
784
|
There may be more than one car in case the bot is a hivemind.
|
|
768
785
|
"""
|
|
786
|
+
|
|
769
787
|
team: int
|
|
770
788
|
"""
|
|
771
789
|
The assigned team for this client.
|
|
@@ -794,6 +812,7 @@ class ControllableTeamInfo:
|
|
|
794
812
|
"""
|
|
795
813
|
Serializes this instance into a byte array
|
|
796
814
|
"""
|
|
815
|
+
|
|
797
816
|
@staticmethod
|
|
798
817
|
def unpack(data: bytes) -> ControllableTeamInfo:
|
|
799
818
|
"""
|
|
@@ -801,19 +820,54 @@ class ControllableTeamInfo:
|
|
|
801
820
|
|
|
802
821
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
803
822
|
"""
|
|
823
|
+
|
|
804
824
|
def __str__(self) -> str: ...
|
|
805
825
|
def __repr__(self) -> str: ...
|
|
806
826
|
|
|
807
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
|
+
|
|
808
835
|
throttle: float
|
|
836
|
+
"""
|
|
837
|
+
-1 for full reverse, 1 for full forward.
|
|
838
|
+
"""
|
|
809
839
|
steer: float
|
|
840
|
+
"""
|
|
841
|
+
-1 for full left, 1 for full right.
|
|
842
|
+
"""
|
|
810
843
|
pitch: float
|
|
844
|
+
"""
|
|
845
|
+
-1 for nose down, 1 for nose up.
|
|
846
|
+
"""
|
|
811
847
|
yaw: float
|
|
848
|
+
"""
|
|
849
|
+
-1 for full left, 1 for full right.
|
|
850
|
+
"""
|
|
812
851
|
roll: float
|
|
852
|
+
"""
|
|
853
|
+
-1 for roll left, 1 for roll right.
|
|
854
|
+
"""
|
|
813
855
|
jump: bool
|
|
856
|
+
"""
|
|
857
|
+
True if you want to press the jump button.
|
|
858
|
+
"""
|
|
814
859
|
boost: bool
|
|
860
|
+
"""
|
|
861
|
+
True if you want to press the boost button.
|
|
862
|
+
"""
|
|
815
863
|
handbrake: bool
|
|
864
|
+
"""
|
|
865
|
+
True if you want to press the handbrake button.
|
|
866
|
+
"""
|
|
816
867
|
use_item: bool
|
|
868
|
+
"""
|
|
869
|
+
True if you want to press the 'use item' button. Used in Rumble and other game modes.
|
|
870
|
+
"""
|
|
817
871
|
|
|
818
872
|
__match_args__ = (
|
|
819
873
|
"throttle",
|
|
@@ -829,11 +883,11 @@ class ControllerState:
|
|
|
829
883
|
|
|
830
884
|
def __new__(
|
|
831
885
|
cls,
|
|
832
|
-
throttle: float = 0,
|
|
833
|
-
steer: float = 0,
|
|
834
|
-
pitch: float = 0,
|
|
835
|
-
yaw: float = 0,
|
|
836
|
-
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,
|
|
837
891
|
jump: bool = False,
|
|
838
892
|
boost: bool = False,
|
|
839
893
|
handbrake: bool = False,
|
|
@@ -841,40 +895,16 @@ class ControllerState:
|
|
|
841
895
|
): ...
|
|
842
896
|
def __init__(
|
|
843
897
|
self,
|
|
844
|
-
throttle: float = 0,
|
|
845
|
-
steer: float = 0,
|
|
846
|
-
pitch: float = 0,
|
|
847
|
-
yaw: float = 0,
|
|
848
|
-
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,
|
|
849
903
|
jump: bool = False,
|
|
850
904
|
boost: bool = False,
|
|
851
905
|
handbrake: bool = False,
|
|
852
906
|
use_item: bool = False,
|
|
853
907
|
): ...
|
|
854
|
-
def pack(self) -> bytes:
|
|
855
|
-
"""
|
|
856
|
-
Serializes this instance into a byte array
|
|
857
|
-
"""
|
|
858
|
-
@staticmethod
|
|
859
|
-
def unpack(data: bytes) -> ControllerState:
|
|
860
|
-
"""
|
|
861
|
-
Deserializes the data into a new instance
|
|
862
|
-
|
|
863
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
864
|
-
"""
|
|
865
|
-
def __str__(self) -> str: ...
|
|
866
|
-
def __repr__(self) -> str: ...
|
|
867
|
-
|
|
868
|
-
class CoreMessage:
|
|
869
|
-
item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus
|
|
870
|
-
|
|
871
|
-
def __new__(
|
|
872
|
-
cls, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
873
|
-
): ...
|
|
874
|
-
def __init__(
|
|
875
|
-
self, item: DisconnectSignal | GamePacket | FieldInfo | MatchConfiguration | MatchComm | BallPrediction | ControllableTeamInfo | RenderingStatus = DisconnectSignal()
|
|
876
|
-
): ...
|
|
877
|
-
|
|
878
908
|
def __str__(self) -> str: ...
|
|
879
909
|
def __repr__(self) -> str: ...
|
|
880
910
|
|
|
@@ -882,7 +912,8 @@ class CorePacket:
|
|
|
882
912
|
"""
|
|
883
913
|
Packet containing a CoreMessage
|
|
884
914
|
"""
|
|
885
|
-
|
|
915
|
+
|
|
916
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus
|
|
886
917
|
|
|
887
918
|
__match_args__ = (
|
|
888
919
|
"message",
|
|
@@ -890,16 +921,17 @@ class CorePacket:
|
|
|
890
921
|
|
|
891
922
|
def __new__(
|
|
892
923
|
cls,
|
|
893
|
-
message:
|
|
924
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus = BallPrediction(),
|
|
894
925
|
): ...
|
|
895
926
|
def __init__(
|
|
896
927
|
self,
|
|
897
|
-
message:
|
|
928
|
+
message: BallPrediction | ControllableTeamInfo | DisconnectSignal | FieldInfo | GamePacket | MatchComm | MatchConfiguration | RenderingStatus = BallPrediction(),
|
|
898
929
|
): ...
|
|
899
930
|
def pack(self) -> bytes:
|
|
900
931
|
"""
|
|
901
932
|
Serializes this instance into a byte array
|
|
902
933
|
"""
|
|
934
|
+
|
|
903
935
|
@staticmethod
|
|
904
936
|
def unpack(data: bytes) -> CorePacket:
|
|
905
937
|
"""
|
|
@@ -907,6 +939,7 @@ class CorePacket:
|
|
|
907
939
|
|
|
908
940
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
909
941
|
"""
|
|
942
|
+
|
|
910
943
|
def __str__(self) -> str: ...
|
|
911
944
|
def __repr__(self) -> str: ...
|
|
912
945
|
|
|
@@ -914,6 +947,7 @@ class CustomBot:
|
|
|
914
947
|
"""
|
|
915
948
|
A bot controlled by the RLBot framework.
|
|
916
949
|
"""
|
|
950
|
+
|
|
917
951
|
name: str
|
|
918
952
|
"""
|
|
919
953
|
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
@@ -927,7 +961,7 @@ class CustomBot:
|
|
|
927
961
|
"""
|
|
928
962
|
The console command that starts this bot.
|
|
929
963
|
"""
|
|
930
|
-
loadout:
|
|
964
|
+
loadout: PlayerLoadout | None
|
|
931
965
|
"""
|
|
932
966
|
The loadout of the player.
|
|
933
967
|
"""
|
|
@@ -958,7 +992,7 @@ class CustomBot:
|
|
|
958
992
|
name: str = "",
|
|
959
993
|
root_dir: str = "",
|
|
960
994
|
run_command: str = "",
|
|
961
|
-
loadout:
|
|
995
|
+
loadout: PlayerLoadout | None = None,
|
|
962
996
|
agent_id: str = "",
|
|
963
997
|
hivemind: bool = False,
|
|
964
998
|
): ...
|
|
@@ -967,7 +1001,7 @@ class CustomBot:
|
|
|
967
1001
|
name: str = "",
|
|
968
1002
|
root_dir: str = "",
|
|
969
1003
|
run_command: str = "",
|
|
970
|
-
loadout:
|
|
1004
|
+
loadout: PlayerLoadout | None = None,
|
|
971
1005
|
agent_id: str = "",
|
|
972
1006
|
hivemind: bool = False,
|
|
973
1007
|
): ...
|
|
@@ -975,6 +1009,7 @@ class CustomBot:
|
|
|
975
1009
|
"""
|
|
976
1010
|
Serializes this instance into a byte array
|
|
977
1011
|
"""
|
|
1012
|
+
|
|
978
1013
|
@staticmethod
|
|
979
1014
|
def unpack(data: bytes) -> CustomBot:
|
|
980
1015
|
"""
|
|
@@ -982,6 +1017,7 @@ class CustomBot:
|
|
|
982
1017
|
|
|
983
1018
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
984
1019
|
"""
|
|
1020
|
+
|
|
985
1021
|
def __str__(self) -> str: ...
|
|
986
1022
|
def __repr__(self) -> str: ...
|
|
987
1023
|
|
|
@@ -990,6 +1026,7 @@ class CylinderShape:
|
|
|
990
1026
|
A cylinder with diameter and height.
|
|
991
1027
|
Used for balls with a cylindrical shape like the puck.
|
|
992
1028
|
"""
|
|
1029
|
+
|
|
993
1030
|
diameter: float
|
|
994
1031
|
height: float
|
|
995
1032
|
|
|
@@ -1000,18 +1037,19 @@ class CylinderShape:
|
|
|
1000
1037
|
|
|
1001
1038
|
def __new__(
|
|
1002
1039
|
cls,
|
|
1003
|
-
diameter: float = 0,
|
|
1004
|
-
height: float = 0,
|
|
1040
|
+
diameter: float = 0.0,
|
|
1041
|
+
height: float = 0.0,
|
|
1005
1042
|
): ...
|
|
1006
1043
|
def __init__(
|
|
1007
1044
|
self,
|
|
1008
|
-
diameter: float = 0,
|
|
1009
|
-
height: float = 0,
|
|
1045
|
+
diameter: float = 0.0,
|
|
1046
|
+
height: float = 0.0,
|
|
1010
1047
|
): ...
|
|
1011
1048
|
def pack(self) -> bytes:
|
|
1012
1049
|
"""
|
|
1013
1050
|
Serializes this instance into a byte array
|
|
1014
1051
|
"""
|
|
1052
|
+
|
|
1015
1053
|
@staticmethod
|
|
1016
1054
|
def unpack(data: bytes) -> CylinderShape:
|
|
1017
1055
|
"""
|
|
@@ -1019,6 +1057,7 @@ class CylinderShape:
|
|
|
1019
1057
|
|
|
1020
1058
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1021
1059
|
"""
|
|
1060
|
+
|
|
1022
1061
|
def __str__(self) -> str: ...
|
|
1023
1062
|
def __repr__(self) -> str: ...
|
|
1024
1063
|
|
|
@@ -1042,21 +1081,25 @@ class DebugRendering:
|
|
|
1042
1081
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1043
1082
|
"""
|
|
1044
1083
|
def __int__(self) -> int: ...
|
|
1045
|
-
def __eq__(self, other
|
|
1046
|
-
def __hash__(self) ->
|
|
1084
|
+
def __eq__(self, other) -> bool: ...
|
|
1085
|
+
def __hash__(self) -> int: ...
|
|
1047
1086
|
def __str__(self) -> str: ...
|
|
1048
1087
|
def __repr__(self) -> str: ...
|
|
1049
1088
|
|
|
1050
1089
|
class DemolishMutator:
|
|
1090
|
+
"""
|
|
1091
|
+
Demolition mutator options.
|
|
1092
|
+
"""
|
|
1093
|
+
|
|
1051
1094
|
Default = DemolishMutator(0)
|
|
1052
1095
|
Disabled = DemolishMutator(1)
|
|
1053
1096
|
FriendlyFire = DemolishMutator(2)
|
|
1054
1097
|
OnContact = DemolishMutator(3)
|
|
1055
|
-
|
|
1098
|
+
OnContactFf = DemolishMutator(4)
|
|
1056
1099
|
OnBallContact = DemolishMutator(5)
|
|
1057
|
-
|
|
1100
|
+
OnBallContactFf = DemolishMutator(6)
|
|
1058
1101
|
OnBallContactSilent = DemolishMutator(7)
|
|
1059
|
-
|
|
1102
|
+
OnBallContactFfSilent = DemolishMutator(8)
|
|
1060
1103
|
|
|
1061
1104
|
def __new__(cls, value: int = 0): ...
|
|
1062
1105
|
def __init__(self, value: int = 0):
|
|
@@ -1064,8 +1107,8 @@ class DemolishMutator:
|
|
|
1064
1107
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1065
1108
|
"""
|
|
1066
1109
|
def __int__(self) -> int: ...
|
|
1067
|
-
def __eq__(self, other
|
|
1068
|
-
def __hash__(self) ->
|
|
1110
|
+
def __eq__(self, other) -> bool: ...
|
|
1111
|
+
def __hash__(self) -> int: ...
|
|
1069
1112
|
def __str__(self) -> str: ...
|
|
1070
1113
|
def __repr__(self) -> str: ...
|
|
1071
1114
|
|
|
@@ -1081,8 +1124,8 @@ class DemolishScoreMutator:
|
|
|
1081
1124
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1082
1125
|
"""
|
|
1083
1126
|
def __int__(self) -> int: ...
|
|
1084
|
-
def __eq__(self, other
|
|
1085
|
-
def __hash__(self) ->
|
|
1127
|
+
def __eq__(self, other) -> bool: ...
|
|
1128
|
+
def __hash__(self) -> int: ...
|
|
1086
1129
|
def __str__(self) -> str: ...
|
|
1087
1130
|
def __repr__(self) -> str: ...
|
|
1088
1131
|
|
|
@@ -1091,6 +1134,7 @@ class DesiredBallState:
|
|
|
1091
1134
|
A ball state with nullable components.
|
|
1092
1135
|
Used for game state setting to define which part of a ball's state should change.
|
|
1093
1136
|
"""
|
|
1137
|
+
|
|
1094
1138
|
physics: DesiredPhysics
|
|
1095
1139
|
|
|
1096
1140
|
__match_args__ = (
|
|
@@ -1109,6 +1153,7 @@ class DesiredBallState:
|
|
|
1109
1153
|
"""
|
|
1110
1154
|
Serializes this instance into a byte array
|
|
1111
1155
|
"""
|
|
1156
|
+
|
|
1112
1157
|
@staticmethod
|
|
1113
1158
|
def unpack(data: bytes) -> DesiredBallState:
|
|
1114
1159
|
"""
|
|
@@ -1116,6 +1161,7 @@ class DesiredBallState:
|
|
|
1116
1161
|
|
|
1117
1162
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1118
1163
|
"""
|
|
1164
|
+
|
|
1119
1165
|
def __str__(self) -> str: ...
|
|
1120
1166
|
def __repr__(self) -> str: ...
|
|
1121
1167
|
|
|
@@ -1124,8 +1170,9 @@ class DesiredCarState:
|
|
|
1124
1170
|
A car state with nullable components.
|
|
1125
1171
|
Used for game state setting to define which part of a car's state should change.
|
|
1126
1172
|
"""
|
|
1127
|
-
|
|
1128
|
-
|
|
1173
|
+
|
|
1174
|
+
physics: DesiredPhysics | None
|
|
1175
|
+
boost_amount: float | None
|
|
1129
1176
|
|
|
1130
1177
|
__match_args__ = (
|
|
1131
1178
|
"physics",
|
|
@@ -1134,18 +1181,19 @@ class DesiredCarState:
|
|
|
1134
1181
|
|
|
1135
1182
|
def __new__(
|
|
1136
1183
|
cls,
|
|
1137
|
-
physics:
|
|
1138
|
-
boost_amount:
|
|
1184
|
+
physics: DesiredPhysics | None = None,
|
|
1185
|
+
boost_amount: float | None = None,
|
|
1139
1186
|
): ...
|
|
1140
1187
|
def __init__(
|
|
1141
1188
|
self,
|
|
1142
|
-
physics:
|
|
1143
|
-
boost_amount:
|
|
1189
|
+
physics: DesiredPhysics | None = None,
|
|
1190
|
+
boost_amount: float | None = None,
|
|
1144
1191
|
): ...
|
|
1145
1192
|
def pack(self) -> bytes:
|
|
1146
1193
|
"""
|
|
1147
1194
|
Serializes this instance into a byte array
|
|
1148
1195
|
"""
|
|
1196
|
+
|
|
1149
1197
|
@staticmethod
|
|
1150
1198
|
def unpack(data: bytes) -> DesiredCarState:
|
|
1151
1199
|
"""
|
|
@@ -1153,6 +1201,7 @@ class DesiredCarState:
|
|
|
1153
1201
|
|
|
1154
1202
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1155
1203
|
"""
|
|
1204
|
+
|
|
1156
1205
|
def __str__(self) -> str: ...
|
|
1157
1206
|
def __repr__(self) -> str: ...
|
|
1158
1207
|
|
|
@@ -1162,6 +1211,7 @@ class DesiredGameState:
|
|
|
1162
1211
|
Used for game state setting to define which part of the game should change.
|
|
1163
1212
|
Values not set will not be updated.
|
|
1164
1213
|
"""
|
|
1214
|
+
|
|
1165
1215
|
ball_states: Sequence[DesiredBallState]
|
|
1166
1216
|
"""
|
|
1167
1217
|
A list of desired ball states.
|
|
@@ -1170,7 +1220,7 @@ class DesiredGameState:
|
|
|
1170
1220
|
"""
|
|
1171
1221
|
A list of desired car states.
|
|
1172
1222
|
"""
|
|
1173
|
-
match_info:
|
|
1223
|
+
match_info: DesiredMatchInfo | None
|
|
1174
1224
|
"""
|
|
1175
1225
|
The desired game info.
|
|
1176
1226
|
"""
|
|
@@ -1191,20 +1241,21 @@ class DesiredGameState:
|
|
|
1191
1241
|
cls,
|
|
1192
1242
|
ball_states: Sequence[DesiredBallState] = [],
|
|
1193
1243
|
car_states: Sequence[DesiredCarState] = [],
|
|
1194
|
-
match_info:
|
|
1244
|
+
match_info: DesiredMatchInfo | None = None,
|
|
1195
1245
|
console_commands: Sequence[ConsoleCommand] = [],
|
|
1196
1246
|
): ...
|
|
1197
1247
|
def __init__(
|
|
1198
1248
|
self,
|
|
1199
1249
|
ball_states: Sequence[DesiredBallState] = [],
|
|
1200
1250
|
car_states: Sequence[DesiredCarState] = [],
|
|
1201
|
-
match_info:
|
|
1251
|
+
match_info: DesiredMatchInfo | None = None,
|
|
1202
1252
|
console_commands: Sequence[ConsoleCommand] = [],
|
|
1203
1253
|
): ...
|
|
1204
1254
|
def pack(self) -> bytes:
|
|
1205
1255
|
"""
|
|
1206
1256
|
Serializes this instance into a byte array
|
|
1207
1257
|
"""
|
|
1258
|
+
|
|
1208
1259
|
@staticmethod
|
|
1209
1260
|
def unpack(data: bytes) -> DesiredGameState:
|
|
1210
1261
|
"""
|
|
@@ -1212,6 +1263,7 @@ class DesiredGameState:
|
|
|
1212
1263
|
|
|
1213
1264
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1214
1265
|
"""
|
|
1266
|
+
|
|
1215
1267
|
def __str__(self) -> str: ...
|
|
1216
1268
|
def __repr__(self) -> str: ...
|
|
1217
1269
|
|
|
@@ -1220,12 +1272,13 @@ class DesiredMatchInfo:
|
|
|
1220
1272
|
Match info with nullable components.
|
|
1221
1273
|
Used for game state setting to define which part of the match info should change.
|
|
1222
1274
|
"""
|
|
1223
|
-
|
|
1275
|
+
|
|
1276
|
+
world_gravity_z: float | None
|
|
1224
1277
|
"""
|
|
1225
1278
|
The strength of gravity. Default is usually -650 depending on mutators.
|
|
1226
1279
|
To set gravity to 0, use 0.0000001 instead, as 0 will set gravity back to the default.
|
|
1227
1280
|
"""
|
|
1228
|
-
game_speed:
|
|
1281
|
+
game_speed: float | None
|
|
1229
1282
|
"""
|
|
1230
1283
|
The game speed. Default is 1.0.
|
|
1231
1284
|
"""
|
|
@@ -1237,18 +1290,19 @@ class DesiredMatchInfo:
|
|
|
1237
1290
|
|
|
1238
1291
|
def __new__(
|
|
1239
1292
|
cls,
|
|
1240
|
-
world_gravity_z:
|
|
1241
|
-
game_speed:
|
|
1293
|
+
world_gravity_z: float | None = None,
|
|
1294
|
+
game_speed: float | None = None,
|
|
1242
1295
|
): ...
|
|
1243
1296
|
def __init__(
|
|
1244
1297
|
self,
|
|
1245
|
-
world_gravity_z:
|
|
1246
|
-
game_speed:
|
|
1298
|
+
world_gravity_z: float | None = None,
|
|
1299
|
+
game_speed: float | None = None,
|
|
1247
1300
|
): ...
|
|
1248
1301
|
def pack(self) -> bytes:
|
|
1249
1302
|
"""
|
|
1250
1303
|
Serializes this instance into a byte array
|
|
1251
1304
|
"""
|
|
1305
|
+
|
|
1252
1306
|
@staticmethod
|
|
1253
1307
|
def unpack(data: bytes) -> DesiredMatchInfo:
|
|
1254
1308
|
"""
|
|
@@ -1256,6 +1310,7 @@ class DesiredMatchInfo:
|
|
|
1256
1310
|
|
|
1257
1311
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1258
1312
|
"""
|
|
1313
|
+
|
|
1259
1314
|
def __str__(self) -> str: ...
|
|
1260
1315
|
def __repr__(self) -> str: ...
|
|
1261
1316
|
|
|
@@ -1265,10 +1320,11 @@ class DesiredPhysics:
|
|
|
1265
1320
|
Used for game state setting to define which part of a physics body should change.
|
|
1266
1321
|
If a component is null, then the component will keep its current value.
|
|
1267
1322
|
"""
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1323
|
+
|
|
1324
|
+
location: Vector3Partial | None
|
|
1325
|
+
rotation: RotatorPartial | None
|
|
1326
|
+
velocity: Vector3Partial | None
|
|
1327
|
+
angular_velocity: Vector3Partial | None
|
|
1272
1328
|
|
|
1273
1329
|
__match_args__ = (
|
|
1274
1330
|
"location",
|
|
@@ -1279,22 +1335,23 @@ class DesiredPhysics:
|
|
|
1279
1335
|
|
|
1280
1336
|
def __new__(
|
|
1281
1337
|
cls,
|
|
1282
|
-
location:
|
|
1283
|
-
rotation:
|
|
1284
|
-
velocity:
|
|
1285
|
-
angular_velocity:
|
|
1338
|
+
location: Vector3Partial | None = None,
|
|
1339
|
+
rotation: RotatorPartial | None = None,
|
|
1340
|
+
velocity: Vector3Partial | None = None,
|
|
1341
|
+
angular_velocity: Vector3Partial | None = None,
|
|
1286
1342
|
): ...
|
|
1287
1343
|
def __init__(
|
|
1288
1344
|
self,
|
|
1289
|
-
location:
|
|
1290
|
-
rotation:
|
|
1291
|
-
velocity:
|
|
1292
|
-
angular_velocity:
|
|
1345
|
+
location: Vector3Partial | None = None,
|
|
1346
|
+
rotation: RotatorPartial | None = None,
|
|
1347
|
+
velocity: Vector3Partial | None = None,
|
|
1348
|
+
angular_velocity: Vector3Partial | None = None,
|
|
1293
1349
|
): ...
|
|
1294
1350
|
def pack(self) -> bytes:
|
|
1295
1351
|
"""
|
|
1296
1352
|
Serializes this instance into a byte array
|
|
1297
1353
|
"""
|
|
1354
|
+
|
|
1298
1355
|
@staticmethod
|
|
1299
1356
|
def unpack(data: bytes) -> DesiredPhysics:
|
|
1300
1357
|
"""
|
|
@@ -1302,6 +1359,7 @@ class DesiredPhysics:
|
|
|
1302
1359
|
|
|
1303
1360
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1304
1361
|
"""
|
|
1362
|
+
|
|
1305
1363
|
def __str__(self) -> str: ...
|
|
1306
1364
|
def __repr__(self) -> str: ...
|
|
1307
1365
|
|
|
@@ -1310,20 +1368,9 @@ class DisconnectSignal:
|
|
|
1310
1368
|
Sent to core to indicate that you want to disconnect.
|
|
1311
1369
|
Sent from core to indicate that you should exit.
|
|
1312
1370
|
"""
|
|
1313
|
-
def __init__(self): ...
|
|
1314
|
-
def pack(self) -> bytes:
|
|
1315
|
-
"""
|
|
1316
|
-
Serializes this instance into a byte array
|
|
1317
|
-
"""
|
|
1318
|
-
@staticmethod
|
|
1319
|
-
def unpack(data: bytes) -> DisconnectSignal:
|
|
1320
|
-
"""
|
|
1321
|
-
Deserializes the data into a new instance
|
|
1322
1371
|
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
def __str__(self) -> str: ...
|
|
1326
|
-
def __repr__(self) -> str: ...
|
|
1372
|
+
def __new__(cls): ...
|
|
1373
|
+
def __init__(self): ...
|
|
1327
1374
|
|
|
1328
1375
|
class DodgeTimerMutator:
|
|
1329
1376
|
OnePointTwentyFiveSeconds = DodgeTimerMutator(0)
|
|
@@ -1337,12 +1384,16 @@ class DodgeTimerMutator:
|
|
|
1337
1384
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1338
1385
|
"""
|
|
1339
1386
|
def __int__(self) -> int: ...
|
|
1340
|
-
def __eq__(self, other
|
|
1341
|
-
def __hash__(self) ->
|
|
1387
|
+
def __eq__(self, other) -> bool: ...
|
|
1388
|
+
def __hash__(self) -> int: ...
|
|
1342
1389
|
def __str__(self) -> str: ...
|
|
1343
1390
|
def __repr__(self) -> str: ...
|
|
1344
1391
|
|
|
1345
1392
|
class ExistingMatchBehavior:
|
|
1393
|
+
"""
|
|
1394
|
+
Possible behaviours when a match is started while another match is in progress.
|
|
1395
|
+
"""
|
|
1396
|
+
|
|
1346
1397
|
Restart = ExistingMatchBehavior(0)
|
|
1347
1398
|
"""
|
|
1348
1399
|
Always restart the match, even if config is identical.
|
|
@@ -1364,8 +1415,8 @@ class ExistingMatchBehavior:
|
|
|
1364
1415
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1365
1416
|
"""
|
|
1366
1417
|
def __int__(self) -> int: ...
|
|
1367
|
-
def __eq__(self, other
|
|
1368
|
-
def __hash__(self) ->
|
|
1418
|
+
def __eq__(self, other) -> bool: ...
|
|
1419
|
+
def __hash__(self) -> int: ...
|
|
1369
1420
|
def __str__(self) -> str: ...
|
|
1370
1421
|
def __repr__(self) -> str: ...
|
|
1371
1422
|
|
|
@@ -1375,6 +1426,7 @@ class FieldInfo:
|
|
|
1375
1426
|
Sent to bots, scripts, etc. upon connecting.
|
|
1376
1427
|
Dynamic information is found in the GamePacket.
|
|
1377
1428
|
"""
|
|
1429
|
+
|
|
1378
1430
|
boost_pads: Sequence[BoostPad]
|
|
1379
1431
|
"""
|
|
1380
1432
|
Static information about boost pads on the field.
|
|
@@ -1405,6 +1457,7 @@ class FieldInfo:
|
|
|
1405
1457
|
"""
|
|
1406
1458
|
Serializes this instance into a byte array
|
|
1407
1459
|
"""
|
|
1460
|
+
|
|
1408
1461
|
@staticmethod
|
|
1409
1462
|
def unpack(data: bytes) -> FieldInfo:
|
|
1410
1463
|
"""
|
|
@@ -1412,10 +1465,15 @@ class FieldInfo:
|
|
|
1412
1465
|
|
|
1413
1466
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1414
1467
|
"""
|
|
1468
|
+
|
|
1415
1469
|
def __str__(self) -> str: ...
|
|
1416
1470
|
def __repr__(self) -> str: ...
|
|
1417
1471
|
|
|
1418
1472
|
class Float:
|
|
1473
|
+
"""
|
|
1474
|
+
A floating point value located in a separate struct allowing for optional floats elsewhere.
|
|
1475
|
+
"""
|
|
1476
|
+
|
|
1419
1477
|
val: float
|
|
1420
1478
|
|
|
1421
1479
|
__match_args__ = (
|
|
@@ -1424,27 +1482,20 @@ class Float:
|
|
|
1424
1482
|
|
|
1425
1483
|
def __new__(
|
|
1426
1484
|
cls,
|
|
1427
|
-
val: float = 0,
|
|
1485
|
+
val: float = 0.0,
|
|
1428
1486
|
): ...
|
|
1429
1487
|
def __init__(
|
|
1430
1488
|
self,
|
|
1431
|
-
val: float = 0,
|
|
1489
|
+
val: float = 0.0,
|
|
1432
1490
|
): ...
|
|
1433
|
-
def pack(self) -> bytes:
|
|
1434
|
-
"""
|
|
1435
|
-
Serializes this instance into a byte array
|
|
1436
|
-
"""
|
|
1437
|
-
@staticmethod
|
|
1438
|
-
def unpack(data: bytes) -> Float:
|
|
1439
|
-
"""
|
|
1440
|
-
Deserializes the data into a new instance
|
|
1441
|
-
|
|
1442
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1443
|
-
"""
|
|
1444
1491
|
def __str__(self) -> str: ...
|
|
1445
1492
|
def __repr__(self) -> str: ...
|
|
1446
1493
|
|
|
1447
1494
|
class GameEventMutator:
|
|
1495
|
+
"""
|
|
1496
|
+
Game event mutator options.
|
|
1497
|
+
"""
|
|
1498
|
+
|
|
1448
1499
|
Default = GameEventMutator(0)
|
|
1449
1500
|
Haunted = GameEventMutator(1)
|
|
1450
1501
|
Rugby = GameEventMutator(2)
|
|
@@ -1455,12 +1506,16 @@ class GameEventMutator:
|
|
|
1455
1506
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1456
1507
|
"""
|
|
1457
1508
|
def __int__(self) -> int: ...
|
|
1458
|
-
def __eq__(self, other
|
|
1459
|
-
def __hash__(self) ->
|
|
1509
|
+
def __eq__(self, other) -> bool: ...
|
|
1510
|
+
def __hash__(self) -> int: ...
|
|
1460
1511
|
def __str__(self) -> str: ...
|
|
1461
1512
|
def __repr__(self) -> str: ...
|
|
1462
1513
|
|
|
1463
1514
|
class GameMode:
|
|
1515
|
+
"""
|
|
1516
|
+
Various game modes.
|
|
1517
|
+
"""
|
|
1518
|
+
|
|
1464
1519
|
Soccar = GameMode(0)
|
|
1465
1520
|
Hoops = GameMode(1)
|
|
1466
1521
|
Dropshot = GameMode(2)
|
|
@@ -1476,8 +1531,8 @@ class GameMode:
|
|
|
1476
1531
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1477
1532
|
"""
|
|
1478
1533
|
def __int__(self) -> int: ...
|
|
1479
|
-
def __eq__(self, other
|
|
1480
|
-
def __hash__(self) ->
|
|
1534
|
+
def __eq__(self, other) -> bool: ...
|
|
1535
|
+
def __hash__(self) -> int: ...
|
|
1481
1536
|
def __str__(self) -> str: ...
|
|
1482
1537
|
def __repr__(self) -> str: ...
|
|
1483
1538
|
|
|
@@ -1487,6 +1542,7 @@ class GamePacket:
|
|
|
1487
1542
|
Is is sent every tick to bots, scripts, etc.
|
|
1488
1543
|
Static data is found in the FieldInfo.
|
|
1489
1544
|
"""
|
|
1545
|
+
|
|
1490
1546
|
players: Sequence[PlayerInfo]
|
|
1491
1547
|
"""
|
|
1492
1548
|
The current state of all players and their cars.
|
|
@@ -1538,6 +1594,7 @@ class GamePacket:
|
|
|
1538
1594
|
"""
|
|
1539
1595
|
Serializes this instance into a byte array
|
|
1540
1596
|
"""
|
|
1597
|
+
|
|
1541
1598
|
@staticmethod
|
|
1542
1599
|
def unpack(data: bytes) -> GamePacket:
|
|
1543
1600
|
"""
|
|
@@ -1545,10 +1602,15 @@ class GamePacket:
|
|
|
1545
1602
|
|
|
1546
1603
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1547
1604
|
"""
|
|
1605
|
+
|
|
1548
1606
|
def __str__(self) -> str: ...
|
|
1549
1607
|
def __repr__(self) -> str: ...
|
|
1550
1608
|
|
|
1551
1609
|
class GameSpeedMutator:
|
|
1610
|
+
"""
|
|
1611
|
+
Game speed mutator options.
|
|
1612
|
+
"""
|
|
1613
|
+
|
|
1552
1614
|
Default = GameSpeedMutator(0)
|
|
1553
1615
|
SloMo = GameSpeedMutator(1)
|
|
1554
1616
|
TimeWarp = GameSpeedMutator(2)
|
|
@@ -1559,8 +1621,8 @@ class GameSpeedMutator:
|
|
|
1559
1621
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1560
1622
|
"""
|
|
1561
1623
|
def __int__(self) -> int: ...
|
|
1562
|
-
def __eq__(self, other
|
|
1563
|
-
def __hash__(self) ->
|
|
1624
|
+
def __eq__(self, other) -> bool: ...
|
|
1625
|
+
def __hash__(self) -> int: ...
|
|
1564
1626
|
def __str__(self) -> str: ...
|
|
1565
1627
|
def __repr__(self) -> str: ...
|
|
1566
1628
|
|
|
@@ -1569,6 +1631,7 @@ class GoalInfo:
|
|
|
1569
1631
|
Static information about a goal on the field such as dimensions and location.
|
|
1570
1632
|
More values can be found on https://wiki.rlbot.org/botmaking/useful-game-values/
|
|
1571
1633
|
"""
|
|
1634
|
+
|
|
1572
1635
|
team_num: int
|
|
1573
1636
|
"""
|
|
1574
1637
|
The index of the team that this goal belongs to.
|
|
@@ -1603,21 +1666,22 @@ class GoalInfo:
|
|
|
1603
1666
|
team_num: int = 0,
|
|
1604
1667
|
location: Vector3 = Vector3(),
|
|
1605
1668
|
direction: Vector3 = Vector3(),
|
|
1606
|
-
width: float = 0,
|
|
1607
|
-
height: float = 0,
|
|
1669
|
+
width: float = 0.0,
|
|
1670
|
+
height: float = 0.0,
|
|
1608
1671
|
): ...
|
|
1609
1672
|
def __init__(
|
|
1610
1673
|
self,
|
|
1611
1674
|
team_num: int = 0,
|
|
1612
1675
|
location: Vector3 = Vector3(),
|
|
1613
1676
|
direction: Vector3 = Vector3(),
|
|
1614
|
-
width: float = 0,
|
|
1615
|
-
height: float = 0,
|
|
1677
|
+
width: float = 0.0,
|
|
1678
|
+
height: float = 0.0,
|
|
1616
1679
|
): ...
|
|
1617
1680
|
def pack(self) -> bytes:
|
|
1618
1681
|
"""
|
|
1619
1682
|
Serializes this instance into a byte array
|
|
1620
1683
|
"""
|
|
1684
|
+
|
|
1621
1685
|
@staticmethod
|
|
1622
1686
|
def unpack(data: bytes) -> GoalInfo:
|
|
1623
1687
|
"""
|
|
@@ -1625,10 +1689,15 @@ class GoalInfo:
|
|
|
1625
1689
|
|
|
1626
1690
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1627
1691
|
"""
|
|
1692
|
+
|
|
1628
1693
|
def __str__(self) -> str: ...
|
|
1629
1694
|
def __repr__(self) -> str: ...
|
|
1630
1695
|
|
|
1631
1696
|
class GravityMutator:
|
|
1697
|
+
"""
|
|
1698
|
+
Gravity mutator options.
|
|
1699
|
+
"""
|
|
1700
|
+
|
|
1632
1701
|
Default = GravityMutator(0)
|
|
1633
1702
|
Low = GravityMutator(1)
|
|
1634
1703
|
High = GravityMutator(2)
|
|
@@ -1641,8 +1710,8 @@ class GravityMutator:
|
|
|
1641
1710
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1642
1711
|
"""
|
|
1643
1712
|
def __int__(self) -> int: ...
|
|
1644
|
-
def __eq__(self, other
|
|
1645
|
-
def __hash__(self) ->
|
|
1713
|
+
def __eq__(self, other) -> bool: ...
|
|
1714
|
+
def __hash__(self) -> int: ...
|
|
1646
1715
|
def __str__(self) -> str: ...
|
|
1647
1716
|
def __repr__(self) -> str: ...
|
|
1648
1717
|
|
|
@@ -1650,40 +1719,18 @@ class Human:
|
|
|
1650
1719
|
"""
|
|
1651
1720
|
A normal human player.
|
|
1652
1721
|
"""
|
|
1653
|
-
def __init__(self): ...
|
|
1654
|
-
def pack(self) -> bytes:
|
|
1655
|
-
"""
|
|
1656
|
-
Serializes this instance into a byte array
|
|
1657
|
-
"""
|
|
1658
|
-
@staticmethod
|
|
1659
|
-
def unpack(data: bytes) -> Human:
|
|
1660
|
-
"""
|
|
1661
|
-
Deserializes the data into a new instance
|
|
1662
1722
|
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
def __str__(self) -> str: ...
|
|
1666
|
-
def __repr__(self) -> str: ...
|
|
1723
|
+
def __new__(cls): ...
|
|
1724
|
+
def __init__(self): ...
|
|
1667
1725
|
|
|
1668
1726
|
class InitComplete:
|
|
1669
1727
|
"""
|
|
1670
1728
|
Indicates that the session has finished all initialization and is ready to start receiving
|
|
1671
1729
|
game messages without delay.
|
|
1672
1730
|
"""
|
|
1673
|
-
def __init__(self): ...
|
|
1674
|
-
def pack(self) -> bytes:
|
|
1675
|
-
"""
|
|
1676
|
-
Serializes this instance into a byte array
|
|
1677
|
-
"""
|
|
1678
|
-
@staticmethod
|
|
1679
|
-
def unpack(data: bytes) -> InitComplete:
|
|
1680
|
-
"""
|
|
1681
|
-
Deserializes the data into a new instance
|
|
1682
1731
|
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
def __str__(self) -> str: ...
|
|
1686
|
-
def __repr__(self) -> str: ...
|
|
1732
|
+
def __new__(cls): ...
|
|
1733
|
+
def __init__(self): ...
|
|
1687
1734
|
|
|
1688
1735
|
class InputRestrictionMutator:
|
|
1689
1736
|
Default = InputRestrictionMutator(0)
|
|
@@ -1695,21 +1742,8 @@ class InputRestrictionMutator:
|
|
|
1695
1742
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1696
1743
|
"""
|
|
1697
1744
|
def __int__(self) -> int: ...
|
|
1698
|
-
def __eq__(self, other
|
|
1699
|
-
def __hash__(self) ->
|
|
1700
|
-
def __str__(self) -> str: ...
|
|
1701
|
-
def __repr__(self) -> str: ...
|
|
1702
|
-
|
|
1703
|
-
class InterfaceMessage:
|
|
1704
|
-
item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus
|
|
1705
|
-
|
|
1706
|
-
def __new__(
|
|
1707
|
-
cls, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1708
|
-
): ...
|
|
1709
|
-
def __init__(
|
|
1710
|
-
self, item: DisconnectSignal | StartCommand | MatchConfiguration | PlayerInput | DesiredGameState | RenderGroup | RemoveRenderGroup | MatchComm | ConnectionSettings | StopCommand | SetLoadout | InitComplete | RenderingStatus = DisconnectSignal()
|
|
1711
|
-
): ...
|
|
1712
|
-
|
|
1745
|
+
def __eq__(self, other) -> bool: ...
|
|
1746
|
+
def __hash__(self) -> int: ...
|
|
1713
1747
|
def __str__(self) -> str: ...
|
|
1714
1748
|
def __repr__(self) -> str: ...
|
|
1715
1749
|
|
|
@@ -1717,7 +1751,8 @@ class InterfacePacket:
|
|
|
1717
1751
|
"""
|
|
1718
1752
|
Packet containing a InterfaceMessage
|
|
1719
1753
|
"""
|
|
1720
|
-
|
|
1754
|
+
|
|
1755
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand
|
|
1721
1756
|
|
|
1722
1757
|
__match_args__ = (
|
|
1723
1758
|
"message",
|
|
@@ -1725,16 +1760,17 @@ class InterfacePacket:
|
|
|
1725
1760
|
|
|
1726
1761
|
def __new__(
|
|
1727
1762
|
cls,
|
|
1728
|
-
message:
|
|
1763
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand = ConnectionSettings(),
|
|
1729
1764
|
): ...
|
|
1730
1765
|
def __init__(
|
|
1731
1766
|
self,
|
|
1732
|
-
message:
|
|
1767
|
+
message: ConnectionSettings | DesiredGameState | DisconnectSignal | InitComplete | MatchComm | MatchConfiguration | PlayerInput | RemoveRenderGroup | RenderGroup | RenderingStatus | SetLoadout | StartCommand | StopCommand = ConnectionSettings(),
|
|
1733
1768
|
): ...
|
|
1734
1769
|
def pack(self) -> bytes:
|
|
1735
1770
|
"""
|
|
1736
1771
|
Serializes this instance into a byte array
|
|
1737
1772
|
"""
|
|
1773
|
+
|
|
1738
1774
|
@staticmethod
|
|
1739
1775
|
def unpack(data: bytes) -> InterfacePacket:
|
|
1740
1776
|
"""
|
|
@@ -1742,6 +1778,7 @@ class InterfacePacket:
|
|
|
1742
1778
|
|
|
1743
1779
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1744
1780
|
"""
|
|
1781
|
+
|
|
1745
1782
|
def __str__(self) -> str: ...
|
|
1746
1783
|
def __repr__(self) -> str: ...
|
|
1747
1784
|
|
|
@@ -1760,12 +1797,16 @@ class JumpMutator:
|
|
|
1760
1797
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1761
1798
|
"""
|
|
1762
1799
|
def __int__(self) -> int: ...
|
|
1763
|
-
def __eq__(self, other
|
|
1764
|
-
def __hash__(self) ->
|
|
1800
|
+
def __eq__(self, other) -> bool: ...
|
|
1801
|
+
def __hash__(self) -> int: ...
|
|
1765
1802
|
def __str__(self) -> str: ...
|
|
1766
1803
|
def __repr__(self) -> str: ...
|
|
1767
1804
|
|
|
1768
1805
|
class Launcher:
|
|
1806
|
+
"""
|
|
1807
|
+
Possible to launch Rocket League.
|
|
1808
|
+
"""
|
|
1809
|
+
|
|
1769
1810
|
Steam = Launcher(0)
|
|
1770
1811
|
Epic = Launcher(1)
|
|
1771
1812
|
Custom = Launcher(2)
|
|
@@ -1781,8 +1822,8 @@ class Launcher:
|
|
|
1781
1822
|
:raises ValueError: If the `value` is not a valid enum value
|
|
1782
1823
|
"""
|
|
1783
1824
|
def __int__(self) -> int: ...
|
|
1784
|
-
def __eq__(self, other
|
|
1785
|
-
def __hash__(self) ->
|
|
1825
|
+
def __eq__(self, other) -> bool: ...
|
|
1826
|
+
def __hash__(self) -> int: ...
|
|
1786
1827
|
def __str__(self) -> str: ...
|
|
1787
1828
|
def __repr__(self) -> str: ...
|
|
1788
1829
|
|
|
@@ -1790,6 +1831,7 @@ class Line3D:
|
|
|
1790
1831
|
"""
|
|
1791
1832
|
A RenderMessage for a line in 3D space between two RenderAnchors.
|
|
1792
1833
|
"""
|
|
1834
|
+
|
|
1793
1835
|
start: RenderAnchor
|
|
1794
1836
|
end: RenderAnchor
|
|
1795
1837
|
color: Color
|
|
@@ -1816,6 +1858,7 @@ class Line3D:
|
|
|
1816
1858
|
"""
|
|
1817
1859
|
Serializes this instance into a byte array
|
|
1818
1860
|
"""
|
|
1861
|
+
|
|
1819
1862
|
@staticmethod
|
|
1820
1863
|
def unpack(data: bytes) -> Line3D:
|
|
1821
1864
|
"""
|
|
@@ -1823,6 +1866,7 @@ class Line3D:
|
|
|
1823
1866
|
|
|
1824
1867
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1825
1868
|
"""
|
|
1869
|
+
|
|
1826
1870
|
def __str__(self) -> str: ...
|
|
1827
1871
|
def __repr__(self) -> str: ...
|
|
1828
1872
|
|
|
@@ -1830,6 +1874,7 @@ class LoadoutPaint:
|
|
|
1830
1874
|
"""
|
|
1831
1875
|
Specification for 'painted' items. See https://wiki.rlbot.org/botmaking/bot-customization/
|
|
1832
1876
|
"""
|
|
1877
|
+
|
|
1833
1878
|
car_paint_id: int
|
|
1834
1879
|
decal_paint_id: int
|
|
1835
1880
|
wheels_paint_id: int
|
|
@@ -1876,6 +1921,7 @@ class LoadoutPaint:
|
|
|
1876
1921
|
"""
|
|
1877
1922
|
Serializes this instance into a byte array
|
|
1878
1923
|
"""
|
|
1924
|
+
|
|
1879
1925
|
@staticmethod
|
|
1880
1926
|
def unpack(data: bytes) -> LoadoutPaint:
|
|
1881
1927
|
"""
|
|
@@ -1883,6 +1929,7 @@ class LoadoutPaint:
|
|
|
1883
1929
|
|
|
1884
1930
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1885
1931
|
"""
|
|
1932
|
+
|
|
1886
1933
|
def __str__(self) -> str: ...
|
|
1887
1934
|
def __repr__(self) -> str: ...
|
|
1888
1935
|
|
|
@@ -1892,6 +1939,7 @@ class MatchComm:
|
|
|
1892
1939
|
Use the team_only field if the message should only be received by team mates.
|
|
1893
1940
|
The message can also have a human-readable summary displayed in quick chat through the display field.
|
|
1894
1941
|
"""
|
|
1942
|
+
|
|
1895
1943
|
index: int
|
|
1896
1944
|
"""
|
|
1897
1945
|
The index of the player that sent this message.
|
|
@@ -1906,7 +1954,7 @@ class MatchComm:
|
|
|
1906
1954
|
"""
|
|
1907
1955
|
True if this message is team-only, false if everyone can see it
|
|
1908
1956
|
"""
|
|
1909
|
-
display:
|
|
1957
|
+
display: str | None
|
|
1910
1958
|
"""
|
|
1911
1959
|
The message that will be displayed on the screen in quick chat.
|
|
1912
1960
|
This is intended for communication with humans.
|
|
@@ -1931,21 +1979,22 @@ class MatchComm:
|
|
|
1931
1979
|
index: int = 0,
|
|
1932
1980
|
team: int = 0,
|
|
1933
1981
|
team_only: bool = False,
|
|
1934
|
-
display:
|
|
1935
|
-
content: bytes =
|
|
1982
|
+
display: str | None = None,
|
|
1983
|
+
content: bytes = bytes(),
|
|
1936
1984
|
): ...
|
|
1937
1985
|
def __init__(
|
|
1938
1986
|
self,
|
|
1939
1987
|
index: int = 0,
|
|
1940
1988
|
team: int = 0,
|
|
1941
1989
|
team_only: bool = False,
|
|
1942
|
-
display:
|
|
1943
|
-
content: bytes =
|
|
1990
|
+
display: str | None = None,
|
|
1991
|
+
content: bytes = bytes(),
|
|
1944
1992
|
): ...
|
|
1945
1993
|
def pack(self) -> bytes:
|
|
1946
1994
|
"""
|
|
1947
1995
|
Serializes this instance into a byte array
|
|
1948
1996
|
"""
|
|
1997
|
+
|
|
1949
1998
|
@staticmethod
|
|
1950
1999
|
def unpack(data: bytes) -> MatchComm:
|
|
1951
2000
|
"""
|
|
@@ -1953,6 +2002,7 @@ class MatchComm:
|
|
|
1953
2002
|
|
|
1954
2003
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
1955
2004
|
"""
|
|
2005
|
+
|
|
1956
2006
|
def __str__(self) -> str: ...
|
|
1957
2007
|
def __repr__(self) -> str: ...
|
|
1958
2008
|
|
|
@@ -1961,6 +2011,7 @@ class MatchConfiguration:
|
|
|
1961
2011
|
Definition of a match.
|
|
1962
2012
|
Can be sent to RLBot to request the start of a match.
|
|
1963
2013
|
"""
|
|
2014
|
+
|
|
1964
2015
|
launcher: Launcher
|
|
1965
2016
|
"""
|
|
1966
2017
|
How to launch Rocket League.
|
|
@@ -2010,7 +2061,7 @@ class MatchConfiguration:
|
|
|
2010
2061
|
"""
|
|
2011
2062
|
Whether to start without a kickoff countdown.
|
|
2012
2063
|
"""
|
|
2013
|
-
mutators:
|
|
2064
|
+
mutators: MutatorSettings | None
|
|
2014
2065
|
"""
|
|
2015
2066
|
Mutator settings.
|
|
2016
2067
|
"""
|
|
@@ -2067,7 +2118,7 @@ class MatchConfiguration:
|
|
|
2067
2118
|
game_mode: GameMode = GameMode(),
|
|
2068
2119
|
skip_replays: bool = False,
|
|
2069
2120
|
instant_start: bool = False,
|
|
2070
|
-
mutators:
|
|
2121
|
+
mutators: MutatorSettings | None = None,
|
|
2071
2122
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2072
2123
|
enable_rendering: DebugRendering = DebugRendering(),
|
|
2073
2124
|
enable_state_setting: bool = False,
|
|
@@ -2086,7 +2137,7 @@ class MatchConfiguration:
|
|
|
2086
2137
|
game_mode: GameMode = GameMode(),
|
|
2087
2138
|
skip_replays: bool = False,
|
|
2088
2139
|
instant_start: bool = False,
|
|
2089
|
-
mutators:
|
|
2140
|
+
mutators: MutatorSettings | None = None,
|
|
2090
2141
|
existing_match_behavior: ExistingMatchBehavior = ExistingMatchBehavior(),
|
|
2091
2142
|
enable_rendering: DebugRendering = DebugRendering(),
|
|
2092
2143
|
enable_state_setting: bool = False,
|
|
@@ -2097,6 +2148,7 @@ class MatchConfiguration:
|
|
|
2097
2148
|
"""
|
|
2098
2149
|
Serializes this instance into a byte array
|
|
2099
2150
|
"""
|
|
2151
|
+
|
|
2100
2152
|
@staticmethod
|
|
2101
2153
|
def unpack(data: bytes) -> MatchConfiguration:
|
|
2102
2154
|
"""
|
|
@@ -2104,6 +2156,7 @@ class MatchConfiguration:
|
|
|
2104
2156
|
|
|
2105
2157
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2106
2158
|
"""
|
|
2159
|
+
|
|
2107
2160
|
def __str__(self) -> str: ...
|
|
2108
2161
|
def __repr__(self) -> str: ...
|
|
2109
2162
|
|
|
@@ -2111,6 +2164,7 @@ class MatchInfo:
|
|
|
2111
2164
|
"""
|
|
2112
2165
|
Information about the current match such as time and gravity.
|
|
2113
2166
|
"""
|
|
2167
|
+
|
|
2114
2168
|
seconds_elapsed: float
|
|
2115
2169
|
"""
|
|
2116
2170
|
How many seconds have elapsed since the first game packet of the match.
|
|
@@ -2167,25 +2221,25 @@ class MatchInfo:
|
|
|
2167
2221
|
|
|
2168
2222
|
def __new__(
|
|
2169
2223
|
cls,
|
|
2170
|
-
seconds_elapsed: float = 0,
|
|
2171
|
-
game_time_remaining: float = 0,
|
|
2224
|
+
seconds_elapsed: float = 0.0,
|
|
2225
|
+
game_time_remaining: float = 0.0,
|
|
2172
2226
|
is_overtime: bool = False,
|
|
2173
2227
|
is_unlimited_time: bool = False,
|
|
2174
2228
|
match_phase: MatchPhase = MatchPhase(),
|
|
2175
|
-
world_gravity_z: float = 0,
|
|
2176
|
-
game_speed: float = 0,
|
|
2229
|
+
world_gravity_z: float = 0.0,
|
|
2230
|
+
game_speed: float = 0.0,
|
|
2177
2231
|
last_spectated: int = 0,
|
|
2178
2232
|
frame_num: int = 0,
|
|
2179
2233
|
): ...
|
|
2180
2234
|
def __init__(
|
|
2181
2235
|
self,
|
|
2182
|
-
seconds_elapsed: float = 0,
|
|
2183
|
-
game_time_remaining: float = 0,
|
|
2236
|
+
seconds_elapsed: float = 0.0,
|
|
2237
|
+
game_time_remaining: float = 0.0,
|
|
2184
2238
|
is_overtime: bool = False,
|
|
2185
2239
|
is_unlimited_time: bool = False,
|
|
2186
2240
|
match_phase: MatchPhase = MatchPhase(),
|
|
2187
|
-
world_gravity_z: float = 0,
|
|
2188
|
-
game_speed: float = 0,
|
|
2241
|
+
world_gravity_z: float = 0.0,
|
|
2242
|
+
game_speed: float = 0.0,
|
|
2189
2243
|
last_spectated: int = 0,
|
|
2190
2244
|
frame_num: int = 0,
|
|
2191
2245
|
): ...
|
|
@@ -2193,6 +2247,7 @@ class MatchInfo:
|
|
|
2193
2247
|
"""
|
|
2194
2248
|
Serializes this instance into a byte array
|
|
2195
2249
|
"""
|
|
2250
|
+
|
|
2196
2251
|
@staticmethod
|
|
2197
2252
|
def unpack(data: bytes) -> MatchInfo:
|
|
2198
2253
|
"""
|
|
@@ -2200,10 +2255,15 @@ class MatchInfo:
|
|
|
2200
2255
|
|
|
2201
2256
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2202
2257
|
"""
|
|
2258
|
+
|
|
2203
2259
|
def __str__(self) -> str: ...
|
|
2204
2260
|
def __repr__(self) -> str: ...
|
|
2205
2261
|
|
|
2206
2262
|
class MatchLengthMutator:
|
|
2263
|
+
"""
|
|
2264
|
+
Match length mutator options.
|
|
2265
|
+
"""
|
|
2266
|
+
|
|
2207
2267
|
FiveMinutes = MatchLengthMutator(0)
|
|
2208
2268
|
TenMinutes = MatchLengthMutator(1)
|
|
2209
2269
|
TwentyMinutes = MatchLengthMutator(2)
|
|
@@ -2215,12 +2275,16 @@ class MatchLengthMutator:
|
|
|
2215
2275
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2216
2276
|
"""
|
|
2217
2277
|
def __int__(self) -> int: ...
|
|
2218
|
-
def __eq__(self, other
|
|
2219
|
-
def __hash__(self) ->
|
|
2278
|
+
def __eq__(self, other) -> bool: ...
|
|
2279
|
+
def __hash__(self) -> int: ...
|
|
2220
2280
|
def __str__(self) -> str: ...
|
|
2221
2281
|
def __repr__(self) -> str: ...
|
|
2222
2282
|
|
|
2223
2283
|
class MatchPhase:
|
|
2284
|
+
"""
|
|
2285
|
+
Possible phases of the match.
|
|
2286
|
+
"""
|
|
2287
|
+
|
|
2224
2288
|
Inactive = MatchPhase(0)
|
|
2225
2289
|
"""
|
|
2226
2290
|
Match has not been created yet.
|
|
@@ -2261,12 +2325,16 @@ class MatchPhase:
|
|
|
2261
2325
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2262
2326
|
"""
|
|
2263
2327
|
def __int__(self) -> int: ...
|
|
2264
|
-
def __eq__(self, other
|
|
2265
|
-
def __hash__(self) ->
|
|
2328
|
+
def __eq__(self, other) -> bool: ...
|
|
2329
|
+
def __hash__(self) -> int: ...
|
|
2266
2330
|
def __str__(self) -> str: ...
|
|
2267
2331
|
def __repr__(self) -> str: ...
|
|
2268
2332
|
|
|
2269
2333
|
class MaxScoreMutator:
|
|
2334
|
+
"""
|
|
2335
|
+
Max score mutator options.
|
|
2336
|
+
"""
|
|
2337
|
+
|
|
2270
2338
|
Unlimited = MaxScoreMutator(0)
|
|
2271
2339
|
OneGoal = MaxScoreMutator(1)
|
|
2272
2340
|
ThreeGoals = MaxScoreMutator(2)
|
|
@@ -2289,12 +2357,16 @@ class MaxScoreMutator:
|
|
|
2289
2357
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2290
2358
|
"""
|
|
2291
2359
|
def __int__(self) -> int: ...
|
|
2292
|
-
def __eq__(self, other
|
|
2293
|
-
def __hash__(self) ->
|
|
2360
|
+
def __eq__(self, other) -> bool: ...
|
|
2361
|
+
def __hash__(self) -> int: ...
|
|
2294
2362
|
def __str__(self) -> str: ...
|
|
2295
2363
|
def __repr__(self) -> str: ...
|
|
2296
2364
|
|
|
2297
2365
|
class MaxTimeMutator:
|
|
2366
|
+
"""
|
|
2367
|
+
Max time mutator options.
|
|
2368
|
+
"""
|
|
2369
|
+
|
|
2298
2370
|
Unlimited = MaxTimeMutator(0)
|
|
2299
2371
|
ElevenMinutes = MaxTimeMutator(1)
|
|
2300
2372
|
|
|
@@ -2304,12 +2376,16 @@ class MaxTimeMutator:
|
|
|
2304
2376
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2305
2377
|
"""
|
|
2306
2378
|
def __int__(self) -> int: ...
|
|
2307
|
-
def __eq__(self, other
|
|
2308
|
-
def __hash__(self) ->
|
|
2379
|
+
def __eq__(self, other) -> bool: ...
|
|
2380
|
+
def __hash__(self) -> int: ...
|
|
2309
2381
|
def __str__(self) -> str: ...
|
|
2310
2382
|
def __repr__(self) -> str: ...
|
|
2311
2383
|
|
|
2312
2384
|
class MultiBallMutator:
|
|
2385
|
+
"""
|
|
2386
|
+
Multi ball mutator options.
|
|
2387
|
+
"""
|
|
2388
|
+
|
|
2313
2389
|
One = MultiBallMutator(0)
|
|
2314
2390
|
Two = MultiBallMutator(1)
|
|
2315
2391
|
Four = MultiBallMutator(2)
|
|
@@ -2321,8 +2397,8 @@ class MultiBallMutator:
|
|
|
2321
2397
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2322
2398
|
"""
|
|
2323
2399
|
def __int__(self) -> int: ...
|
|
2324
|
-
def __eq__(self, other
|
|
2325
|
-
def __hash__(self) ->
|
|
2400
|
+
def __eq__(self, other) -> bool: ...
|
|
2401
|
+
def __hash__(self) -> int: ...
|
|
2326
2402
|
def __str__(self) -> str: ...
|
|
2327
2403
|
def __repr__(self) -> str: ...
|
|
2328
2404
|
|
|
@@ -2330,6 +2406,7 @@ class MutatorSettings:
|
|
|
2330
2406
|
"""
|
|
2331
2407
|
All mutators options.
|
|
2332
2408
|
"""
|
|
2409
|
+
|
|
2333
2410
|
match_length: MatchLengthMutator
|
|
2334
2411
|
"""
|
|
2335
2412
|
Duration of the match.
|
|
@@ -2455,9 +2532,9 @@ class MutatorSettings:
|
|
|
2455
2532
|
"""
|
|
2456
2533
|
Player input restriction mutator.
|
|
2457
2534
|
"""
|
|
2458
|
-
scoring_rule:
|
|
2535
|
+
scoring_rule: ScoringRuleMutator
|
|
2459
2536
|
"""
|
|
2460
|
-
Additional rules
|
|
2537
|
+
Additional rules about scoring (ball-goal interaction).
|
|
2461
2538
|
"""
|
|
2462
2539
|
|
|
2463
2540
|
__match_args__ = (
|
|
@@ -2528,7 +2605,7 @@ class MutatorSettings:
|
|
|
2528
2605
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2529
2606
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2530
2607
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2531
|
-
scoring_rule:
|
|
2608
|
+
scoring_rule: ScoringRuleMutator = ScoringRuleMutator(),
|
|
2532
2609
|
): ...
|
|
2533
2610
|
def __init__(
|
|
2534
2611
|
self,
|
|
@@ -2563,12 +2640,13 @@ class MutatorSettings:
|
|
|
2563
2640
|
aerial_goal_score: AerialGoalScoreMutator = AerialGoalScoreMutator(),
|
|
2564
2641
|
assist_goal_score: AssistGoalScoreMutator = AssistGoalScoreMutator(),
|
|
2565
2642
|
input_restriction: InputRestrictionMutator = InputRestrictionMutator(),
|
|
2566
|
-
scoring_rule:
|
|
2643
|
+
scoring_rule: ScoringRuleMutator = ScoringRuleMutator(),
|
|
2567
2644
|
): ...
|
|
2568
2645
|
def pack(self) -> bytes:
|
|
2569
2646
|
"""
|
|
2570
2647
|
Serializes this instance into a byte array
|
|
2571
2648
|
"""
|
|
2649
|
+
|
|
2572
2650
|
@staticmethod
|
|
2573
2651
|
def unpack(data: bytes) -> MutatorSettings:
|
|
2574
2652
|
"""
|
|
@@ -2576,6 +2654,7 @@ class MutatorSettings:
|
|
|
2576
2654
|
|
|
2577
2655
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2578
2656
|
"""
|
|
2657
|
+
|
|
2579
2658
|
def __str__(self) -> str: ...
|
|
2580
2659
|
def __repr__(self) -> str: ...
|
|
2581
2660
|
|
|
@@ -2593,12 +2672,16 @@ class NormalGoalScoreMutator:
|
|
|
2593
2672
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2594
2673
|
"""
|
|
2595
2674
|
def __int__(self) -> int: ...
|
|
2596
|
-
def __eq__(self, other
|
|
2597
|
-
def __hash__(self) ->
|
|
2675
|
+
def __eq__(self, other) -> bool: ...
|
|
2676
|
+
def __hash__(self) -> int: ...
|
|
2598
2677
|
def __str__(self) -> str: ...
|
|
2599
2678
|
def __repr__(self) -> str: ...
|
|
2600
2679
|
|
|
2601
2680
|
class OvertimeMutator:
|
|
2681
|
+
"""
|
|
2682
|
+
Overtime mutator options.
|
|
2683
|
+
"""
|
|
2684
|
+
|
|
2602
2685
|
Unlimited = OvertimeMutator(0)
|
|
2603
2686
|
FiveMaxFirstScore = OvertimeMutator(1)
|
|
2604
2687
|
FiveMaxRandomTeam = OvertimeMutator(2)
|
|
@@ -2609,12 +2692,16 @@ class OvertimeMutator:
|
|
|
2609
2692
|
:raises ValueError: If the `value` is not a valid enum value
|
|
2610
2693
|
"""
|
|
2611
2694
|
def __int__(self) -> int: ...
|
|
2612
|
-
def __eq__(self, other
|
|
2613
|
-
def __hash__(self) ->
|
|
2695
|
+
def __eq__(self, other) -> bool: ...
|
|
2696
|
+
def __hash__(self) -> int: ...
|
|
2614
2697
|
def __str__(self) -> str: ...
|
|
2615
2698
|
def __repr__(self) -> str: ...
|
|
2616
2699
|
|
|
2617
2700
|
class Physics:
|
|
2701
|
+
"""
|
|
2702
|
+
The physical state of an object.
|
|
2703
|
+
"""
|
|
2704
|
+
|
|
2618
2705
|
location: Vector3
|
|
2619
2706
|
rotation: Rotator
|
|
2620
2707
|
velocity: Vector3
|
|
@@ -2641,30 +2728,6 @@ class Physics:
|
|
|
2641
2728
|
velocity: Vector3 = Vector3(),
|
|
2642
2729
|
angular_velocity: Vector3 = Vector3(),
|
|
2643
2730
|
): ...
|
|
2644
|
-
def pack(self) -> bytes:
|
|
2645
|
-
"""
|
|
2646
|
-
Serializes this instance into a byte array
|
|
2647
|
-
"""
|
|
2648
|
-
@staticmethod
|
|
2649
|
-
def unpack(data: bytes) -> Physics:
|
|
2650
|
-
"""
|
|
2651
|
-
Deserializes the data into a new instance
|
|
2652
|
-
|
|
2653
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2654
|
-
"""
|
|
2655
|
-
def __str__(self) -> str: ...
|
|
2656
|
-
def __repr__(self) -> str: ...
|
|
2657
|
-
|
|
2658
|
-
class PlayerClass:
|
|
2659
|
-
item: Human | CustomBot | PsyonixBot
|
|
2660
|
-
|
|
2661
|
-
def __new__(
|
|
2662
|
-
cls, item: Human | CustomBot | PsyonixBot = Human()
|
|
2663
|
-
): ...
|
|
2664
|
-
def __init__(
|
|
2665
|
-
self, item: Human | CustomBot | PsyonixBot = Human()
|
|
2666
|
-
): ...
|
|
2667
|
-
|
|
2668
2731
|
def __str__(self) -> str: ...
|
|
2669
2732
|
def __repr__(self) -> str: ...
|
|
2670
2733
|
|
|
@@ -2672,7 +2735,8 @@ class PlayerConfiguration:
|
|
|
2672
2735
|
"""
|
|
2673
2736
|
A PlayerConfiguration defines a player of a match.
|
|
2674
2737
|
"""
|
|
2675
|
-
|
|
2738
|
+
|
|
2739
|
+
variety: CustomBot | Human | PsyonixBot
|
|
2676
2740
|
"""
|
|
2677
2741
|
The type of the player, i.e. human, Psyonix bot, or a custom bot.
|
|
2678
2742
|
"""
|
|
@@ -2695,13 +2759,13 @@ class PlayerConfiguration:
|
|
|
2695
2759
|
|
|
2696
2760
|
def __new__(
|
|
2697
2761
|
cls,
|
|
2698
|
-
variety:
|
|
2762
|
+
variety: CustomBot | Human | PsyonixBot = CustomBot(),
|
|
2699
2763
|
team: int = 0,
|
|
2700
2764
|
player_id: int = 0,
|
|
2701
2765
|
): ...
|
|
2702
2766
|
def __init__(
|
|
2703
2767
|
self,
|
|
2704
|
-
variety:
|
|
2768
|
+
variety: CustomBot | Human | PsyonixBot = CustomBot(),
|
|
2705
2769
|
team: int = 0,
|
|
2706
2770
|
player_id: int = 0,
|
|
2707
2771
|
): ...
|
|
@@ -2709,6 +2773,7 @@ class PlayerConfiguration:
|
|
|
2709
2773
|
"""
|
|
2710
2774
|
Serializes this instance into a byte array
|
|
2711
2775
|
"""
|
|
2776
|
+
|
|
2712
2777
|
@staticmethod
|
|
2713
2778
|
def unpack(data: bytes) -> PlayerConfiguration:
|
|
2714
2779
|
"""
|
|
@@ -2716,6 +2781,7 @@ class PlayerConfiguration:
|
|
|
2716
2781
|
|
|
2717
2782
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2718
2783
|
"""
|
|
2784
|
+
|
|
2719
2785
|
def __str__(self) -> str: ...
|
|
2720
2786
|
def __repr__(self) -> str: ...
|
|
2721
2787
|
|
|
@@ -2723,6 +2789,7 @@ class PlayerInfo:
|
|
|
2723
2789
|
"""
|
|
2724
2790
|
A collection of information about a player and their car.
|
|
2725
2791
|
"""
|
|
2792
|
+
|
|
2726
2793
|
physics: Physics
|
|
2727
2794
|
"""
|
|
2728
2795
|
The physical state of the player's car.
|
|
@@ -2741,7 +2808,7 @@ class PlayerInfo:
|
|
|
2741
2808
|
"""
|
|
2742
2809
|
The center of the hitbox in local coordinates.
|
|
2743
2810
|
"""
|
|
2744
|
-
latest_touch:
|
|
2811
|
+
latest_touch: Touch | None
|
|
2745
2812
|
"""
|
|
2746
2813
|
Information about the latest touch with a ball.
|
|
2747
2814
|
Is null if the player has yet to touch the ball.
|
|
@@ -2861,22 +2928,22 @@ class PlayerInfo:
|
|
|
2861
2928
|
score_info: ScoreInfo = ScoreInfo(),
|
|
2862
2929
|
hitbox: BoxShape = BoxShape(),
|
|
2863
2930
|
hitbox_offset: Vector3 = Vector3(),
|
|
2864
|
-
latest_touch:
|
|
2931
|
+
latest_touch: Touch | None = None,
|
|
2865
2932
|
air_state: AirState = AirState(),
|
|
2866
|
-
dodge_timeout: float = 0,
|
|
2867
|
-
demolished_timeout: float = 0,
|
|
2933
|
+
dodge_timeout: float = 0.0,
|
|
2934
|
+
demolished_timeout: float = 0.0,
|
|
2868
2935
|
is_supersonic: bool = False,
|
|
2869
2936
|
is_bot: bool = False,
|
|
2870
2937
|
name: str = "",
|
|
2871
2938
|
team: int = 0,
|
|
2872
|
-
boost: float = 0,
|
|
2939
|
+
boost: float = 0.0,
|
|
2873
2940
|
player_id: int = 0,
|
|
2874
2941
|
accolades: Sequence[str] = [],
|
|
2875
2942
|
last_input: ControllerState = ControllerState(),
|
|
2876
2943
|
has_jumped: bool = False,
|
|
2877
2944
|
has_double_jumped: bool = False,
|
|
2878
2945
|
has_dodged: bool = False,
|
|
2879
|
-
dodge_elapsed: float = 0,
|
|
2946
|
+
dodge_elapsed: float = 0.0,
|
|
2880
2947
|
dodge_dir: Vector2 = Vector2(),
|
|
2881
2948
|
): ...
|
|
2882
2949
|
def __init__(
|
|
@@ -2885,28 +2952,29 @@ class PlayerInfo:
|
|
|
2885
2952
|
score_info: ScoreInfo = ScoreInfo(),
|
|
2886
2953
|
hitbox: BoxShape = BoxShape(),
|
|
2887
2954
|
hitbox_offset: Vector3 = Vector3(),
|
|
2888
|
-
latest_touch:
|
|
2955
|
+
latest_touch: Touch | None = None,
|
|
2889
2956
|
air_state: AirState = AirState(),
|
|
2890
|
-
dodge_timeout: float = 0,
|
|
2891
|
-
demolished_timeout: float = 0,
|
|
2957
|
+
dodge_timeout: float = 0.0,
|
|
2958
|
+
demolished_timeout: float = 0.0,
|
|
2892
2959
|
is_supersonic: bool = False,
|
|
2893
2960
|
is_bot: bool = False,
|
|
2894
2961
|
name: str = "",
|
|
2895
2962
|
team: int = 0,
|
|
2896
|
-
boost: float = 0,
|
|
2963
|
+
boost: float = 0.0,
|
|
2897
2964
|
player_id: int = 0,
|
|
2898
2965
|
accolades: Sequence[str] = [],
|
|
2899
2966
|
last_input: ControllerState = ControllerState(),
|
|
2900
2967
|
has_jumped: bool = False,
|
|
2901
2968
|
has_double_jumped: bool = False,
|
|
2902
2969
|
has_dodged: bool = False,
|
|
2903
|
-
dodge_elapsed: float = 0,
|
|
2970
|
+
dodge_elapsed: float = 0.0,
|
|
2904
2971
|
dodge_dir: Vector2 = Vector2(),
|
|
2905
2972
|
): ...
|
|
2906
2973
|
def pack(self) -> bytes:
|
|
2907
2974
|
"""
|
|
2908
2975
|
Serializes this instance into a byte array
|
|
2909
2976
|
"""
|
|
2977
|
+
|
|
2910
2978
|
@staticmethod
|
|
2911
2979
|
def unpack(data: bytes) -> PlayerInfo:
|
|
2912
2980
|
"""
|
|
@@ -2914,6 +2982,7 @@ class PlayerInfo:
|
|
|
2914
2982
|
|
|
2915
2983
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2916
2984
|
"""
|
|
2985
|
+
|
|
2917
2986
|
def __str__(self) -> str: ...
|
|
2918
2987
|
def __repr__(self) -> str: ...
|
|
2919
2988
|
|
|
@@ -2922,6 +2991,7 @@ class PlayerInput:
|
|
|
2922
2991
|
A player index and the controller state of that player.
|
|
2923
2992
|
Used to indicate what the player is doing this tick.
|
|
2924
2993
|
"""
|
|
2994
|
+
|
|
2925
2995
|
player_index: int
|
|
2926
2996
|
controller_state: ControllerState
|
|
2927
2997
|
|
|
@@ -2944,6 +3014,7 @@ class PlayerInput:
|
|
|
2944
3014
|
"""
|
|
2945
3015
|
Serializes this instance into a byte array
|
|
2946
3016
|
"""
|
|
3017
|
+
|
|
2947
3018
|
@staticmethod
|
|
2948
3019
|
def unpack(data: bytes) -> PlayerInput:
|
|
2949
3020
|
"""
|
|
@@ -2951,6 +3022,7 @@ class PlayerInput:
|
|
|
2951
3022
|
|
|
2952
3023
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
2953
3024
|
"""
|
|
3025
|
+
|
|
2954
3026
|
def __str__(self) -> str: ...
|
|
2955
3027
|
def __repr__(self) -> str: ...
|
|
2956
3028
|
|
|
@@ -2959,6 +3031,7 @@ class PlayerLoadout:
|
|
|
2959
3031
|
Defines the car type, color, and other aspects of the player's appearance.
|
|
2960
3032
|
See https://wiki.rlbot.org/botmaking/bot-customization/
|
|
2961
3033
|
"""
|
|
3034
|
+
|
|
2962
3035
|
team_color_id: int
|
|
2963
3036
|
custom_color_id: int
|
|
2964
3037
|
car_id: int
|
|
@@ -2972,13 +3045,13 @@ class PlayerLoadout:
|
|
|
2972
3045
|
engine_audio_id: int
|
|
2973
3046
|
trails_id: int
|
|
2974
3047
|
goal_explosion_id: int
|
|
2975
|
-
loadout_paint:
|
|
2976
|
-
primary_color_lookup:
|
|
3048
|
+
loadout_paint: LoadoutPaint | None
|
|
3049
|
+
primary_color_lookup: Color | None
|
|
2977
3050
|
"""
|
|
2978
3051
|
Sets the primary color of the car to the swatch that most closely matches the provided
|
|
2979
3052
|
RGB color value. If set, this overrides teamColorId.
|
|
2980
3053
|
"""
|
|
2981
|
-
secondary_color_lookup:
|
|
3054
|
+
secondary_color_lookup: Color | None
|
|
2982
3055
|
"""
|
|
2983
3056
|
Sets the secondary color of the car to the swatch that most closely matches the provided
|
|
2984
3057
|
RGB color value. If set, this overrides customColorId.
|
|
@@ -3018,9 +3091,9 @@ class PlayerLoadout:
|
|
|
3018
3091
|
engine_audio_id: int = 0,
|
|
3019
3092
|
trails_id: int = 0,
|
|
3020
3093
|
goal_explosion_id: int = 0,
|
|
3021
|
-
loadout_paint:
|
|
3022
|
-
primary_color_lookup:
|
|
3023
|
-
secondary_color_lookup:
|
|
3094
|
+
loadout_paint: LoadoutPaint | None = None,
|
|
3095
|
+
primary_color_lookup: Color | None = None,
|
|
3096
|
+
secondary_color_lookup: Color | None = None,
|
|
3024
3097
|
): ...
|
|
3025
3098
|
def __init__(
|
|
3026
3099
|
self,
|
|
@@ -3037,14 +3110,15 @@ class PlayerLoadout:
|
|
|
3037
3110
|
engine_audio_id: int = 0,
|
|
3038
3111
|
trails_id: int = 0,
|
|
3039
3112
|
goal_explosion_id: int = 0,
|
|
3040
|
-
loadout_paint:
|
|
3041
|
-
primary_color_lookup:
|
|
3042
|
-
secondary_color_lookup:
|
|
3113
|
+
loadout_paint: LoadoutPaint | None = None,
|
|
3114
|
+
primary_color_lookup: Color | None = None,
|
|
3115
|
+
secondary_color_lookup: Color | None = None,
|
|
3043
3116
|
): ...
|
|
3044
3117
|
def pack(self) -> bytes:
|
|
3045
3118
|
"""
|
|
3046
3119
|
Serializes this instance into a byte array
|
|
3047
3120
|
"""
|
|
3121
|
+
|
|
3048
3122
|
@staticmethod
|
|
3049
3123
|
def unpack(data: bytes) -> PlayerLoadout:
|
|
3050
3124
|
"""
|
|
@@ -3052,6 +3126,7 @@ class PlayerLoadout:
|
|
|
3052
3126
|
|
|
3053
3127
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3054
3128
|
"""
|
|
3129
|
+
|
|
3055
3130
|
def __str__(self) -> str: ...
|
|
3056
3131
|
def __repr__(self) -> str: ...
|
|
3057
3132
|
|
|
@@ -3059,6 +3134,7 @@ class PolyLine3D:
|
|
|
3059
3134
|
"""
|
|
3060
3135
|
A RenderMessage for a line in 3D space going through a series of points.
|
|
3061
3136
|
"""
|
|
3137
|
+
|
|
3062
3138
|
points: Sequence[Vector3]
|
|
3063
3139
|
color: Color
|
|
3064
3140
|
|
|
@@ -3081,6 +3157,7 @@ class PolyLine3D:
|
|
|
3081
3157
|
"""
|
|
3082
3158
|
Serializes this instance into a byte array
|
|
3083
3159
|
"""
|
|
3160
|
+
|
|
3084
3161
|
@staticmethod
|
|
3085
3162
|
def unpack(data: bytes) -> PolyLine3D:
|
|
3086
3163
|
"""
|
|
@@ -3088,6 +3165,7 @@ class PolyLine3D:
|
|
|
3088
3165
|
|
|
3089
3166
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3090
3167
|
"""
|
|
3168
|
+
|
|
3091
3169
|
def __str__(self) -> str: ...
|
|
3092
3170
|
def __repr__(self) -> str: ...
|
|
3093
3171
|
|
|
@@ -3103,17 +3181,25 @@ class PossessionScoreMutator:
|
|
|
3103
3181
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3104
3182
|
"""
|
|
3105
3183
|
def __int__(self) -> int: ...
|
|
3106
|
-
def __eq__(self, other
|
|
3107
|
-
def __hash__(self) ->
|
|
3184
|
+
def __eq__(self, other) -> bool: ...
|
|
3185
|
+
def __hash__(self) -> int: ...
|
|
3108
3186
|
def __str__(self) -> str: ...
|
|
3109
3187
|
def __repr__(self) -> str: ...
|
|
3110
3188
|
|
|
3111
3189
|
class PredictionSlice:
|
|
3190
|
+
"""
|
|
3191
|
+
An entry in the ball prediction describing where a ball will be at some future time.
|
|
3192
|
+
"""
|
|
3193
|
+
|
|
3112
3194
|
game_seconds: float
|
|
3113
3195
|
"""
|
|
3114
3196
|
The moment in game time that this prediction corresponds to.
|
|
3197
|
+
This corresponds to 'seconds_elapsed' in the MatchInfo.
|
|
3115
3198
|
"""
|
|
3116
3199
|
physics: Physics
|
|
3200
|
+
"""
|
|
3201
|
+
The predicted location and motion of the object.
|
|
3202
|
+
"""
|
|
3117
3203
|
|
|
3118
3204
|
__match_args__ = (
|
|
3119
3205
|
"game_seconds",
|
|
@@ -3122,25 +3208,14 @@ class PredictionSlice:
|
|
|
3122
3208
|
|
|
3123
3209
|
def __new__(
|
|
3124
3210
|
cls,
|
|
3125
|
-
game_seconds: float = 0,
|
|
3211
|
+
game_seconds: float = 0.0,
|
|
3126
3212
|
physics: Physics = Physics(),
|
|
3127
3213
|
): ...
|
|
3128
3214
|
def __init__(
|
|
3129
3215
|
self,
|
|
3130
|
-
game_seconds: float = 0,
|
|
3216
|
+
game_seconds: float = 0.0,
|
|
3131
3217
|
physics: Physics = Physics(),
|
|
3132
3218
|
): ...
|
|
3133
|
-
def pack(self) -> bytes:
|
|
3134
|
-
"""
|
|
3135
|
-
Serializes this instance into a byte array
|
|
3136
|
-
"""
|
|
3137
|
-
@staticmethod
|
|
3138
|
-
def unpack(data: bytes) -> PredictionSlice:
|
|
3139
|
-
"""
|
|
3140
|
-
Deserializes the data into a new instance
|
|
3141
|
-
|
|
3142
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3143
|
-
"""
|
|
3144
3219
|
def __str__(self) -> str: ...
|
|
3145
3220
|
def __repr__(self) -> str: ...
|
|
3146
3221
|
|
|
@@ -3148,13 +3223,14 @@ class PsyonixBot:
|
|
|
3148
3223
|
"""
|
|
3149
3224
|
A Psyonix bot, e.g. All Star bot.
|
|
3150
3225
|
"""
|
|
3226
|
+
|
|
3151
3227
|
name: str
|
|
3152
3228
|
"""
|
|
3153
3229
|
Requested bot name. When match start, RLBot will ensure each bot has a unique name; bots with
|
|
3154
3230
|
duplicate names will be renamed with a suffix like `(2)`. For psyonix bots, a blank name will
|
|
3155
3231
|
be replaced with one of the official names.
|
|
3156
3232
|
"""
|
|
3157
|
-
loadout:
|
|
3233
|
+
loadout: PlayerLoadout | None
|
|
3158
3234
|
"""
|
|
3159
3235
|
The loadout of the player.
|
|
3160
3236
|
"""
|
|
@@ -3169,19 +3245,20 @@ class PsyonixBot:
|
|
|
3169
3245
|
def __new__(
|
|
3170
3246
|
cls,
|
|
3171
3247
|
name: str = "",
|
|
3172
|
-
loadout:
|
|
3248
|
+
loadout: PlayerLoadout | None = None,
|
|
3173
3249
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3174
3250
|
): ...
|
|
3175
3251
|
def __init__(
|
|
3176
3252
|
self,
|
|
3177
3253
|
name: str = "",
|
|
3178
|
-
loadout:
|
|
3254
|
+
loadout: PlayerLoadout | None = None,
|
|
3179
3255
|
bot_skill: PsyonixSkill = PsyonixSkill(),
|
|
3180
3256
|
): ...
|
|
3181
3257
|
def pack(self) -> bytes:
|
|
3182
3258
|
"""
|
|
3183
3259
|
Serializes this instance into a byte array
|
|
3184
3260
|
"""
|
|
3261
|
+
|
|
3185
3262
|
@staticmethod
|
|
3186
3263
|
def unpack(data: bytes) -> PsyonixBot:
|
|
3187
3264
|
"""
|
|
@@ -3189,10 +3266,15 @@ class PsyonixBot:
|
|
|
3189
3266
|
|
|
3190
3267
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3191
3268
|
"""
|
|
3269
|
+
|
|
3192
3270
|
def __str__(self) -> str: ...
|
|
3193
3271
|
def __repr__(self) -> str: ...
|
|
3194
3272
|
|
|
3195
3273
|
class PsyonixSkill:
|
|
3274
|
+
"""
|
|
3275
|
+
Various skill levels of Psyonix bots.
|
|
3276
|
+
"""
|
|
3277
|
+
|
|
3196
3278
|
Beginner = PsyonixSkill(0)
|
|
3197
3279
|
Rookie = PsyonixSkill(1)
|
|
3198
3280
|
Pro = PsyonixSkill(2)
|
|
@@ -3204,8 +3286,8 @@ class PsyonixSkill:
|
|
|
3204
3286
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3205
3287
|
"""
|
|
3206
3288
|
def __int__(self) -> int: ...
|
|
3207
|
-
def __eq__(self, other
|
|
3208
|
-
def __hash__(self) ->
|
|
3289
|
+
def __eq__(self, other) -> bool: ...
|
|
3290
|
+
def __hash__(self) -> int: ...
|
|
3209
3291
|
def __str__(self) -> str: ...
|
|
3210
3292
|
def __repr__(self) -> str: ...
|
|
3211
3293
|
|
|
@@ -3214,6 +3296,7 @@ class Rect2D:
|
|
|
3214
3296
|
A RenderMessage for a rectangle in 2D space.
|
|
3215
3297
|
Note that the position and size is given in screen-space coordinates.
|
|
3216
3298
|
"""
|
|
3299
|
+
|
|
3217
3300
|
x: float
|
|
3218
3301
|
"""
|
|
3219
3302
|
Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.
|
|
@@ -3255,20 +3338,20 @@ class Rect2D:
|
|
|
3255
3338
|
|
|
3256
3339
|
def __new__(
|
|
3257
3340
|
cls,
|
|
3258
|
-
x: float = 0,
|
|
3259
|
-
y: float = 0,
|
|
3260
|
-
width: float = 0,
|
|
3261
|
-
height: float = 0,
|
|
3341
|
+
x: float = 0.0,
|
|
3342
|
+
y: float = 0.0,
|
|
3343
|
+
width: float = 0.0,
|
|
3344
|
+
height: float = 0.0,
|
|
3262
3345
|
color: Color = Color(),
|
|
3263
3346
|
h_align: TextHAlign = TextHAlign(),
|
|
3264
3347
|
v_align: TextVAlign = TextVAlign(),
|
|
3265
3348
|
): ...
|
|
3266
3349
|
def __init__(
|
|
3267
3350
|
self,
|
|
3268
|
-
x: float = 0,
|
|
3269
|
-
y: float = 0,
|
|
3270
|
-
width: float = 0,
|
|
3271
|
-
height: float = 0,
|
|
3351
|
+
x: float = 0.0,
|
|
3352
|
+
y: float = 0.0,
|
|
3353
|
+
width: float = 0.0,
|
|
3354
|
+
height: float = 0.0,
|
|
3272
3355
|
color: Color = Color(),
|
|
3273
3356
|
h_align: TextHAlign = TextHAlign(),
|
|
3274
3357
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3277,6 +3360,7 @@ class Rect2D:
|
|
|
3277
3360
|
"""
|
|
3278
3361
|
Serializes this instance into a byte array
|
|
3279
3362
|
"""
|
|
3363
|
+
|
|
3280
3364
|
@staticmethod
|
|
3281
3365
|
def unpack(data: bytes) -> Rect2D:
|
|
3282
3366
|
"""
|
|
@@ -3284,6 +3368,7 @@ class Rect2D:
|
|
|
3284
3368
|
|
|
3285
3369
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3286
3370
|
"""
|
|
3371
|
+
|
|
3287
3372
|
def __str__(self) -> str: ...
|
|
3288
3373
|
def __repr__(self) -> str: ...
|
|
3289
3374
|
|
|
@@ -3292,6 +3377,7 @@ class Rect3D:
|
|
|
3292
3377
|
A RenderMessage for a rectangle in 3D space.
|
|
3293
3378
|
Note that the size is given in screen-space sizes.
|
|
3294
3379
|
"""
|
|
3380
|
+
|
|
3295
3381
|
anchor: RenderAnchor
|
|
3296
3382
|
"""
|
|
3297
3383
|
The position of the rectangle.
|
|
@@ -3329,8 +3415,8 @@ class Rect3D:
|
|
|
3329
3415
|
def __new__(
|
|
3330
3416
|
cls,
|
|
3331
3417
|
anchor: RenderAnchor = RenderAnchor(),
|
|
3332
|
-
width: float = 0,
|
|
3333
|
-
height: float = 0,
|
|
3418
|
+
width: float = 0.0,
|
|
3419
|
+
height: float = 0.0,
|
|
3334
3420
|
color: Color = Color(),
|
|
3335
3421
|
h_align: TextHAlign = TextHAlign(),
|
|
3336
3422
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3338,8 +3424,8 @@ class Rect3D:
|
|
|
3338
3424
|
def __init__(
|
|
3339
3425
|
self,
|
|
3340
3426
|
anchor: RenderAnchor = RenderAnchor(),
|
|
3341
|
-
width: float = 0,
|
|
3342
|
-
height: float = 0,
|
|
3427
|
+
width: float = 0.0,
|
|
3428
|
+
height: float = 0.0,
|
|
3343
3429
|
color: Color = Color(),
|
|
3344
3430
|
h_align: TextHAlign = TextHAlign(),
|
|
3345
3431
|
v_align: TextVAlign = TextVAlign(),
|
|
@@ -3348,6 +3434,7 @@ class Rect3D:
|
|
|
3348
3434
|
"""
|
|
3349
3435
|
Serializes this instance into a byte array
|
|
3350
3436
|
"""
|
|
3437
|
+
|
|
3351
3438
|
@staticmethod
|
|
3352
3439
|
def unpack(data: bytes) -> Rect3D:
|
|
3353
3440
|
"""
|
|
@@ -3355,18 +3442,6 @@ class Rect3D:
|
|
|
3355
3442
|
|
|
3356
3443
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3357
3444
|
"""
|
|
3358
|
-
def __str__(self) -> str: ...
|
|
3359
|
-
def __repr__(self) -> str: ...
|
|
3360
|
-
|
|
3361
|
-
class RelativeAnchor:
|
|
3362
|
-
item: BallAnchor | CarAnchor
|
|
3363
|
-
|
|
3364
|
-
def __new__(
|
|
3365
|
-
cls, item: BallAnchor | CarAnchor = BallAnchor()
|
|
3366
|
-
): ...
|
|
3367
|
-
def __init__(
|
|
3368
|
-
self, item: BallAnchor | CarAnchor = BallAnchor()
|
|
3369
|
-
): ...
|
|
3370
3445
|
|
|
3371
3446
|
def __str__(self) -> str: ...
|
|
3372
3447
|
def __repr__(self) -> str: ...
|
|
@@ -3376,6 +3451,7 @@ class RemoveRenderGroup:
|
|
|
3376
3451
|
A client message request removal of a RenderGroup.
|
|
3377
3452
|
A client can only clear its own RenderGroups.
|
|
3378
3453
|
"""
|
|
3454
|
+
|
|
3379
3455
|
id: int
|
|
3380
3456
|
|
|
3381
3457
|
__match_args__ = (
|
|
@@ -3394,6 +3470,7 @@ class RemoveRenderGroup:
|
|
|
3394
3470
|
"""
|
|
3395
3471
|
Serializes this instance into a byte array
|
|
3396
3472
|
"""
|
|
3473
|
+
|
|
3397
3474
|
@staticmethod
|
|
3398
3475
|
def unpack(data: bytes) -> RemoveRenderGroup:
|
|
3399
3476
|
"""
|
|
@@ -3401,6 +3478,7 @@ class RemoveRenderGroup:
|
|
|
3401
3478
|
|
|
3402
3479
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3403
3480
|
"""
|
|
3481
|
+
|
|
3404
3482
|
def __str__(self) -> str: ...
|
|
3405
3483
|
def __repr__(self) -> str: ...
|
|
3406
3484
|
|
|
@@ -3411,12 +3489,13 @@ class RenderAnchor:
|
|
|
3411
3489
|
The RenderAnchor stays attached to the object and does not have to be updated each tick.
|
|
3412
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.
|
|
3413
3491
|
"""
|
|
3492
|
+
|
|
3414
3493
|
world: Vector3
|
|
3415
3494
|
"""
|
|
3416
3495
|
An offset in global coordinates.
|
|
3417
3496
|
If the relative component is null, then this simply a point in 3D space.
|
|
3418
3497
|
"""
|
|
3419
|
-
relative:
|
|
3498
|
+
relative: BallAnchor | CarAnchor | None
|
|
3420
3499
|
"""
|
|
3421
3500
|
An optional offset given by the position of an object and includes a local offset that takes the object's orientation into account.
|
|
3422
3501
|
"""
|
|
@@ -3429,17 +3508,18 @@ class RenderAnchor:
|
|
|
3429
3508
|
def __new__(
|
|
3430
3509
|
cls,
|
|
3431
3510
|
world: Vector3 = Vector3(),
|
|
3432
|
-
relative:
|
|
3511
|
+
relative: BallAnchor | CarAnchor | None = None,
|
|
3433
3512
|
): ...
|
|
3434
3513
|
def __init__(
|
|
3435
3514
|
self,
|
|
3436
3515
|
world: Vector3 = Vector3(),
|
|
3437
|
-
relative:
|
|
3516
|
+
relative: BallAnchor | CarAnchor | None = None,
|
|
3438
3517
|
): ...
|
|
3439
3518
|
def pack(self) -> bytes:
|
|
3440
3519
|
"""
|
|
3441
3520
|
Serializes this instance into a byte array
|
|
3442
3521
|
"""
|
|
3522
|
+
|
|
3443
3523
|
@staticmethod
|
|
3444
3524
|
def unpack(data: bytes) -> RenderAnchor:
|
|
3445
3525
|
"""
|
|
@@ -3447,6 +3527,7 @@ class RenderAnchor:
|
|
|
3447
3527
|
|
|
3448
3528
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3449
3529
|
"""
|
|
3530
|
+
|
|
3450
3531
|
def __str__(self) -> str: ...
|
|
3451
3532
|
def __repr__(self) -> str: ...
|
|
3452
3533
|
|
|
@@ -3457,6 +3538,7 @@ class RenderGroup:
|
|
|
3457
3538
|
The group is identified by a unique id.
|
|
3458
3539
|
A client can only clear its own RenderGroups.
|
|
3459
3540
|
"""
|
|
3541
|
+
|
|
3460
3542
|
render_messages: Sequence[RenderMessage]
|
|
3461
3543
|
"""
|
|
3462
3544
|
The content of the RenderGroup.
|
|
@@ -3485,6 +3567,7 @@ class RenderGroup:
|
|
|
3485
3567
|
"""
|
|
3486
3568
|
Serializes this instance into a byte array
|
|
3487
3569
|
"""
|
|
3570
|
+
|
|
3488
3571
|
@staticmethod
|
|
3489
3572
|
def unpack(data: bytes) -> RenderGroup:
|
|
3490
3573
|
"""
|
|
@@ -3492,6 +3575,7 @@ class RenderGroup:
|
|
|
3492
3575
|
|
|
3493
3576
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3494
3577
|
"""
|
|
3578
|
+
|
|
3495
3579
|
def __str__(self) -> str: ...
|
|
3496
3580
|
def __repr__(self) -> str: ...
|
|
3497
3581
|
|
|
@@ -3499,7 +3583,8 @@ class RenderMessage:
|
|
|
3499
3583
|
"""
|
|
3500
3584
|
A RenderMessage, describing a piece of debug rendering.
|
|
3501
3585
|
"""
|
|
3502
|
-
|
|
3586
|
+
|
|
3587
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D
|
|
3503
3588
|
|
|
3504
3589
|
__match_args__ = (
|
|
3505
3590
|
"variety",
|
|
@@ -3507,16 +3592,17 @@ class RenderMessage:
|
|
|
3507
3592
|
|
|
3508
3593
|
def __new__(
|
|
3509
3594
|
cls,
|
|
3510
|
-
variety: Line3D | PolyLine3D |
|
|
3595
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D = Line3D(),
|
|
3511
3596
|
): ...
|
|
3512
3597
|
def __init__(
|
|
3513
3598
|
self,
|
|
3514
|
-
variety: Line3D | PolyLine3D |
|
|
3599
|
+
variety: Line3D | PolyLine3D | Rect2D | Rect3D | String2D | String3D = Line3D(),
|
|
3515
3600
|
): ...
|
|
3516
3601
|
def pack(self) -> bytes:
|
|
3517
3602
|
"""
|
|
3518
3603
|
Serializes this instance into a byte array
|
|
3519
3604
|
"""
|
|
3605
|
+
|
|
3520
3606
|
@staticmethod
|
|
3521
3607
|
def unpack(data: bytes) -> RenderMessage:
|
|
3522
3608
|
"""
|
|
@@ -3524,18 +3610,6 @@ class RenderMessage:
|
|
|
3524
3610
|
|
|
3525
3611
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3526
3612
|
"""
|
|
3527
|
-
def __str__(self) -> str: ...
|
|
3528
|
-
def __repr__(self) -> str: ...
|
|
3529
|
-
|
|
3530
|
-
class RenderType:
|
|
3531
|
-
item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D
|
|
3532
|
-
|
|
3533
|
-
def __new__(
|
|
3534
|
-
cls, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
|
|
3535
|
-
): ...
|
|
3536
|
-
def __init__(
|
|
3537
|
-
self, item: Line3D | PolyLine3D | String2D | String3D | Rect2D | Rect3D = Line3D()
|
|
3538
|
-
): ...
|
|
3539
3613
|
|
|
3540
3614
|
def __str__(self) -> str: ...
|
|
3541
3615
|
def __repr__(self) -> str: ...
|
|
@@ -3546,6 +3620,7 @@ class RenderingStatus:
|
|
|
3546
3620
|
This changed will then be broadcasted to all current connections as a core message.
|
|
3547
3621
|
Does nothing if rendering has been completely disabled.
|
|
3548
3622
|
"""
|
|
3623
|
+
|
|
3549
3624
|
index: int
|
|
3550
3625
|
"""
|
|
3551
3626
|
If `is_bot`, this is the index of the bot in `GamePacket` that has been updated.
|
|
@@ -3582,6 +3657,7 @@ class RenderingStatus:
|
|
|
3582
3657
|
"""
|
|
3583
3658
|
Serializes this instance into a byte array
|
|
3584
3659
|
"""
|
|
3660
|
+
|
|
3585
3661
|
@staticmethod
|
|
3586
3662
|
def unpack(data: bytes) -> RenderingStatus:
|
|
3587
3663
|
"""
|
|
@@ -3589,10 +3665,15 @@ class RenderingStatus:
|
|
|
3589
3665
|
|
|
3590
3666
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3591
3667
|
"""
|
|
3668
|
+
|
|
3592
3669
|
def __str__(self) -> str: ...
|
|
3593
3670
|
def __repr__(self) -> str: ...
|
|
3594
3671
|
|
|
3595
3672
|
class RespawnTimeMutator:
|
|
3673
|
+
"""
|
|
3674
|
+
Respawn time mutator options.
|
|
3675
|
+
"""
|
|
3676
|
+
|
|
3596
3677
|
ThreeSeconds = RespawnTimeMutator(0)
|
|
3597
3678
|
TwoSeconds = RespawnTimeMutator(1)
|
|
3598
3679
|
OneSecond = RespawnTimeMutator(2)
|
|
@@ -3604,15 +3685,28 @@ class RespawnTimeMutator:
|
|
|
3604
3685
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3605
3686
|
"""
|
|
3606
3687
|
def __int__(self) -> int: ...
|
|
3607
|
-
def __eq__(self, other
|
|
3608
|
-
def __hash__(self) ->
|
|
3688
|
+
def __eq__(self, other) -> bool: ...
|
|
3689
|
+
def __hash__(self) -> int: ...
|
|
3609
3690
|
def __str__(self) -> str: ...
|
|
3610
3691
|
def __repr__(self) -> str: ...
|
|
3611
3692
|
|
|
3612
3693
|
class Rotator:
|
|
3694
|
+
"""
|
|
3695
|
+
Expresses the rotation state of an object in Euler angles. Values are in radians.
|
|
3696
|
+
"""
|
|
3697
|
+
|
|
3613
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
|
+
"""
|
|
3614
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
|
+
"""
|
|
3615
3706
|
roll: float
|
|
3707
|
+
"""
|
|
3708
|
+
In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.
|
|
3709
|
+
"""
|
|
3616
3710
|
|
|
3617
3711
|
__match_args__ = (
|
|
3618
3712
|
"pitch",
|
|
@@ -3622,27 +3716,16 @@ class Rotator:
|
|
|
3622
3716
|
|
|
3623
3717
|
def __new__(
|
|
3624
3718
|
cls,
|
|
3625
|
-
pitch: float = 0,
|
|
3626
|
-
yaw: float = 0,
|
|
3627
|
-
roll: float = 0,
|
|
3719
|
+
pitch: float = 0.0,
|
|
3720
|
+
yaw: float = 0.0,
|
|
3721
|
+
roll: float = 0.0,
|
|
3628
3722
|
): ...
|
|
3629
3723
|
def __init__(
|
|
3630
3724
|
self,
|
|
3631
|
-
pitch: float = 0,
|
|
3632
|
-
yaw: float = 0,
|
|
3633
|
-
roll: float = 0,
|
|
3725
|
+
pitch: float = 0.0,
|
|
3726
|
+
yaw: float = 0.0,
|
|
3727
|
+
roll: float = 0.0,
|
|
3634
3728
|
): ...
|
|
3635
|
-
def pack(self) -> bytes:
|
|
3636
|
-
"""
|
|
3637
|
-
Serializes this instance into a byte array
|
|
3638
|
-
"""
|
|
3639
|
-
@staticmethod
|
|
3640
|
-
def unpack(data: bytes) -> Rotator:
|
|
3641
|
-
"""
|
|
3642
|
-
Deserializes the data into a new instance
|
|
3643
|
-
|
|
3644
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3645
|
-
"""
|
|
3646
3729
|
def __str__(self) -> str: ...
|
|
3647
3730
|
def __repr__(self) -> str: ...
|
|
3648
3731
|
|
|
@@ -3653,15 +3736,16 @@ class RotatorPartial:
|
|
|
3653
3736
|
If a component is null, then the component will keep its current value.
|
|
3654
3737
|
Values are in radians.
|
|
3655
3738
|
"""
|
|
3656
|
-
|
|
3739
|
+
|
|
3740
|
+
pitch: float | None
|
|
3657
3741
|
"""
|
|
3658
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.
|
|
3659
3743
|
"""
|
|
3660
|
-
yaw:
|
|
3744
|
+
yaw: float | None
|
|
3661
3745
|
"""
|
|
3662
3746
|
In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).
|
|
3663
3747
|
"""
|
|
3664
|
-
roll:
|
|
3748
|
+
roll: float | None
|
|
3665
3749
|
"""
|
|
3666
3750
|
In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.
|
|
3667
3751
|
"""
|
|
@@ -3674,20 +3758,21 @@ class RotatorPartial:
|
|
|
3674
3758
|
|
|
3675
3759
|
def __new__(
|
|
3676
3760
|
cls,
|
|
3677
|
-
pitch:
|
|
3678
|
-
yaw:
|
|
3679
|
-
roll:
|
|
3761
|
+
pitch: float | None = None,
|
|
3762
|
+
yaw: float | None = None,
|
|
3763
|
+
roll: float | None = None,
|
|
3680
3764
|
): ...
|
|
3681
3765
|
def __init__(
|
|
3682
3766
|
self,
|
|
3683
|
-
pitch:
|
|
3684
|
-
yaw:
|
|
3685
|
-
roll:
|
|
3767
|
+
pitch: float | None = None,
|
|
3768
|
+
yaw: float | None = None,
|
|
3769
|
+
roll: float | None = None,
|
|
3686
3770
|
): ...
|
|
3687
3771
|
def pack(self) -> bytes:
|
|
3688
3772
|
"""
|
|
3689
3773
|
Serializes this instance into a byte array
|
|
3690
3774
|
"""
|
|
3775
|
+
|
|
3691
3776
|
@staticmethod
|
|
3692
3777
|
def unpack(data: bytes) -> RotatorPartial:
|
|
3693
3778
|
"""
|
|
@@ -3695,10 +3780,15 @@ class RotatorPartial:
|
|
|
3695
3780
|
|
|
3696
3781
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3697
3782
|
"""
|
|
3783
|
+
|
|
3698
3784
|
def __str__(self) -> str: ...
|
|
3699
3785
|
def __repr__(self) -> str: ...
|
|
3700
3786
|
|
|
3701
3787
|
class RumbleMutator:
|
|
3788
|
+
"""
|
|
3789
|
+
Rumble mutator options.
|
|
3790
|
+
"""
|
|
3791
|
+
|
|
3702
3792
|
Off = RumbleMutator(0)
|
|
3703
3793
|
DefaultRumble = RumbleMutator(1)
|
|
3704
3794
|
Slow = RumbleMutator(2)
|
|
@@ -3713,7 +3803,7 @@ class RumbleMutator:
|
|
|
3713
3803
|
GrapplingOnly = RumbleMutator(11)
|
|
3714
3804
|
HaymakerOnly = RumbleMutator(12)
|
|
3715
3805
|
SpikeRushForce = RumbleMutator(13)
|
|
3716
|
-
|
|
3806
|
+
Rps = RumbleMutator(14)
|
|
3717
3807
|
|
|
3718
3808
|
def __new__(cls, value: int = 0): ...
|
|
3719
3809
|
def __init__(self, value: int = 0):
|
|
@@ -3721,19 +3811,44 @@ class RumbleMutator:
|
|
|
3721
3811
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3722
3812
|
"""
|
|
3723
3813
|
def __int__(self) -> int: ...
|
|
3724
|
-
def __eq__(self, other
|
|
3725
|
-
def __hash__(self) ->
|
|
3814
|
+
def __eq__(self, other) -> bool: ...
|
|
3815
|
+
def __hash__(self) -> int: ...
|
|
3726
3816
|
def __str__(self) -> str: ...
|
|
3727
3817
|
def __repr__(self) -> str: ...
|
|
3728
3818
|
|
|
3729
3819
|
class ScoreInfo:
|
|
3820
|
+
"""
|
|
3821
|
+
A collection of values shown on the scoreboard (and a few more).
|
|
3822
|
+
"""
|
|
3823
|
+
|
|
3730
3824
|
score: int
|
|
3825
|
+
"""
|
|
3826
|
+
The accumulated score, roughly indicating how well a player performs.
|
|
3827
|
+
"""
|
|
3731
3828
|
goals: int
|
|
3829
|
+
"""
|
|
3830
|
+
Number of goals scored.
|
|
3831
|
+
"""
|
|
3732
3832
|
own_goals: int
|
|
3833
|
+
"""
|
|
3834
|
+
Number of own-goals scored.
|
|
3835
|
+
"""
|
|
3733
3836
|
assists: int
|
|
3837
|
+
"""
|
|
3838
|
+
Number of goals assisted.
|
|
3839
|
+
"""
|
|
3734
3840
|
saves: int
|
|
3841
|
+
"""
|
|
3842
|
+
Number of shots saved.
|
|
3843
|
+
"""
|
|
3735
3844
|
shots: int
|
|
3845
|
+
"""
|
|
3846
|
+
Number of shots on opponent goal.
|
|
3847
|
+
"""
|
|
3736
3848
|
demolitions: int
|
|
3849
|
+
"""
|
|
3850
|
+
Number of demolitions made.
|
|
3851
|
+
"""
|
|
3737
3852
|
|
|
3738
3853
|
__match_args__ = (
|
|
3739
3854
|
"score",
|
|
@@ -3765,23 +3880,12 @@ class ScoreInfo:
|
|
|
3765
3880
|
shots: int = 0,
|
|
3766
3881
|
demolitions: int = 0,
|
|
3767
3882
|
): ...
|
|
3768
|
-
def pack(self) -> bytes:
|
|
3769
|
-
"""
|
|
3770
|
-
Serializes this instance into a byte array
|
|
3771
|
-
"""
|
|
3772
|
-
@staticmethod
|
|
3773
|
-
def unpack(data: bytes) -> ScoreInfo:
|
|
3774
|
-
"""
|
|
3775
|
-
Deserializes the data into a new instance
|
|
3776
|
-
|
|
3777
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3778
|
-
"""
|
|
3779
3883
|
def __str__(self) -> str: ...
|
|
3780
3884
|
def __repr__(self) -> str: ...
|
|
3781
3885
|
|
|
3782
|
-
class
|
|
3783
|
-
Default =
|
|
3784
|
-
|
|
3886
|
+
class ScoringRuleMutator:
|
|
3887
|
+
Default = ScoringRuleMutator(0)
|
|
3888
|
+
Disabled = ScoringRuleMutator(1)
|
|
3785
3889
|
|
|
3786
3890
|
def __new__(cls, value: int = 0): ...
|
|
3787
3891
|
def __init__(self, value: int = 0):
|
|
@@ -3789,8 +3893,8 @@ class ScoringRule:
|
|
|
3789
3893
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3790
3894
|
"""
|
|
3791
3895
|
def __int__(self) -> int: ...
|
|
3792
|
-
def __eq__(self, other
|
|
3793
|
-
def __hash__(self) ->
|
|
3896
|
+
def __eq__(self, other) -> bool: ...
|
|
3897
|
+
def __hash__(self) -> int: ...
|
|
3794
3898
|
def __str__(self) -> str: ...
|
|
3795
3899
|
def __repr__(self) -> str: ...
|
|
3796
3900
|
|
|
@@ -3798,6 +3902,7 @@ class ScriptConfiguration:
|
|
|
3798
3902
|
"""
|
|
3799
3903
|
A ScriptConfiguration defines a script of a match.
|
|
3800
3904
|
"""
|
|
3905
|
+
|
|
3801
3906
|
name: str
|
|
3802
3907
|
"""
|
|
3803
3908
|
The name of the script.
|
|
@@ -3851,6 +3956,7 @@ class ScriptConfiguration:
|
|
|
3851
3956
|
"""
|
|
3852
3957
|
Serializes this instance into a byte array
|
|
3853
3958
|
"""
|
|
3959
|
+
|
|
3854
3960
|
@staticmethod
|
|
3855
3961
|
def unpack(data: bytes) -> ScriptConfiguration:
|
|
3856
3962
|
"""
|
|
@@ -3858,10 +3964,15 @@ class ScriptConfiguration:
|
|
|
3858
3964
|
|
|
3859
3965
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3860
3966
|
"""
|
|
3967
|
+
|
|
3861
3968
|
def __str__(self) -> str: ...
|
|
3862
3969
|
def __repr__(self) -> str: ...
|
|
3863
3970
|
|
|
3864
3971
|
class SeriesLengthMutator:
|
|
3972
|
+
"""
|
|
3973
|
+
Series length mutator options.
|
|
3974
|
+
"""
|
|
3975
|
+
|
|
3865
3976
|
Unlimited = SeriesLengthMutator(0)
|
|
3866
3977
|
ThreeGames = SeriesLengthMutator(1)
|
|
3867
3978
|
FiveGames = SeriesLengthMutator(2)
|
|
@@ -3873,8 +3984,8 @@ class SeriesLengthMutator:
|
|
|
3873
3984
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3874
3985
|
"""
|
|
3875
3986
|
def __int__(self) -> int: ...
|
|
3876
|
-
def __eq__(self, other
|
|
3877
|
-
def __hash__(self) ->
|
|
3987
|
+
def __eq__(self, other) -> bool: ...
|
|
3988
|
+
def __hash__(self) -> int: ...
|
|
3878
3989
|
def __str__(self) -> str: ...
|
|
3879
3990
|
def __repr__(self) -> str: ...
|
|
3880
3991
|
|
|
@@ -3885,6 +3996,7 @@ class SetLoadout:
|
|
|
3885
3996
|
If sent after the ready message and if game state setting is enabled, this will respawn the car with the new loadout.
|
|
3886
3997
|
Bots can only set the loadout of their own car(s).
|
|
3887
3998
|
"""
|
|
3999
|
+
|
|
3888
4000
|
index: int
|
|
3889
4001
|
"""
|
|
3890
4002
|
The index of the car to change loadout off.
|
|
@@ -3913,6 +4025,7 @@ class SetLoadout:
|
|
|
3913
4025
|
"""
|
|
3914
4026
|
Serializes this instance into a byte array
|
|
3915
4027
|
"""
|
|
4028
|
+
|
|
3916
4029
|
@staticmethod
|
|
3917
4030
|
def unpack(data: bytes) -> SetLoadout:
|
|
3918
4031
|
"""
|
|
@@ -3920,6 +4033,7 @@ class SetLoadout:
|
|
|
3920
4033
|
|
|
3921
4034
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3922
4035
|
"""
|
|
4036
|
+
|
|
3923
4037
|
def __str__(self) -> str: ...
|
|
3924
4038
|
def __repr__(self) -> str: ...
|
|
3925
4039
|
|
|
@@ -3928,6 +4042,7 @@ class SphereShape:
|
|
|
3928
4042
|
A sphere with diameter.
|
|
3929
4043
|
Used for balls with a spherical shapes.
|
|
3930
4044
|
"""
|
|
4045
|
+
|
|
3931
4046
|
diameter: float
|
|
3932
4047
|
|
|
3933
4048
|
__match_args__ = (
|
|
@@ -3936,16 +4051,17 @@ class SphereShape:
|
|
|
3936
4051
|
|
|
3937
4052
|
def __new__(
|
|
3938
4053
|
cls,
|
|
3939
|
-
diameter: float = 0,
|
|
4054
|
+
diameter: float = 0.0,
|
|
3940
4055
|
): ...
|
|
3941
4056
|
def __init__(
|
|
3942
4057
|
self,
|
|
3943
|
-
diameter: float = 0,
|
|
4058
|
+
diameter: float = 0.0,
|
|
3944
4059
|
): ...
|
|
3945
4060
|
def pack(self) -> bytes:
|
|
3946
4061
|
"""
|
|
3947
4062
|
Serializes this instance into a byte array
|
|
3948
4063
|
"""
|
|
4064
|
+
|
|
3949
4065
|
@staticmethod
|
|
3950
4066
|
def unpack(data: bytes) -> SphereShape:
|
|
3951
4067
|
"""
|
|
@@ -3953,6 +4069,7 @@ class SphereShape:
|
|
|
3953
4069
|
|
|
3954
4070
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
3955
4071
|
"""
|
|
4072
|
+
|
|
3956
4073
|
def __str__(self) -> str: ...
|
|
3957
4074
|
def __repr__(self) -> str: ...
|
|
3958
4075
|
|
|
@@ -3966,8 +4083,8 @@ class StaleBallMutator:
|
|
|
3966
4083
|
:raises ValueError: If the `value` is not a valid enum value
|
|
3967
4084
|
"""
|
|
3968
4085
|
def __int__(self) -> int: ...
|
|
3969
|
-
def __eq__(self, other
|
|
3970
|
-
def __hash__(self) ->
|
|
4086
|
+
def __eq__(self, other) -> bool: ...
|
|
4087
|
+
def __hash__(self) -> int: ...
|
|
3971
4088
|
def __str__(self) -> str: ...
|
|
3972
4089
|
def __repr__(self) -> str: ...
|
|
3973
4090
|
|
|
@@ -3975,6 +4092,7 @@ class StartCommand:
|
|
|
3975
4092
|
"""
|
|
3976
4093
|
A client message to start a match using a path to a match config file.
|
|
3977
4094
|
"""
|
|
4095
|
+
|
|
3978
4096
|
config_path: str
|
|
3979
4097
|
|
|
3980
4098
|
__match_args__ = (
|
|
@@ -3993,6 +4111,7 @@ class StartCommand:
|
|
|
3993
4111
|
"""
|
|
3994
4112
|
Serializes this instance into a byte array
|
|
3995
4113
|
"""
|
|
4114
|
+
|
|
3996
4115
|
@staticmethod
|
|
3997
4116
|
def unpack(data: bytes) -> StartCommand:
|
|
3998
4117
|
"""
|
|
@@ -4000,6 +4119,7 @@ class StartCommand:
|
|
|
4000
4119
|
|
|
4001
4120
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4002
4121
|
"""
|
|
4122
|
+
|
|
4003
4123
|
def __str__(self) -> str: ...
|
|
4004
4124
|
def __repr__(self) -> str: ...
|
|
4005
4125
|
|
|
@@ -4007,6 +4127,7 @@ class StopCommand:
|
|
|
4007
4127
|
"""
|
|
4008
4128
|
A client message to stop a match and optionally the RLBot server too.
|
|
4009
4129
|
"""
|
|
4130
|
+
|
|
4010
4131
|
shutdown_server: bool
|
|
4011
4132
|
|
|
4012
4133
|
__match_args__ = (
|
|
@@ -4025,6 +4146,7 @@ class StopCommand:
|
|
|
4025
4146
|
"""
|
|
4026
4147
|
Serializes this instance into a byte array
|
|
4027
4148
|
"""
|
|
4149
|
+
|
|
4028
4150
|
@staticmethod
|
|
4029
4151
|
def unpack(data: bytes) -> StopCommand:
|
|
4030
4152
|
"""
|
|
@@ -4032,6 +4154,7 @@ class StopCommand:
|
|
|
4032
4154
|
|
|
4033
4155
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4034
4156
|
"""
|
|
4157
|
+
|
|
4035
4158
|
def __str__(self) -> str: ...
|
|
4036
4159
|
def __repr__(self) -> str: ...
|
|
4037
4160
|
|
|
@@ -4040,6 +4163,7 @@ class String2D:
|
|
|
4040
4163
|
A RenderMessage for text in 2D space.
|
|
4041
4164
|
Note that the position is given in screen-space coordinates.
|
|
4042
4165
|
"""
|
|
4166
|
+
|
|
4043
4167
|
text: str
|
|
4044
4168
|
"""
|
|
4045
4169
|
The text to be displayed.
|
|
@@ -4088,9 +4212,9 @@ class String2D:
|
|
|
4088
4212
|
def __new__(
|
|
4089
4213
|
cls,
|
|
4090
4214
|
text: str = "",
|
|
4091
|
-
x: float = 0,
|
|
4092
|
-
y: float = 0,
|
|
4093
|
-
scale: float = 0,
|
|
4215
|
+
x: float = 0.0,
|
|
4216
|
+
y: float = 0.0,
|
|
4217
|
+
scale: float = 0.0,
|
|
4094
4218
|
foreground: Color = Color(),
|
|
4095
4219
|
background: Color = Color(),
|
|
4096
4220
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4099,9 +4223,9 @@ class String2D:
|
|
|
4099
4223
|
def __init__(
|
|
4100
4224
|
self,
|
|
4101
4225
|
text: str = "",
|
|
4102
|
-
x: float = 0,
|
|
4103
|
-
y: float = 0,
|
|
4104
|
-
scale: float = 0,
|
|
4226
|
+
x: float = 0.0,
|
|
4227
|
+
y: float = 0.0,
|
|
4228
|
+
scale: float = 0.0,
|
|
4105
4229
|
foreground: Color = Color(),
|
|
4106
4230
|
background: Color = Color(),
|
|
4107
4231
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4111,6 +4235,7 @@ class String2D:
|
|
|
4111
4235
|
"""
|
|
4112
4236
|
Serializes this instance into a byte array
|
|
4113
4237
|
"""
|
|
4238
|
+
|
|
4114
4239
|
@staticmethod
|
|
4115
4240
|
def unpack(data: bytes) -> String2D:
|
|
4116
4241
|
"""
|
|
@@ -4118,6 +4243,7 @@ class String2D:
|
|
|
4118
4243
|
|
|
4119
4244
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4120
4245
|
"""
|
|
4246
|
+
|
|
4121
4247
|
def __str__(self) -> str: ...
|
|
4122
4248
|
def __repr__(self) -> str: ...
|
|
4123
4249
|
|
|
@@ -4125,6 +4251,7 @@ class String3D:
|
|
|
4125
4251
|
"""
|
|
4126
4252
|
A RenderMessage for text in 3D space.
|
|
4127
4253
|
"""
|
|
4254
|
+
|
|
4128
4255
|
text: str
|
|
4129
4256
|
"""
|
|
4130
4257
|
The text to be displayed.
|
|
@@ -4169,7 +4296,7 @@ class String3D:
|
|
|
4169
4296
|
cls,
|
|
4170
4297
|
text: str = "",
|
|
4171
4298
|
anchor: RenderAnchor = RenderAnchor(),
|
|
4172
|
-
scale: float = 0,
|
|
4299
|
+
scale: float = 0.0,
|
|
4173
4300
|
foreground: Color = Color(),
|
|
4174
4301
|
background: Color = Color(),
|
|
4175
4302
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4179,7 +4306,7 @@ class String3D:
|
|
|
4179
4306
|
self,
|
|
4180
4307
|
text: str = "",
|
|
4181
4308
|
anchor: RenderAnchor = RenderAnchor(),
|
|
4182
|
-
scale: float = 0,
|
|
4309
|
+
scale: float = 0.0,
|
|
4183
4310
|
foreground: Color = Color(),
|
|
4184
4311
|
background: Color = Color(),
|
|
4185
4312
|
h_align: TextHAlign = TextHAlign(),
|
|
@@ -4189,6 +4316,7 @@ class String3D:
|
|
|
4189
4316
|
"""
|
|
4190
4317
|
Serializes this instance into a byte array
|
|
4191
4318
|
"""
|
|
4319
|
+
|
|
4192
4320
|
@staticmethod
|
|
4193
4321
|
def unpack(data: bytes) -> String3D:
|
|
4194
4322
|
"""
|
|
@@ -4196,15 +4324,24 @@ class String3D:
|
|
|
4196
4324
|
|
|
4197
4325
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4198
4326
|
"""
|
|
4327
|
+
|
|
4199
4328
|
def __str__(self) -> str: ...
|
|
4200
4329
|
def __repr__(self) -> str: ...
|
|
4201
4330
|
|
|
4202
4331
|
class TeamInfo:
|
|
4332
|
+
"""
|
|
4333
|
+
Information about teams. Currently only the number of goals scored.
|
|
4334
|
+
"""
|
|
4335
|
+
|
|
4203
4336
|
team_index: int
|
|
4337
|
+
"""
|
|
4338
|
+
The index of the team. Blue is 0, orange is 1.
|
|
4339
|
+
"""
|
|
4204
4340
|
score: int
|
|
4205
4341
|
"""
|
|
4206
4342
|
Number of goals scored.
|
|
4207
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.
|
|
4208
4345
|
"""
|
|
4209
4346
|
|
|
4210
4347
|
__match_args__ = (
|
|
@@ -4222,17 +4359,6 @@ class TeamInfo:
|
|
|
4222
4359
|
team_index: int = 0,
|
|
4223
4360
|
score: int = 0,
|
|
4224
4361
|
): ...
|
|
4225
|
-
def pack(self) -> bytes:
|
|
4226
|
-
"""
|
|
4227
|
-
Serializes this instance into a byte array
|
|
4228
|
-
"""
|
|
4229
|
-
@staticmethod
|
|
4230
|
-
def unpack(data: bytes) -> TeamInfo:
|
|
4231
|
-
"""
|
|
4232
|
-
Deserializes the data into a new instance
|
|
4233
|
-
|
|
4234
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4235
|
-
"""
|
|
4236
4362
|
def __str__(self) -> str: ...
|
|
4237
4363
|
def __repr__(self) -> str: ...
|
|
4238
4364
|
|
|
@@ -4246,12 +4372,16 @@ class TerritoryMutator:
|
|
|
4246
4372
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4247
4373
|
"""
|
|
4248
4374
|
def __int__(self) -> int: ...
|
|
4249
|
-
def __eq__(self, other
|
|
4250
|
-
def __hash__(self) ->
|
|
4375
|
+
def __eq__(self, other) -> bool: ...
|
|
4376
|
+
def __hash__(self) -> int: ...
|
|
4251
4377
|
def __str__(self) -> str: ...
|
|
4252
4378
|
def __repr__(self) -> str: ...
|
|
4253
4379
|
|
|
4254
4380
|
class TextHAlign:
|
|
4381
|
+
"""
|
|
4382
|
+
Horizontal text alignment.
|
|
4383
|
+
"""
|
|
4384
|
+
|
|
4255
4385
|
Left = TextHAlign(0)
|
|
4256
4386
|
Center = TextHAlign(1)
|
|
4257
4387
|
Right = TextHAlign(2)
|
|
@@ -4262,12 +4392,16 @@ class TextHAlign:
|
|
|
4262
4392
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4263
4393
|
"""
|
|
4264
4394
|
def __int__(self) -> int: ...
|
|
4265
|
-
def __eq__(self, other
|
|
4266
|
-
def __hash__(self) ->
|
|
4395
|
+
def __eq__(self, other) -> bool: ...
|
|
4396
|
+
def __hash__(self) -> int: ...
|
|
4267
4397
|
def __str__(self) -> str: ...
|
|
4268
4398
|
def __repr__(self) -> str: ...
|
|
4269
4399
|
|
|
4270
4400
|
class TextVAlign:
|
|
4401
|
+
"""
|
|
4402
|
+
Vertical text alignment.
|
|
4403
|
+
"""
|
|
4404
|
+
|
|
4271
4405
|
Top = TextVAlign(0)
|
|
4272
4406
|
Center = TextVAlign(1)
|
|
4273
4407
|
Bottom = TextVAlign(2)
|
|
@@ -4278,8 +4412,8 @@ class TextVAlign:
|
|
|
4278
4412
|
:raises ValueError: If the `value` is not a valid enum value
|
|
4279
4413
|
"""
|
|
4280
4414
|
def __int__(self) -> int: ...
|
|
4281
|
-
def __eq__(self, other
|
|
4282
|
-
def __hash__(self) ->
|
|
4415
|
+
def __eq__(self, other) -> bool: ...
|
|
4416
|
+
def __hash__(self) -> int: ...
|
|
4283
4417
|
def __str__(self) -> str: ...
|
|
4284
4418
|
def __repr__(self) -> str: ...
|
|
4285
4419
|
|
|
@@ -4287,6 +4421,7 @@ class Touch:
|
|
|
4287
4421
|
"""
|
|
4288
4422
|
Information about a ball touch.
|
|
4289
4423
|
"""
|
|
4424
|
+
|
|
4290
4425
|
game_seconds: float
|
|
4291
4426
|
"""
|
|
4292
4427
|
Seconds that had elapsed in the game when the touch occurred.
|
|
@@ -4313,14 +4448,14 @@ class Touch:
|
|
|
4313
4448
|
|
|
4314
4449
|
def __new__(
|
|
4315
4450
|
cls,
|
|
4316
|
-
game_seconds: float = 0,
|
|
4451
|
+
game_seconds: float = 0.0,
|
|
4317
4452
|
location: Vector3 = Vector3(),
|
|
4318
4453
|
normal: Vector3 = Vector3(),
|
|
4319
4454
|
ball_index: int = 0,
|
|
4320
4455
|
): ...
|
|
4321
4456
|
def __init__(
|
|
4322
4457
|
self,
|
|
4323
|
-
game_seconds: float = 0,
|
|
4458
|
+
game_seconds: float = 0.0,
|
|
4324
4459
|
location: Vector3 = Vector3(),
|
|
4325
4460
|
normal: Vector3 = Vector3(),
|
|
4326
4461
|
ball_index: int = 0,
|
|
@@ -4329,6 +4464,7 @@ class Touch:
|
|
|
4329
4464
|
"""
|
|
4330
4465
|
Serializes this instance into a byte array
|
|
4331
4466
|
"""
|
|
4467
|
+
|
|
4332
4468
|
@staticmethod
|
|
4333
4469
|
def unpack(data: bytes) -> Touch:
|
|
4334
4470
|
"""
|
|
@@ -4336,10 +4472,15 @@ class Touch:
|
|
|
4336
4472
|
|
|
4337
4473
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4338
4474
|
"""
|
|
4475
|
+
|
|
4339
4476
|
def __str__(self) -> str: ...
|
|
4340
4477
|
def __repr__(self) -> str: ...
|
|
4341
4478
|
|
|
4342
4479
|
class Vector2:
|
|
4480
|
+
"""
|
|
4481
|
+
A vector with an x and y component.
|
|
4482
|
+
"""
|
|
4483
|
+
|
|
4343
4484
|
x: float
|
|
4344
4485
|
y: float
|
|
4345
4486
|
|
|
@@ -4350,29 +4491,23 @@ class Vector2:
|
|
|
4350
4491
|
|
|
4351
4492
|
def __new__(
|
|
4352
4493
|
cls,
|
|
4353
|
-
x: float = 0,
|
|
4354
|
-
y: float = 0,
|
|
4494
|
+
x: float = 0.0,
|
|
4495
|
+
y: float = 0.0,
|
|
4355
4496
|
): ...
|
|
4356
4497
|
def __init__(
|
|
4357
4498
|
self,
|
|
4358
|
-
x: float = 0,
|
|
4359
|
-
y: float = 0,
|
|
4499
|
+
x: float = 0.0,
|
|
4500
|
+
y: float = 0.0,
|
|
4360
4501
|
): ...
|
|
4361
|
-
def pack(self) -> bytes:
|
|
4362
|
-
"""
|
|
4363
|
-
Serializes this instance into a byte array
|
|
4364
|
-
"""
|
|
4365
|
-
@staticmethod
|
|
4366
|
-
def unpack(data: bytes) -> Vector2:
|
|
4367
|
-
"""
|
|
4368
|
-
Deserializes the data into a new instance
|
|
4369
|
-
|
|
4370
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4371
|
-
"""
|
|
4372
4502
|
def __str__(self) -> str: ...
|
|
4373
4503
|
def __repr__(self) -> str: ...
|
|
4374
4504
|
|
|
4375
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
|
+
|
|
4376
4511
|
x: float
|
|
4377
4512
|
y: float
|
|
4378
4513
|
z: float
|
|
@@ -4385,27 +4520,16 @@ class Vector3:
|
|
|
4385
4520
|
|
|
4386
4521
|
def __new__(
|
|
4387
4522
|
cls,
|
|
4388
|
-
x: float = 0,
|
|
4389
|
-
y: float = 0,
|
|
4390
|
-
z: float = 0,
|
|
4523
|
+
x: float = 0.0,
|
|
4524
|
+
y: float = 0.0,
|
|
4525
|
+
z: float = 0.0,
|
|
4391
4526
|
): ...
|
|
4392
4527
|
def __init__(
|
|
4393
4528
|
self,
|
|
4394
|
-
x: float = 0,
|
|
4395
|
-
y: float = 0,
|
|
4396
|
-
z: float = 0,
|
|
4529
|
+
x: float = 0.0,
|
|
4530
|
+
y: float = 0.0,
|
|
4531
|
+
z: float = 0.0,
|
|
4397
4532
|
): ...
|
|
4398
|
-
def pack(self) -> bytes:
|
|
4399
|
-
"""
|
|
4400
|
-
Serializes this instance into a byte array
|
|
4401
|
-
"""
|
|
4402
|
-
@staticmethod
|
|
4403
|
-
def unpack(data: bytes) -> Vector3:
|
|
4404
|
-
"""
|
|
4405
|
-
Deserializes the data into a new instance
|
|
4406
|
-
|
|
4407
|
-
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4408
|
-
"""
|
|
4409
4533
|
def __str__(self) -> str: ...
|
|
4410
4534
|
def __repr__(self) -> str: ...
|
|
4411
4535
|
|
|
@@ -4415,9 +4539,10 @@ class Vector3Partial:
|
|
|
4415
4539
|
Used for game state setting to define which part of a vector should change.
|
|
4416
4540
|
If a component is null, then the component will keep its current value.
|
|
4417
4541
|
"""
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4542
|
+
|
|
4543
|
+
x: float | None
|
|
4544
|
+
y: float | None
|
|
4545
|
+
z: float | None
|
|
4421
4546
|
|
|
4422
4547
|
__match_args__ = (
|
|
4423
4548
|
"x",
|
|
@@ -4427,20 +4552,21 @@ class Vector3Partial:
|
|
|
4427
4552
|
|
|
4428
4553
|
def __new__(
|
|
4429
4554
|
cls,
|
|
4430
|
-
x:
|
|
4431
|
-
y:
|
|
4432
|
-
z:
|
|
4555
|
+
x: float | None = None,
|
|
4556
|
+
y: float | None = None,
|
|
4557
|
+
z: float | None = None,
|
|
4433
4558
|
): ...
|
|
4434
4559
|
def __init__(
|
|
4435
4560
|
self,
|
|
4436
|
-
x:
|
|
4437
|
-
y:
|
|
4438
|
-
z:
|
|
4561
|
+
x: float | None = None,
|
|
4562
|
+
y: float | None = None,
|
|
4563
|
+
z: float | None = None,
|
|
4439
4564
|
): ...
|
|
4440
4565
|
def pack(self) -> bytes:
|
|
4441
4566
|
"""
|
|
4442
4567
|
Serializes this instance into a byte array
|
|
4443
4568
|
"""
|
|
4569
|
+
|
|
4444
4570
|
@staticmethod
|
|
4445
4571
|
def unpack(data: bytes) -> Vector3Partial:
|
|
4446
4572
|
"""
|
|
@@ -4448,5 +4574,6 @@ class Vector3Partial:
|
|
|
4448
4574
|
|
|
4449
4575
|
:raises InvalidFlatbuffer: If the `data` is invalid for this type
|
|
4450
4576
|
"""
|
|
4577
|
+
|
|
4451
4578
|
def __str__(self) -> str: ...
|
|
4452
4579
|
def __repr__(self) -> str: ...
|