Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDataStorage

Hierarchy

  • IDataStorage

Implemented by

Index

Methods

deleteAllData

  • deleteAllData(): void
  • Returns void

deleteAllSlots

  • deleteAllSlots(): boolean
  • Returns 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?: undefined | number): boolean
  • Parameters

    • slot: number
    • Optional interval: undefined | number

    Returns boolean

loadFromSlot

  • Parameters

    • slot: number

    Returns ISaveObject

saveToSlot

  • saveToSlot(slot: number, saveObject: ISaveObject, fakeSave?: undefined | false | true): number
  • Parameters

    • slot: number
    • saveObject: ISaveObject
    • Optional fakeSave: undefined | false | true

    Returns number

Generated using TypeDoc