pixi.js
    Preparing search index...

    Interface BundleIdentifierOptionsAdvanced

    Options for how the resolver deals with generating bundle ids

    interface BundleIdentifierOptions {
        connector?: string;
        createBundleAssetId?: (bundleId: string, assetId: string) => string;
        extractAssetIdFromBundle?: (
            bundleId: string,
            assetBundleId: string,
        ) => string;
    }
    Index

    Properties

    connector?: string

    The character that is used to connect the bundleId and the assetId when generating a bundle asset id key

    createBundleAssetId?: (bundleId: string, assetId: string) => string

    A function that generates a bundle asset id key from a bundleId and an assetId

    Type declaration

      • (bundleId: string, assetId: string): string
      • Parameters

        • bundleId: string

          the bundleId

        • assetId: string

          the assetId

        Returns string

        the bundle asset id key

    extractAssetIdFromBundle?: (bundleId: string, assetBundleId: string) => string

    A function that generates an assetId from a bundle asset id key. This is the reverse of generateBundleAssetId

    Type declaration

      • (bundleId: string, assetBundleId: string): string
      • Parameters

        • bundleId: string

          the bundleId

        • assetBundleId: string

          the bundle asset id key

        Returns string

        the assetId