Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocalStorageDataStorage

Hierarchy

  • LocalStorageDataStorage

Implements

Index

Methods

deleteAllData

  • deleteAllData(): void

deleteAllSlots

  • deleteAllSlots(): boolean

deleteSlot

  • deleteSlot(slot: number): boolean
  • Parameters

    • slot: number

    Returns boolean

isEnabled

  • isEnabled(): boolean
  • Returns boolean

isReady

  • isReady(): boolean
  • Returns boolean

isSlotUsed

  • isSlotUsed(slot: number, interval?: number): boolean
  • Parameters

    • slot: number
    • Optional interval: number

    Returns boolean

loadFromSlot

  • loadFromSlot(slot: number, saveObject: SaveObject): void

saveToSlot

  • saveToSlot(slot: number, saveObject: SaveObject): number
  • Parameters

    Returns number

Generated using TypeDoc