Adds a new auto save to the backend for the given commander
The uuid of the commander
The save to add
Adds a new manual save to the backend for the given commander
The uuid of the commander
The save to add
Removes a commander and all its saves
The cmdr uuid
Deletes the given save for the commander
The cmdr uuid
The uuid of the save to remove
A record of commander's saves, where the key is the cmdr uuid
The uuids of all the commanders stored in the backend
Retrieves saves for a specific commander.
The commander's saves, or undefined if none exist
Imports the given saves in the backend
The saves to import
Static
CreateFactory method to create a SaveManager instance. Reads save data from the provided backend and initializes the manager.
The storage backend to use
Result containing either the created SaveManager or an error
Implements save storage using a single storage file. The entire file is rewritten when changes need to be saved