Defined in: packages/engine/src/stores/save.ts:13
| Type Parameter |
Default type |
Slice |
never |
| Property |
Type |
Description |
initialSave |
GameSave<Slice> | null |
What the save held when this store was built. Startup reads it. |
markSaved |
(save) => void |
What the verb compares against, without writing anything: how a session says the world it started with is already in the save. |
save |
GameSave<Slice> | null |
What the save holds now: the one it started with, then each one written. A HUD reads a banked total here. |
saveCount |
number |
How many writes have landed. The indicator watches this. |
writeSave |
(save) => boolean |
- |