Skip to content
ConcordConcordConcord

Serializable

Built-in marker Component. Entities with this Component are included in World:serialize.

If the concord folder is in the root directory of your game, you can import this module like so:

Serializable = require('concord.builtins.serializable')

The Component itself is not serialized.

Extends ComponentClass.

Method Description
Serializable:serialize Callback: When the Component gets serialized as part of an Entity.