Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IndexedDbDataStorage

Hierarchy

  • IndexedDbDataStorage

Implements

Index

Constructors

constructor

Methods

deleteAllData

  • deleteAllData(): Promise<any>

deleteAllSlots

  • deleteAllSlots(): Promise<boolean>

deleteSlot

  • deleteSlot(slot: number): Promise<boolean>
  • Parameters

    • slot: number

    Returns Promise<boolean>

isEnabled

  • isEnabled(): boolean

isReady

  • isReady(): boolean

isSlotUsed

  • isSlotUsed(slot: number): Promise<boolean>
  • Parameters

    • slot: number

    Returns Promise<boolean>

loadFromSlot

  • loadFromSlot(slot: number, saveObject: SaveObject): Promise<void>

saveToSlot

  • saveToSlot(slot: number, saveObject: SaveObject, unloading?: boolean): Promise<number>
  • Parameters

    • slot: number
    • saveObject: SaveObject
    • Default value unloading: boolean = false

    Returns Promise<number>

Generated using TypeDoc