rlbot-flatbuffers 0.18.4__tar.gz → 0.18.5__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 (25) hide show
  1. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/Cargo.lock +7 -7
  2. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/Cargo.toml +1 -1
  3. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/PKG-INFO +1 -1
  4. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/pyi.rs +4 -1
  5. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/structs.rs +2 -2
  6. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/corepacket.fbs +6 -0
  7. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/interfacepacket.fbs +6 -0
  8. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/misc.fbs +6 -0
  9. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/src/lib.rs +2 -0
  10. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/LICENSE +0 -0
  11. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/README.md +0 -0
  12. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/class_inject.rs +0 -0
  13. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/enums.rs +0 -0
  14. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/main.rs +0 -0
  15. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/table.rs +0 -0
  16. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/codegen/unions.rs +0 -0
  17. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/color.fbs +0 -0
  18. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/comms.fbs +0 -0
  19. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/gamedata.fbs +0 -0
  20. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/gamestatemanip.fbs +0 -0
  21. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/matchconfig.fbs +0 -0
  22. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/rendering.fbs +0 -0
  23. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/rlbot.fbs +0 -0
  24. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/flatbuffers-schema/schema/vector.fbs +0 -0
  25. {rlbot_flatbuffers-0.18.4 → rlbot_flatbuffers-0.18.5}/pyproject.toml +0 -0
@@ -4,9 +4,9 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "aho-corasick"
7
- version = "1.1.3"
7
+ version = "1.1.4"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
10
  dependencies = [
11
11
  "memchr",
12
12
  ]
@@ -662,9 +662,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
662
662
 
663
663
  [[package]]
664
664
  name = "proc-macro2"
665
- version = "1.0.102"
665
+ version = "1.0.103"
666
666
  source = "registry+https://github.com/rust-lang/crates.io-index"
667
- checksum = "8e0f6df8eaa422d97d72edcd152e1451618fed47fabbdbd5a8864167b1d4aff7"
667
+ checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
668
668
  dependencies = [
669
669
  "unicode-ident",
670
670
  ]
@@ -823,7 +823,7 @@ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
823
823
 
824
824
  [[package]]
825
825
  name = "rlbot_flatbuffers"
826
- version = "0.18.4"
826
+ version = "0.18.5"
827
827
  dependencies = [
828
828
  "eyre",
829
829
  "indexmap",
@@ -1013,9 +1013,9 @@ checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
1013
1013
 
1014
1014
  [[package]]
1015
1015
  name = "unicode-ident"
1016
- version = "1.0.20"
1016
+ version = "1.0.22"
1017
1017
  source = "registry+https://github.com/rust-lang/crates.io-index"
1018
- checksum = "462eeb75aeb73aea900253ce739c8e18a67423fadf006037cd3ff27e82748a06"
1018
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
1019
1019
 
1020
1020
  [[package]]
1021
1021
  name = "unicode-segmentation"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rlbot_flatbuffers"
3
- version = "0.18.4"
3
+ version = "0.18.5"
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/RLBot/flatbuffers-python"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlbot_flatbuffers
3
- Version: 0.18.4
3
+ Version: 0.18.5
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -78,7 +78,10 @@ pub fn generator(type_data: &Declarations) -> io::Result<()> {
78
78
  write_fmt!(file, " {field_name}: {type_name}");
79
79
 
80
80
  write_str!(file, " \"\"\"");
81
- write_fmt!(file, " `assert int({type_name}.{field_name}) == {var_val}`");
81
+ write_fmt!(
82
+ file,
83
+ " `assert int({type_name}.{field_name}) == {var_val}`"
84
+ );
82
85
 
83
86
  if !var_info.docstrings.docstrings.is_empty() {
84
87
  write_str!(file, "");
@@ -131,7 +131,7 @@ impl<'a> StructBindGenerator<'a> {
131
131
  if self.fields.is_empty() {
132
132
  write_fmt!(self, "impl From<{impl_type}> for {} {{", self.name);
133
133
  write_fmt!(self, " fn from(_: {impl_type}) -> Self {{");
134
- write_fmt!(self, " {} {{}}", self.name);
134
+ write_str!(self, " Self {}");
135
135
  write_str!(self, " }");
136
136
  write_str!(self, "}");
137
137
  write_str!(self, "");
@@ -145,7 +145,7 @@ impl<'a> StructBindGenerator<'a> {
145
145
  self,
146
146
  " fn from_gil(py: Python, flat_t: {impl_type}) -> Self {{"
147
147
  );
148
- write_fmt!(self, " {} {{", self.name);
148
+ write_str!(self, " Self {");
149
149
 
150
150
  for (field_name, field_info) in self.fields {
151
151
  match &field_info.type_ {
@@ -28,6 +28,12 @@ union CoreMessage {
28
28
 
29
29
  /// An agent had its ability to render changed
30
30
  RenderingStatus,
31
+
32
+ /// Requests for client to send a PingResponse asap for measuring latency
33
+ PingRequest,
34
+
35
+ /// Response to PingRequest for measuring latency
36
+ PingResponse,
31
37
  }
32
38
 
33
39
  /// Packet containing a CoreMessage
@@ -51,6 +51,12 @@ union InterfaceMessage {
51
51
  /// This changed will then be broadcasted to all current connections.
52
52
  /// Does nothing if rendering has been completely disabled.
53
53
  RenderingStatus,
54
+
55
+ /// Requests for server to send a PingResponse asap for measuring latency
56
+ PingRequest,
57
+
58
+ /// Response to PingRequest for measuring latency
59
+ PingResponse,
54
60
  }
55
61
 
56
62
  /// Packet containing a InterfaceMessage
@@ -91,3 +91,9 @@ table RenderingStatus {
91
91
  /// If rendering is now enabled or disabled for the specific agent
92
92
  status: bool;
93
93
  }
94
+
95
+ /// Ping request message
96
+ table PingRequest {}
97
+
98
+ /// Ping response message
99
+ table PingResponse {}
@@ -225,6 +225,8 @@ pynamedmodule! {
225
225
  NormalGoalScoreMutator,
226
226
  OvertimeMutator,
227
227
  Physics,
228
+ PingRequest,
229
+ PingResponse,
228
230
  PlayerConfiguration,
229
231
  PlayerInfo,
230
232
  PlayerInput,