rlbot-flatbuffers 0.14.6__tar.gz → 0.15.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.6 → rlbot_flatbuffers-0.15.0}/Cargo.lock +3 -3
  2. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/Cargo.toml +1 -1
  3. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/PKG-INFO +1 -1
  4. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/structs.rs +4 -1
  5. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/gamedata.fbs +2 -2
  6. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/matchconfig.fbs +127 -9
  7. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/rendering.fbs +8 -2
  8. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/src/lib.rs +11 -0
  9. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/LICENSE +0 -0
  10. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/README.md +0 -0
  11. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/class_inject.rs +0 -0
  12. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/enums.rs +0 -0
  13. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/generator.rs +0 -0
  14. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/main.rs +0 -0
  15. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/pyi.rs +0 -0
  16. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/codegen/unions.rs +0 -0
  17. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/FLATBUFFERS-LICENSE +0 -0
  18. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/README.md +0 -0
  19. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/comms.fbs +0 -0
  20. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/flatc +0 -0
  21. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/flatc.exe +0 -0
  22. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/gamestatemanip.fbs +0 -0
  23. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/flatbuffers-schema/rlbot.fbs +0 -0
  24. {rlbot_flatbuffers-0.14.6 → rlbot_flatbuffers-0.15.0}/pyproject.toml +0 -0
