using Zay-ES what would be the prefered approach to store a snapshot of the whole Entity Data in memory for any given frame?
Use cases would be debugging (restore any given entity world state), replay functionality, undo, etc…
I know there is SqlEntityData to store everything to a file on disk, which is also useful but I want to store multiple state snapshots directly in memory (faster restore).
Also found this thread: EntityData memento
Which is about something similar, but it is 2+ years old and I wonder if there is a better more “official” approach available now.
And I don’t think I need to store entity IDs, those could be re-generated on each restore, because nothing really relies on them to be persistent.