NTZippedAssetPackage


@interface NTZippedAssetPackage : NTAssetPackage

An asset package based on ZIP archived. Only deflate-based ZIP archives are supported.

  • Constructs a ZIP asset package from the archived binary data.

    Declaration

    Objective-C

    - (id)initWithZipData:(NTBinaryData *)zipData;

    Parameters

    zipData

    The ZIP archive.

  • Constructs a ZIP asset package from the archived binary data and a fallback asset package.

    Declaration

    Objective-C

    - (id)initWithZipData:(NTBinaryData *)zipData
         baseAssetPackage:(NTAssetPackage *)baseAssetPackage;

    Parameters

    zipData

    The ZIP archive.

    baseAssetPackage

    The base asset package. If an asset is not found in the ZIP archive, base asset package is used.

  • Undocumented

    Declaration

    Objective-C

    -(NTStringVector*)getLocalAssetNames;
  • Undocumented

    Declaration

    Objective-C

    - (NTStringVector *)getAssetNames;
  • Undocumented

    Declaration

    Objective-C

    - (NTBinaryData *)loadAsset:(NSString *)name;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;