Expand description
Library entry point for bevy-networker-multiplayer.
This crate keeps the public API intentionally small:
NetResourcegives access to the underlying socket layer.Replicatedmarks entities that should exist on every peer.#[sync]marks components and resources that should replicate.#[netmsg]marks typed messages for request/response style traffic.- Optional prediction helpers live behind the
predictionfeature.
Re-exports§
pub extern crate networker_rs;
Re-exports§
pub use netmsg::NetMessage;pub use netres::NetResource;pub use replicated::Replicated;pub use replicated::ReplicatedPlugin;pub use bevy;pub use bincode;pub use inventory;pub use serde;
Modules§
- netmsg
- Typed message support and hashing helpers.
- netres
- Network transport and connection management. Bridge between Bevy ECS state and the underlying socket transport.
- replicated
- Replicated entity marker and plugin wiring. Replicated entity marker and plugin wiring.
- sync
- Sync registration, snapshotting, and packet application. Sync registration, snapshots, and packet application.
Functions§
- crate_
name - Returns the published crate name.
Attribute Macros§
- netmsg
- Re-export the proc-macros that power sync and messages.
- sync
- Re-export the proc-macros that power sync and messages.
Derive Macros§
- Predict
Linear Motion - Re-export the proc-macros that power sync and messages.
- Velocity2d
- Re-export the proc-macros that power sync and messages.