rlbot-flatbuffers 0.14.7__tar.gz → 0.16.0__tar.gz

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.
Files changed (24) hide show
  1. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/Cargo.lock +1 -1
  2. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/Cargo.toml +1 -1
  3. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/PKG-INFO +1 -1
  4. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/structs.rs +4 -1
  5. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/gamedata.fbs +2 -2
  6. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/matchconfig.fbs +18 -16
  7. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/rendering.fbs +8 -2
  8. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/LICENSE +0 -0
  9. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/README.md +0 -0
  10. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/class_inject.rs +0 -0
  11. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/enums.rs +0 -0
  12. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/generator.rs +0 -0
  13. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/main.rs +0 -0
  14. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/pyi.rs +0 -0
  15. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/codegen/unions.rs +0 -0
  16. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/FLATBUFFERS-LICENSE +0 -0
  17. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/README.md +0 -0
  18. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/comms.fbs +0 -0
  19. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/flatc +0 -0
  20. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/flatc.exe +0 -0
  21. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/gamestatemanip.fbs +0 -0
  22. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/flatbuffers-schema/rlbot.fbs +0 -0
  23. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/pyproject.toml +0 -0
  24. {rlbot_flatbuffers-0.14.7 → rlbot_flatbuffers-0.16.0}/src/lib.rs +0 -0
