Options
All
  • Public
  • Public/Protected
  • All
Menu

Module api/assets

Index

Functions

  • Find an asset by a filter.

    Parameters

    • filter: (asset: Asset) => boolean

      Filter to find the asset.

        • Parameters

          Returns boolean

    Returns Asset

    The asset.

  • getByID(id: number): Asset
  • getByName(name: string): Asset
  • getIDByName(name: string): number
  • Get the ID for an asset with a specified name.

    Parameters

    • name: string

      Name of the asset.

    Returns number

    ID of the asset.

Generated using TypeDoc