View Source Ecspanse.Snapshot.EntitySnapshot (ECSpanse v0.10.0)

An entity snapshot.

The :version field is the value provided in the use Ecspanse, version: x at the time of export. This value is used to ensure compatibility when restoring entities.

Summary

Types

@type t() :: %Ecspanse.Snapshot.EntitySnapshot{
  component_modules: [module()],
  component_specs: [Ecspanse.Component.component_spec()],
  entity_id: Ecspanse.Entity.id(),
  version: integer()
}