@@ -279,7 +279,7 @@ dependencies = [
279
279
 
280
280
  [[package]]
281
281
  name = "rlbot_flatbuffers"
282
- version = "0.14.7"
282
+ version = "0.16.0"
283
283
  dependencies = [
284
284
  "flatbuffers",
285
285
  "get-size",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rlbot_flatbuffers"
3
- version = "0.14.7"
3
+ version = "0.16.0"
4
4
  edition = "2024"
5
5
  description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
6
6
  repository = "https://github.com/VirxEC/rlbot_flatbuffers_py"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlbot_flatbuffers
3
- Version: 0.14.7
3
+ Version: 0.16.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -558,7 +558,10 @@ impl StructBindGenerator {
558
558
  if *is_optional {
559
559
  write_fmt!(self, " self.{variable_name}");
560
560
  write_str!(self, " .as_ref()");
561
- write_str!(self, " .map_or_else(crate::none_str, |i| i.borrow(py).inner_repr(py)),");
561
+ write_str!(
562
+ self,
563
+ " .map_or_else(crate::none_str, |i| i.borrow(py).inner_repr(py)),"
564
+ );
562
565
  } else {
563
566
  write_fmt!(self, " self.{variable_name}.borrow(py).inner_repr(py),");
564
567
  }
@@ -176,8 +176,8 @@ table PlayerInfo {
176
176
  name:string (required);
177
177
  /// The team of the player.
178
178
  team:uint;
179
- /// The current boost.
180
- boost:uint;
179
+ /// The current boost, from 0 to 100.
180
+ boost:float;
181
181
  /// The spawn id of the player.
182
182
  /// This value is mostly used internally to keep track of participants in the match.
183
183
  /// The spawn id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.
@@ -118,7 +118,7 @@ enum MatchLengthMutator : ubyte {
118
118
 
119
119
  /// Max score mutator options.
120
120
  enum MaxScoreMutator : ubyte {
121
- Default,
121
+ Unlimited,
122
122
  OneGoal,
123
123
  ThreeGoals,
124
124
  FiveGoals,
@@ -132,8 +132,7 @@ enum MaxScoreMutator : ubyte {
132
132
  SeventyGoals,
133
133
  EightyGoals,
134
134
  NinetyGoals,
135
- HundredGoals,
136
- Unlimited
135
+ HundredGoals
137
136
  }
138
137
 
139
138
  /// Multi ball mutator options.
@@ -239,7 +238,7 @@ enum BoostAmountMutator : ubyte {
239
238
 
240
239
  /// Rumble mutator options.
241
240
  enum RumbleMutator : ubyte {
242
- NoRumble, // Cannot be named None because that breaks Python.
241
+ Off,
243
242
  DefaultRumble,
244
243
  Slow,
245
244
  Civilized,
@@ -293,7 +292,7 @@ enum RespawnTimeMutator : ubyte {
293
292
 
294
293
  /// Max time mutator options.
295
294
  enum MaxTimeMutator : ubyte {
296
- Default,
295
+ Unlimited,
297
296
  ElevenMinutes
298
297
  }
299
298
 
@@ -311,12 +310,12 @@ enum AudioMutator : ubyte {
311
310
  }
312
311
 
313
312
  enum TerritoryMutator : ubyte {
314
- Default,
313
+ Off,
315
314
  Territory
316
315
  }
317
316
 
318
317
  enum StaleBallMutator : ubyte {
319
- Default,
318
+ Unlimited,
320
319
  ThirtySeconds
321
320
  }
322
321
 
@@ -331,28 +330,28 @@ enum JumpMutator : ubyte {
331
330
  }
332
331
 
333
332
  enum DodgeTimerMutator : ubyte {
334
- Default,
333
+ OnePointTwentyFiveSeconds,
335
334
  TwoSeconds,
336
335
  ThreeSeconds,
337
336
  Unlimited
338
337
  }
339
338
 
340
339
  enum PossessionScoreMutator : ubyte {
341
- Default,
340
+ Off,
342
341
  OneSecond,
343
342
  TwoSeconds,
344
343
  ThreeSeconds
345
344
  }
346
345
 
347
346
  enum DemolishScoreMutator : ubyte {
348
- Default,
347
+ Zero,
349
348
  One,
350
349
  Two,
351
350
  Three
352
351
  }
353
352
 
354
353
  enum NormalGoalScoreMutator : ubyte {
355
- Default,
354
+ One,
356
355
  Zero,
357
356
  Two,
358
357
  Three,
@@ -361,7 +360,7 @@ enum NormalGoalScoreMutator : ubyte {
361
360
  }
362
361
 
363
362
  enum AerialGoalScoreMutator : ubyte {
364
- Default,
363
+ One,
365
364
  Zero,
366
365
  Two,
367
366
  Three,
@@ -370,7 +369,7 @@ enum AerialGoalScoreMutator : ubyte {
370
369
  }
371
370
 
372
371
  enum AssistGoalScoreMutator : ubyte {
373
- Default,
372
+ Zero,
374
373
  One,
375
374
  Two,
376
375
  Three
@@ -498,8 +497,11 @@ table MatchConfiguration {
498
497
  /// Additional configuration for the launching method.
499
498
  /// See launcher.
500
499
  launcher_arg:string (required);
501
- /// If true, RLBot will start the bots with a non-empty run command in their player configuration.
502
- auto_start_bots:bool;
500
+ /// If true, RLBot will start the bots and scripts that has a non-empty run command in their player/script configuration.
501
+ auto_start_agents:bool=true;
502
+ /// If true, RLBot will start the match only once all bots and script have connected and are ready.
503
+ /// If false, the match will start as soon as the map loads.
504
+ wait_for_agents:bool=true;
503
505
  /// The name of a upk file, like UtopiaStadium_P, which should be loaded.
504
506
  /// On Steam version of Rocket League this can be used to load custom map files,
505
507
  /// but on Epic version it only works on the Psyonix maps.
@@ -524,7 +526,7 @@ table MatchConfiguration {
524
526
  /// Whether debug rendering is displayed.
525
527
  enable_rendering:bool;
526
528
  /// Whether clients are allowed to manipulate the game state, e.g. teleporting cars and ball.
527
- enable_state_setting:bool;
529
+ enable_state_setting:bool=true;
528
530
  /// Whether the match replay should be saved.
529
531
  auto_save_replay:bool;
530
532
  /// If set to true, a free play match is launched instead of an exhibition match.
@@ -127,8 +127,10 @@ table Rect2D {
127
127
  height:float;
128
128
  /// Color of the rectangle.
129
129
  color:Color (required);
130
- /// Whether the rectangle centered at (x,y). Otherwise, (x,y) is the top left of the rectangle.
131
- centered:bool;
130
+ /// The horizontal alignment of the rectangle.
131
+ h_align:TextHAlign;
132
+ /// The vertical alignment of the rectangle.
133
+ v_align:TextVAlign;
132
134
  }
133
135
 
134
136
  /// A RenderMessage for a rectangle in 3D space.
@@ -142,6 +144,10 @@ table Rect3D {
142
144
  height:float;
143
145
  /// The color of the rectangle.
144
146
  color:Color (required);
147
+ /// The horizontal alignment of the anchor in the rectangle.
148
+ h_align:TextHAlign;
149
+ /// The vertical alignment of the anchor in the rectangle.
150
+ v_align:TextVAlign;
145
151
  }
146
152
 
147
153
  /// The different types of RenderMessages.