Experimental loader to load resources from a zip file.

Though named as a "Loader", this class has nothing to do with Live2DLoader, it only contains a middleware for the Live2DFactory.

Hierarchy

  • ZipLoader

Constructors

Properties

ZIP_PROTOCOL: string = 'zip://'
factory: Middleware<Live2DFactoryContext> = ...
uid: number = 0

Methods

  • Parameters

    • reader: any
    • paths: string[]

    Returns Promise<File[]>

  • Parameters

    • reader: any
    • path: string

    Returns Promise<string>

  • Parameters

    • data: Blob
    • url: string

    Returns Promise<any>

Generated using TypeDoc