Skip to content

How to snapshot all entities? #1160

Answered by skypjack
hasikill asked this question in Q&A
Aug 1, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Well, I mean, what's stopping you from doing it? There is a small utility to serialize what you are interested in in the snapshot hpp file, otherwise you can write your own serialization routine based on views, storage classes and so on. As for the destination, a file or a chunk of memory is the same from the point of view of a serializer. There is a test in the project that writes a regsitry in a bunch of stacks to re-read it later on. 🤷‍♂️

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hasikill
Comment options

@skypjack
Comment options

Answer selected by hasikill
@hasikill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
discussion it sounds interesting, let's discuss it
2 participants