Create generic distribution system

Still incredibly basic and only handles initial distribution and spawning with no relationships or anything.
This commit is contained in:
Michael Bradley 2025-07-06 18:29:58 -04:00
parent d76afe92f0
commit 4db82f328b
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
5 changed files with 66 additions and 8 deletions

View file

@ -1,14 +1,18 @@
mod distribution;
mod io;
mod packet;
mod peer;
mod plugin;
mod queues;
mod socket;
mod state;
mod thread;
#[allow(unused_imports)]
pub mod prelude {
pub use super::distribution::Networked;
pub use super::packet::{InboundPacket, OutboundPacket, Packet};
pub use super::peer::{Peer, PeerReceiveTiming, PeerSendTiming};
pub use super::plugin::{NetIOPlugin, NetworkState};
pub use super::plugin::NetIOPlugin;
pub use super::state::NetworkState;
}