PokéRogue
    Preparing search index...

    Function getSaveDataLocalStorageKey

    • Obtain the local storage key corresponding to a given save slot.

      Parameters

      • slotId: number

        The numerical save slot ID

      Returns string

      The local storage key used to access the save data for the given slot.

      Throws if slotId < 0 (which likely indicates an invalid slot passed from the title screen)