World:serialize
Serializes serializable Entities in the World.
Serializes serializable Entities in the World.
Flushes first. Only Entities with a serializable Component are included.
data = world:serialize( ignoreKeys )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
ignoreKeys |
boolean | If true, omits keys when calling Entity:serialize (Entity parameter name: ignoreKey) |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
data |
SerializedWorld | Serialized world data |