Crate naia_bevy_shared

Crate naia_bevy_shared 

Source

Structs§

BeforeReceiveEvents
BitReader
BitWriter
ChannelKind
ChannelKind - should be one unique value for each type of Channel
ComponentAccessor
ComponentFieldUpdate
ComponentKind
ComponentKind - should be one unique value for each type of Component
ComponentKinds
A map to hold all component types
ComponentUpdate
DiffMask
EntityAuthAccessor
EntityDoesNotExistError
EntityProperty
FakeEntityConverter
GameInstant
GlobalEntity
HostEntity
HostEntityAuthStatus
HostOwned
HostOwnedMap
HostSyncChangeTracking
Instant
Represents a specific moment in time
LinkConditionerConfig
Contains configuration required to initialize a LinkConditioner
MessageContainer
MessageKind
MessageKind - should be one unique value for each type of Message
MessageKinds
OwnedBitReader
Property
A Property of an Component/Message, that contains data which must be tracked for updates
PropertyMutator
Protocol
Random
Container for cross-platform Random methods
ReceiveEvents
ReliableSettings
RemoteEntity
ReplicaDynMut
ReplicaDynRef
ResponseReceiveKey
ResponseSendKey
SendPackets
SerdeErr
The error message when failing to serialize/deserialize to/from the bit stream.
SharedPlugin
TickBufferSettings
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.
WorldData
WorldMut
WorldRef

Enums§

ChannelDirection
ChannelMode
EntityAuthStatus
HostSyncEvent

Constants§

MTU_SIZE_BYTES
The maximum of bytes that can be used for the payload of a given packet. (See #38 of http://ithare.com/64-network-dos-and-donts-for-game-engines-part-v-udp/)

Traits§

AppTag
BitWrite
Channel
ComponentAccess
ConstBitLength
EntityAndGlobalEntityConverter
LocalEntityAndGlobalEntityConverter
LocalEntityAndGlobalEntityConverterMut
Message
MessageBuilder
Named
PropertyMutate
Tracks which Properties have changed and need to be queued for syncing with the Client
ProtocolPlugin
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
ReplicateBuilder
Request
Response
Serde
A trait for objects that can be serialized to a bitstream.
SerdeIntegerConversion
WorldMutType
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
WorldProxy
WorldProxyMut
WorldRefType
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

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§

SignedInteger
SignedVariableInteger
Tick
UnsignedInteger
UnsignedVariableInteger

Derive Macros§

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