Crate bevy_atomic_save

source ·

Structs

A Resource available during SaveStage::PostLoad which contains a mapping of previously saved entities to new loaded entities.
A [Component] which indicates that its [Entity] should be saved.
A [Plugin] which adds the SaveStage and any required systems for saving and loading the [World].
A [Component] which indicates that its [Entity] and all of its [Children] should be despawned before load.

Enums

A [Resource] used to trigger a save or load request.

Traits

Trait used to read and update entity references from Loaded.
Trait used to load a [World] from a file.
Extension trait used to register components which implement FromLoaded with an [App].
Trait used to save a [World] to a file.

Functions

A [System] which handles a load Request and starts the load process.
Loads a previously saved [DynamicScene] into the given [World].
A [System] which calls FromLoaded::from_loaded on all instances of a [Component] which implements FromLoaded.
A [System] which handles a save Request.
Saves the entities within the given [World] and returns it as a serializable [DynamicScene].
A [RunCriteria] which returns [ShouldRun::Yes] if there is a load Request present; [ShouldRun::No] otherwise.
A [RunCriteria] which returns [ShouldRun::Yes] if there is a save Request present; [ShouldRun::No] otherwise.