Rework networking interface
All checks were successful
CI / Formatting (push) Successful in 1m6s

Add Bevy event queues for inbound and outbound packets, and use Bevy change detection for consumer new Peer handling.
This commit is contained in:
Michael Bradley 2025-07-05 15:01:33 -04:00
parent cceca83dac
commit c10f6cfb82
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
9 changed files with 348 additions and 72 deletions

View file

@ -1,5 +1,13 @@
mod io;
mod peer;
mod plugin;
pub use plugin::NetIOPlugin;
mod queues;
mod socket;
mod thread;
#[allow(unused_imports)]
pub mod prelude {
pub use super::io::{InboundPacket, OutboundPacket, Packet};
pub use super::peer::Peer;
pub use super::plugin::{NetIOPlugin, NetworkState};
}