Skip to content
ConcordConcordConcord

Entity:deserialize

Deserializes Components onto the Entity from the array portion of serialized data.

← Entity

Deserializes Components onto the Entity from the array portion of serialized data.

Component classes must already be registered. Does not restore key; World:deserialize handles keys separately.

entity:deserialize( data )
Name Type Description
data table Serialized Entity data (array of component blobs; may include .key when loading outside World)