Crate naia_server[][src]

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.

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

Random

Container for cross-platform Random methods

RoomKey
ServerAddresses

A collection of IP addresses describing which IP to listen on for new sessions, which to dedicate to UDP traffic, and which to advertise publicly

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