Skip to main content

Module save

Module save 

Source
Expand description

Save versions (game ADR-0039): every save names the version of its format that wrote it, and a build reads only its own version. A save of another version is refused, never migrated. SaveHeader reads the version of any save, even one whose other fields no longer parse, so the refusal can say “another version” rather than “damaged”. What a save holds, and where it is kept, are the game’s.

Structs§

SaveHeader
Just the version of a save of format F: reads any such save, whatever the rest of it holds, in a format that names its fields (RON, JSON).

Traits§

SaveFormat
A game’s save format: the type its saves are read into.