Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StorageManagerStatic

StorageManager The static class that manages storage saving game data.

interface

StorageManagerStatic

Hierarchy

  • StorageManagerStatic

Index

Methods

backup

  • backup(savefileId: number): void

backupExists

  • backupExists(savefileId: number): boolean

cleanBackup

  • cleanBackup(savefileId: number): boolean

exists

  • exists(savefileId: number): boolean

isLocalMode

  • isLocalMode(): boolean

load

  • load(savefileId: number): string

loadFromLocalBackupFile

  • loadFromLocalBackupFile(savefileId: number): string

loadFromLocalFile

  • loadFromLocalFile(savefileId: number): string

loadFromWebStorage

  • loadFromWebStorage(savefileId: number): string

loadFromWebStorageBackup

  • loadFromWebStorageBackup(savefileId: number): string

localFileBackupExists

  • localFileBackupExists(savefileId: number): boolean

localFileDirectoryPath

  • localFileDirectoryPath(): string

localFileExists

  • localFileExists(savefileId: number): boolean

localFilePath

  • localFilePath(savefileId: number): 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

saveToLocalFile

  • saveToLocalFile(savefileId: number, json: string): void

saveToWebStorage

  • saveToWebStorage(savefileId: number, json: string): void

webStorageBackupExists

  • webStorageBackupExists(savefileId: number): boolean

webStorageExists

  • webStorageExists(savefileId: number): boolean

webStorageKey

  • webStorageKey(savefileId: number): string

Generated using TypeDoc