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.

Callback: When the Component gets serialized as part of an Entity.

Returns nil so this marker is not written to serialized data.

serializable:serialize()