Skip to content
ConcordConcordConcord

World:deserialize

Deserializes Entities into the World.

← World

Deserializes Entities into the World.

Restores each entity’s key first when present in saved data, then deserializes component array entries.

world = world:deserialize( data, startClean, ignoreGenerator )
Name Type Description
data SerializedWorld Serialized world data
startClean boolean If true, existing Entities are cleared first
ignoreGenerator boolean If true, the World’s key generator state is left unchanged
Name Type Description
world World