Skip to content

Registry Serialization #41

Open
Open

Description

@Placeblock

An ECS Registry need to be serialized.
The type of component must be preserved, as component order cannot be guaranteed.
Each component has its own Key (Namespace + Ressource)
For Example the default plugin has a "de.placeblock:and_gate" Key
When serializing a component with its entities, we first serialize the key of the component followed by the serialized entities. For each Entity we have to store the global entity id and then the component data

Activity

  1. Placeblock commented on May 19, 2025

    @Placeblock
    OwnerAuthor

    When deserializing the correct deserializer has to be called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions