1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! # Naia Client
//! A cross-platform client that can send/receive events to/from a server, and
//! has a pool of in-scope actors that are synced with the server.

#![deny(
    missing_docs,
    missing_debug_implementations,
    trivial_casts,
    trivial_numeric_casts,
    unsafe_code,
    unstable_features,
    unused_import_braces
)]

#[macro_use]
extern crate log;

mod client_actor_manager;
mod client_actor_message;
mod client_config;
mod client_connection_state;
mod client_event;
mod client_packet_writer;
mod client_tick_manager;
mod command_receiver;
mod command_sender;
mod error;
mod interpolation_manager;
mod naia_client;
mod ping_manager;
mod server_connection;
mod tick_queue;

pub use naia_shared::{find_my_ip_address, Instant, LinkConditionerConfig, Random};

pub use client_config::ClientConfig;
pub use client_event::ClientEvent;
pub use naia_client::NaiaClient;
pub use naia_client_socket::Packet;