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?: number): boolean
  • Parameters

    • slot: number
    • Optional interval: number

    Returns boolean

loadFromSlot

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

    Returns void

saveToSlot

  • saveToSlot(slot: number, saveObject: SaveObject, fakeSave?: boolean): number
  • Parameters

    • slot: number
    • saveObject: SaveObject
    • Optional fakeSave: boolean

    Returns number

Generated using TypeDoc