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.
InputCommand
Aggregated user input for a single simulation tick.
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.
SectorId
A globally unique sector/room identifier.
ShipStats
Basic vitals for any ship entity.
Transform
Standard transform component used for replication (ComponentKind 1).
WeaponId
Unique identifier for a weapon type.

Enums§

AIState
NPC Drone behavior state Machine.
AllocatorError
OreType
Material types extracted from asteroids.
ProjectileType
Projectile delivery classification.
RespawnLocation
Definitive respawn target semantics.
ShipClass
Ship classification for rendering and stat selection.

Constants§

PROTOCOL_VERSION