@@ -153,9 +153,9 @@ dependencies = [
153
153
 
154
154
  [[package]]
155
155
  name = "once_cell"
156
- version = "1.21.1"
156
+ version = "1.21.3"
157
157
  source = "registry+https://github.com/rust-lang/crates.io-index"
158
- checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc"
158
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
159
159
 
160
160
  [[package]]
161
161
  name = "portable-atomic"
@@ -279,7 +279,7 @@ dependencies = [
279
279
 
280
280
  [[package]]
281
281
  name = "rlbot_flatbuffers"
282
- version = "0.14.6"
282
+ version = "0.15.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.6"
3
+ version = "0.15.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.6
3
+ Version: 0.15.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,12 +118,21 @@ 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,
125
125
  SevenGoals,
126
- Unlimited
126
+ TenGoals,
127
+ TwentyGoals,
128
+ ThirtyGoals,
129
+ FortyGoals,
130
+ FiftyGoals,
131
+ SixtyGoals,
132
+ SeventyGoals,
133
+ EightyGoals,
134
+ NinetyGoals,
135
+ HundredGoals
127
136
  }
128
137
 
129
138
  /// Multi ball mutator options.
@@ -174,7 +183,11 @@ enum BallTypeMutator : ubyte {
174
183
  Anniversary,
175
184
  Haunted,
176
185
  Ekin,
177
- SpookyCube
186
+ SpookyCube,
187
+ Egg,
188
+ PlayerSeeking,
189
+ Dropshot,
190
+ ScoreAbsorb
178
191
  }
179
192
 
180
193
  /// Ball weight mutator options.
@@ -203,7 +216,15 @@ enum BallBouncinessMutator : ubyte {
203
216
  Low,
204
217
  High,
205
218
  SuperHigh,
206
- LowishBounciness,
219
+ Lowish,
220
+ }
221
+
222
+ /// Ball gravity mutator options.
223
+ enum BallGravityMutator: ubyte {
224
+ Default,
225
+ Low,
226
+ High,
227
+ SuperHigh
207
228
  }
208
229
 
209
230
  /// Boost amount mutator options.
@@ -217,7 +238,7 @@ enum BoostAmountMutator : ubyte {
217
238
 
218
239
  /// Rumble mutator options.
219
240
  enum RumbleMutator : ubyte {
220
- NoRumble, // Cannot be named None because that breaks Python.
241
+ Off,
221
242
  DefaultRumble,
222
243
  Slow,
223
244
  Civilized,
@@ -227,7 +248,9 @@ enum RumbleMutator : ubyte {
227
248
  SpikeRush,
228
249
  HauntedBallBeam,
229
250
  Tactical,
230
- BatmanRumble
251
+ BatmanRumble,
252
+ GrapplingOnly,
253
+ HaymakerOnly,
231
254
  }
232
255
 
233
256
  /// Boost strength mutator options.
@@ -254,7 +277,9 @@ enum DemolishMutator : ubyte {
254
277
  Disabled,
255
278
  FriendlyFire,
256
279
  OnContact,
257
- OnContactFF
280
+ OnContactFF,
281
+ OnBallContact,
282
+ OnBallContactFF
258
283
  }
259
284
 
260
285
  /// Respawn time mutator options.
@@ -267,7 +292,7 @@ enum RespawnTimeMutator : ubyte {
267
292
 
268
293
  /// Max time mutator options.
269
294
  enum MaxTimeMutator : ubyte {
270
- Default,
295
+ Unlimited,
271
296
  ElevenMinutes
272
297
  }
273
298
 
@@ -284,6 +309,77 @@ enum AudioMutator : ubyte {
284
309
  Haunted
285
310
  }
286
311
 
312
+ enum TerritoryMutator : ubyte {
313
+ Off,
314
+ Territory
315
+ }
316
+
317
+ enum StaleBallMutator : ubyte {
318
+ Unlimited,
319
+ ThirtySeconds
320
+ }
321
+
322
+ enum JumpMutator : ubyte {
323
+ Default,
324
+ Grounded,
325
+ Two,
326
+ Three,
327
+ Four,
328
+ Unlimited,
329
+ NoJumps
330
+ }
331
+
332
+ enum DodgeTimerMutator : ubyte {
333
+ OnePointTwentyFiveSeconds,
334
+ TwoSeconds,
335
+ ThreeSeconds,
336
+ Unlimited
337
+ }
338
+
339
+ enum PossessionScoreMutator : ubyte {
340
+ Off,
341
+ OneSecond,
342
+ TwoSeconds,
343
+ ThreeSeconds
344
+ }
345
+
346
+ enum DemolishScoreMutator : ubyte {
347
+ Zero,
348
+ One,
349
+ Two,
350
+ Three
351
+ }
352
+
353
+ enum NormalGoalScoreMutator : ubyte {
354
+ One,
355
+ Zero,
356
+ Two,
357
+ Three,
358
+ Five,
359
+ Ten
360
+ }
361
+
362
+ enum AerialGoalScoreMutator : ubyte {
363
+ One,
364
+ Zero,
365
+ Two,
366
+ Three,
367
+ Five,
368
+ Ten
369
+ }
370
+
371
+ enum AssistGoalScoreMutator : ubyte {
372
+ Zero,
373
+ One,
374
+ Two,
375
+ Three
376
+ }
377
+
378
+ enum InputRestrictionMutator : ubyte {
379
+ Default,
380
+ Backwards
381
+ }
382
+
287
383
  /// All mutators options.
288
384
  table MutatorSettings {
289
385
  /// Duration of the match.
@@ -294,7 +390,7 @@ table MutatorSettings {
294
390
  multi_ball:MultiBallMutator;
295
391
  /// The overtime rules and tiebreaker.
296
392
  overtime:OvertimeMutator;
297
- /// The series length (unsupported).
393
+ /// The series length.
298
394
  series_length:SeriesLengthMutator;
299
395
  /// A game speed multiplier.
300
396
  game_speed:GameSpeedMutator;
@@ -327,6 +423,28 @@ table MutatorSettings {
327
423
  game_event:GameEventMutator;
328
424
  /// Additional audio options for custom modes.
329
425
  audio:AudioMutator;
426
+ /// Ball gravity.
427
+ ball_gravity:BallGravityMutator;
428
+ /// Territory mutator.
429
+ territory:TerritoryMutator;
430
+ /// Stale ball mutator.
431
+ stale_ball:StaleBallMutator;
432
+ /// Jumps mutator.
433
+ jump:JumpMutator;
434
+ /// Dodge timer mutator.
435
+ dodge_timer:DodgeTimerMutator;
436
+ /// Possession score mutator.
437
+ possession_score:PossessionScoreMutator;
438
+ /// Demolish score mutator.
439
+ demolish_score:DemolishScoreMutator;
440
+ /// Normal goal score mutator.
441
+ normal_goal_score:NormalGoalScoreMutator;
442
+ /// Aerial goal score mutator.
443
+ aerial_goal_score:AerialGoalScoreMutator;
444
+ /// Assist goal score mutator.
445
+ assist_goal_score:AssistGoalScoreMutator;
446
+ /// Player input restriction mutator.
447
+ input_restriction:InputRestrictionMutator;
330
448
  }
331
449
 
332
450
  /// Possible behaviours when a match is started while another match is in progress.
@@ -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.
@@ -209,10 +209,13 @@ pynamedmodule! {
209
209
  doc: "rlbot_flatbuffers is a Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers.",
210
210
  name: rlbot_flatbuffers,
211
211
  classes: [
212
+ AerialGoalScoreMutator,
212
213
  AirState,
214
+ AssistGoalScoreMutator,
213
215
  AudioMutator,
214
216
  BallAnchor,
215
217
  BallBouncinessMutator,
218
+ BallGravityMutator,
216
219
  BallInfo,
217
220
  BallMaxSpeedMutator,
218
221
  BallPrediction,
@@ -236,11 +239,13 @@ pynamedmodule! {
236
239
  CustomBot,
237
240
  CylinderShape,
238
241
  DemolishMutator,
242
+ DemolishScoreMutator,
239
243
  DesiredBallState,
240
244
  DesiredCarState,
241
245
  DesiredGameState,
242
246
  DesiredMatchInfo,
243
247
  DesiredPhysics,
248
+ DodgeTimerMutator,
244
249
  ExistingMatchBehavior,
245
250
  FieldInfo,
246
251
  Float,
@@ -251,6 +256,8 @@ pynamedmodule! {
251
256
  GoalInfo,
252
257
  GravityMutator,
253
258
  Human,
259
+ InputRestrictionMutator,
260
+ JumpMutator,
254
261
  Launcher,
255
262
  Line3D,
256
263
  LoadoutPaint,
@@ -263,6 +270,7 @@ pynamedmodule! {
263
270
  MaxTimeMutator,
264
271
  MultiBallMutator,
265
272
  MutatorSettings,
273
+ NormalGoalScoreMutator,
266
274
  OvertimeMutator,
267
275
  PartyMember,
268
276
  Physics,
@@ -272,6 +280,7 @@ pynamedmodule! {
272
280
  PlayerInput,
273
281
  PlayerLoadout,
274
282
  PolyLine3D,
283
+ PossessionScoreMutator,
275
284
  PredictionSlice,
276
285
  Psyonix,
277
286
  PsyonixSkill,
@@ -292,11 +301,13 @@ pynamedmodule! {
292
301
  SeriesLengthMutator,
293
302
  SetLoadout,
294
303
  SphereShape,
304
+ StaleBallMutator,
295
305
  StartCommand,
296
306
  StopCommand,
297
307
  String2D,
298
308
  String3D,
299
309
  TeamInfo,
310
+ TerritoryMutator,
300
311
  TextHAlign,
301
312
  TextVAlign,
302
313
  Touch,