Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

World snapshot for save/load. World snapshot for save/load functionality.

Provides WorldSnapshot which captures the full simulation state (all entities, components, groups, metrics, tick counter) in a serializable form. Games choose the serialization format via serde.

Extension components are NOT included — games must serialize their own extensions separately and re-attach them after restoring.

Structs§

EntitySnapshot
Serializable snapshot of a single entity’s components.
GroupSnapshot
Serializable representation of an elevator group.
LineSnapshotInfo
Per-line snapshot info within a group.
WorldSnapshot
Serializable snapshot of the entire simulation state.