Crate naia_bevy_client

Crate naia_bevy_client 

Source

Modules§

component_events
default_channels
events
transport

Structs§

Client
ClientConfig
Contains Config properties which will be used by a Server or Client
CommandHistory
GameInstant
Instant
Represents a specific moment in time
Plugin
Random
Container for cross-platform Random methods
ReceiveEvents
ResponseReceiveKey
ResponseSendKey
ServerOwned
Timer
A Timer with a given duration after which it will enter into a “Ringing” state. The Timer can be reset at an given time, or manually set to start “Ringing” again.

Enums§

EntityAuthStatus
NaiaClientError
ReplicationConfig

Traits§

CommandsExt
Message
Replicate
A struct that implements Replicate is a Component, or otherwise, a container of Properties that can be scoped, tracked, and synced, with a remote host

Functions§

sequence_greater_than
Returns whether or not a wrapping number is greater than another sequence_greater_than(2,1) will return true sequence_greater_than(1,2) will return false sequence_greater_than(1,1) will return false
sequence_less_than
Returns whether or not a wrapping number is greater than another sequence_less_than(1,2) will return true sequence_less_than(2,1) will return false sequence_less_than(1,1) will return false
wrapping_diff
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

Type Aliases§

ClientOwned
Tick

Derive Macros§

Message
Derives the Message trait for a given struct
Replicate
Derives the Replicate trait for a given struct, for the Bevy adapter