naia-client 0.24.0

Provides a cross-platform client that can send/receive messages to/from a server, and has a pool of in-scope entities/components that is synced with the server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum ReplicationConfig {
    Private,   // this is for Client non-Public Entities
    Public,    // this is for Server Entities and Client Public Entities
    Delegated, // this is for Server Delegated Entities
}

impl ReplicationConfig {
    pub fn is_delegated(&self) -> bool {
        match self {
            ReplicationConfig::Delegated => true,
            _ => false,
        }
    }
}