Interface StorageManagerStatic
Methods
backup
- backup(savefileId: number): void
backupExists
- backupExists(savefileId: number): boolean
-
Parameters
Returns boolean
cleanBackup
- cleanBackup(savefileId: number): boolean
-
Parameters
Returns boolean
exists
- exists(savefileId: number): boolean
-
Parameters
Returns boolean
load
- load(savefileId: number): string
-
Parameters
Returns string
loadFromLocalBackupFile
- loadFromLocalBackupFile(savefileId: number): string
-
Parameters
Returns string
loadFromLocalFile
- loadFromLocalFile(savefileId: number): string
-
Parameters
Returns string
loadFromWebStorage
- loadFromWebStorage(savefileId: number): string
-
Parameters
Returns string
loadFromWebStorageBackup
- loadFromWebStorageBackup(savefileId: number): string
-
Parameters
Returns string
localFileBackupExists
- localFileBackupExists(savefileId: number): boolean
-
Parameters
Returns boolean
localFileDirectoryPath
- localFileDirectoryPath(): string
localFileExists
- localFileExists(savefileId: number): boolean
-
Parameters
Returns boolean
localFilePath
- localFilePath(savefileId: number): string
-
Parameters
Returns string
remove
- remove(savefileId: number): void
removeLocalFile
- removeLocalFile(savefileId: number): void
removeWebStorage
- removeWebStorage(savefileId: number): void
restoreBackup
- restoreBackup(savefileId: number): void
save
- save(savefileId: number, json: string): void
-
Parameters
-
savefileId: number
-
json: string
Returns void
saveToLocalFile
- saveToLocalFile(savefileId: number, json: string): void
-
Parameters
-
savefileId: number
-
json: string
Returns void
saveToWebStorage
- saveToWebStorage(savefileId: number, json: string): void
-
Parameters
-
savefileId: number
-
json: string
Returns void
webStorageBackupExists
- webStorageBackupExists(savefileId: number): boolean
-
Parameters
Returns boolean
webStorageExists
- webStorageExists(savefileId: number): boolean
-
Parameters
Returns boolean
webStorageKey
- webStorageKey(savefileId: number): string
-
Parameters
Returns string
StorageManager The static class that manages storage saving game data.
StorageManagerStatic