[−][src]Crate naia_server
Naia Server
A server that uses either UDP or WebRTC communication to send/receive events to/from connected clients, and syncs registered actors to clients to whom those actors are in-scope.
Modules
random | Cross-platform random number generation utility functions |
Structs
ActorKey | |
LinkConditionerConfig | Contains configuration required to initialize a LinkConditioner |
NaiaServer | A server that uses either UDP or WebRTC communication to send/receive events to/from connected clients, and syncs registered actors to clients to whom those actors are in-scope |
RoomKey | |
ServerConfig | Contains Config properties which will be used by a Server or Client |
SharedConfig | Contains Config properties which will be shared by Server and Client |
UserKey |
Enums
ServerEvent | An Event that is emitted as a result of some communication with a Client, or a Tick event |
Traits
Actor | An Actor is a container of Properties that can be scoped, tracked, and synced, with a remote host |
ActorType | An Enum with a variant for every Actor that can be synced between Client/Host |
Functions
find_my_ip_address | Helper method to find local IP address, if possible |