Crate naia_client[−][src]
Expand description
Naia Client
A cross-platform client that can send/receive messages to/from a server, and has a pool of in-scope Entities/Components that are synced with the server.
Structs
Client can send/receive messages to/from a server, and has a pool of in-scope entities/components that are synced with the server
Contains Config properties which will be used by a Server or Client
Represents a specific moment in time
Contains configuration required to initialize a LinkConditioner
A Packet that can be sent to the Server
Container for cross-platform Random methods
Contains Config properties which will be shared by Server and Client
Enums
An Event that is be emitted by the Client, usually as a result of some communication with the Server
Traits
An Enum with a variant for every Component/Message that can be sent between Client/Host
A struct that implements ReplicateSafe is a Message/Component, or otherwise, a container of Properties that can be scoped, tracked, and synced, with a remote host
Functions
Retrieves the wrapping difference between 2 u16 values wrapping_diff(1,2) will return 1 wrapping_diff(2,1) will return -1 wrapping_diff(65535,0) will return 1 wrapping_diff(0,65535) will return -1