Type Parameters

Hierarchy

Constructors

Accessors

  • get _data(): T[]
  • Protected

    Returns T[]

    The internal data array tracked allowing child classes direct access.

  • get key(): string
  • Returns string

    The Foundry game setting key.

  • get length(): number
  • Returns number

    The length of all data.

  • get namespace(): string
  • Returns string

    The Foundry game setting namespace.

Methods

  • Deletes a given entry store by ID from this world setting array store instance.

    Parameters

    • id: string

      ID of entry to delete.

    Returns boolean

    Delete operation successful.

  • Duplicates an entry store by the given ID.

    Parameters

    • id: string

      UUIDv4 string.

    Returns any

    Instance of StoreClass.

  • Find an entry in the backing child store array.

    Parameters

    • predicate: ((arg0: T) => void | T)

      A predicate function

        • (arg0): void | T
        • Parameters

          • arg0: T

          Returns void | T

    Returns void | T

    Found entry in array or undefined.

  • Finds an entry store instance by 'id' / UUIDv4.

    Parameters

    • id: string

      A UUIDv4 string.

    Returns void | T

    Entry store instance.

  • Sets the children store data by 'id', adds new entry store instances, or removes entries that are no longer in the update list.

    Parameters

    • updateList: T[]

    Returns void