Skip to main content

Module types

Module types 

Source

Structs§

BlueprintIngredientView
BlueprintView
BuildingView
ChatMessage
CraftResult
DeathNotice
DoorView
EntityState
Envelope
Every on-wire payload is wrapped for versioning and codec uniformity.
HarvestResult
Hello
Session handshake after transport connect.
InteractionNotice
ItemStack
NpcView
PlayerVitals
Player health / resources (players only; omitted on other entities).
ResourceNodeView
Harvestable node visible to clients.
SkillRequirementView
Snapshot
Full state on region enter or reconnect.
TickDelta
Server → client AOI-filtered entity updates for one sim tick.
ToolRequirementView
Transform
Velocity2D
Welcome
WorldCoord
World position (x, y, z, w, t)t reserved at 0.

Enums§

AuthCredential
How the client authenticates to the game gateway. Uses default serde enum encoding (postcard-compatible; not internally tagged).
ChatChannel
Nearby voice chat vs magical long-range (requires whisper-stone item).
ClientMessage
Intent
Client → server gameplay input (reliable, sequenced per entity).
LifeState
ResourceNodeState
ServerMessage

Type Aliases§

EntityId
Seq
SessionId
Tick