Skip to main content

Module types

Module types 

Source
Expand description

Protocol-level primitive types.

Structs§

ClientId
A unique identifier for a connected client session. Assigned by the transport layer on connection, released on disconnect.
ComponentKind
A component type identifier. Used by the Encoder to determine how to serialize/deserialize a specific component’s fields.
LocalId
The ECS’s internal entity handle. Opaque to the network layer. In Phase 1 (Bevy), this wraps bevy_ecs::entity::Entity.
NetworkId
A globally unique entity identifier used in all network communication. Assigned by the server. Immutable for the lifetime of the entity.
NetworkIdAllocator
Authoritative allocator for NetworkIds.
Transform
Standard transform component used for replication (ComponentKind 1).

Enums§

AllocatorError