dreamwell-runtime 1.0.0

Dreamwell Runtime — cross-platform GPU-accelerated game client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Authority subsystem — adapter pattern for local vs remote authority backends.
//!
//! Same runtime contracts, two backends. Local authority is for standalone,
//! test, offline, and editor preview. Remote authority uses SpacetimeDB.

pub mod local;
pub mod protocol;
#[cfg(feature = "multiplayer")]
pub mod remote;

pub use local::LocalAuthority;
pub use protocol::{AuthorityClient, AuthorityEvent, ConnectionState};
#[cfg(feature = "multiplayer")]
pub use remote::RemoteAuthority;