Use FreshLiveDataPacketFlatbuffer instead of UpdateLiveDataPacket.
Use the new FreshLiveDataPacketFlatbuffer from https://github.com/RLBot/RLBot/commit/94076466d3ad25ed589d93d7d3a0d7cd3bb0ab16 (new option: https://github.com/RLBot/RLBot/commit/8086f41ac9f3be568304e5622337eadfe14fa370) instead of UpdateLiveDataPacket.
An update example (Java) can be found here : https://github.com/RLBot/RLBot/commit/5701357231a13cdc182342f16f84e84f336b7ee3
(adding the base dll code. Will wait for the .so to be updated to complete the change.)
dll.rs, ffi.rs, interface.rs, packeteer.rs and files using the function (examples, …):
- [x] Flatbuffer version
- [ ] Non-flatbuffer version
Documentation:
- [ ] Document FreshLiveDataPacketFlatbuffer
- [ ] Update other documentations accordingly
~~Mark
update_live_data_packetas deprecated?~~ (is still usefull in certain cases)
Cleanup:
~~Remove UpdateLiveDataPacket?~~ (still usefull in certain cases and for backwards compatibility reasons)
- [ ] Bump version (⇒ Update CHANGELOG.md)?
- [ ] Is there now some useless code to remove (waiting loops that wait for 18ms for example)?
Topics:
- [ ] src/interface.rs should be asking for an ffi struct (as all the others do), or manage it by themselves (makes way more sense in this case)?
- [ ] src/interface.rs (if second option) u32 to c_int management.
(adding the base dll code. Will wait for the .so to be updated to complete the change.) dll.rs, ffi.rs, interface.rs, packeteer.rs and files using the function (examples, …):
* [x] Flatbuffer version * [ ] Non-flatbuffer version
ffi.rs is generated by rust-bindgen, so whatever it generates from the updated header. Instructions here.
Documentation:
* [ ] Document FreshLiveDataPacketFlatbuffer * [ ] Update other documentations accordingly * [ ] Mark `update_live_data_packet` as deprecated?
Yes, if it's depreciated upstream.
Cleanup:
* [ ] Remove `UpdateLiveDataPacket`?
Only if it's been removed upstream.
* [ ] Bump version (⇒ Update CHANGELOG.md)?
Yes.
Ok. Thanks saintdev! I'll take care of the ffi.rs generation.
Binaries are available! https://github.com/RLBot/RLBot/commit/0e40017ead76f26b08916a10c4dadd27b492b05d
Also deployed to pypi.