SessionSaves beta
Interface of @v12-engine/engine
ts
export interface SessionSavesSaves of the world a session plays (SessionCan.saves)
Members
checkpoint
ts
readonly checkpoint?: {
label: Message;
save: WorldSave;
};The last moment the rules marked to start again from (world.checkpoint), with what it is called, and a save of the world as it stood: a scene can load it for "Retry from wave 6"
save
ts
save(): Promise<WorldSave>;A save of the world as it stands: at once in this thread, a message there and back in a worker