Crate naia_server
source · [−]Expand description
Naia Server
A server that uses either UDP or WebRTC communication to send/receive messages to/from connected clients, and syncs registered Entities/Components to clients to whom they are in-scope.
Structs
A reference to an Entity being tracked by the Server
Contains configuration required to initialize a LinkConditioner
Container for cross-platform Random methods
A server that uses either UDP or WebRTC communication to send/receive messages to/from connected clients, and syncs registered entities to clients to whom they are in-scope
List of addresses needed to start listening on a ServerSocket
Contains Config properties which will be used by the Server
Contains Config properties which will be shared by Server and Client
Contains Config properties which will be shared by Server and Client sockets
Enums
An Event that is emitted as a result of some communication with a Client, or a Tick event
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
Structures that implement the WorldMutType trait will be able to be loaded into the Server at which point the Server will use this interface to keep the WorldMutType in-sync with it’s own Entities/Components
Structures that implement the WorldMutType trait will be able to be loaded into the Server at which point the Server will use this interface to keep the WorldMutType in-sync with it’s own Entities/Components