Options
All
  • Public
  • Public/Protected
  • All
Menu

An object that stores any amount of keys for battle videos and saves and can be used to retrieve them.

Hierarchy

  • KeyStore

Implemented by

Index

Methods

getBvKey

  • Get a promise for a battle video key for the given stamp if available, undefined otherwise.

    Parameters

    • stamp: string

      The stamp that identifies the battle video

    Returns Promise<BattleVideoKey>

    A promise for the battle video key, if available

getSaveKey

  • getSaveKey(stamp: string): Promise<SaveKey>
  • Get a promise for save key for the given stamp if available, undefined otherwise.

    Parameters

    • stamp: string

      The stamp that identifies the save

    Returns Promise<SaveKey>

    A promise for the save key, if available

persistBvKey

  • Write a key that has already been added to the store to persistent storage.

    Parameters

    Returns Promise<void>

persistSaveKey

  • persistSaveKey(key: SaveKey): Promise<void>
  • Write a key that has already been added to the store to persistent storage.

    Parameters

    Returns Promise<void>

setBvKey

  • Set a battle video key. The returned promise is resolved upon completion.

    Parameters

    Returns Promise<void>

    A promise that resolves when the operation is complete

setOrMergeBvKey

  • Set a given battle video key if a key for the save is not already available. Otherwise merge the given key with the existing one.

    Parameters

    Returns Promise<void>

    A promise that resolves when the operation is complete

setOrMergeSaveKey

  • setOrMergeSaveKey(key: SaveKey): Promise<void>
  • Set a given save key if a key for the save is not already available. Otherwise merge the given key with the existing one.

    Parameters

    • key: SaveKey

      The save key to set or merge

    Returns Promise<void>

    A promise that resolves when the operation is complete

setSaveKey

  • setSaveKey(key: SaveKey): Promise<void>
  • Set a save key. The returned promise is resolved upon completion.

    Parameters

    Returns Promise<void>

    A promise that resolves when the operation is complete

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc