unpak.js
Version:
Modern TypeScript library for reading Unreal Engine pak files and assets, inspired by CUE4Parse
62 lines • 1.81 kB
TypeScript
import { FName } from "../../objects/uobject/FName";
import { FSoftObjectPath } from "../../objects/uobject/SoftObjectPath";
import { FArchive } from "../../reader/FArchive";
/**
* A struct representing a single AssetBundle
*/
export declare class FAssetBundleEntry {
/**
* Specific name of this bundle, should be unique for a given scope
* @type {FName}
* @public
*/
bundleName: FName;
/**
* List of string assets contained in this bundle
* @type {Array<FSoftObjectPath>}
* @public
*/
bundleAssets: FSoftObjectPath[];
/**
* Creates an instance using an UE4 Reader
* @param {FArchive} Ar UE4 Reader to use
* @constructor
* @public
*/
constructor(Ar: FArchive);
/**
* Creates an instance using values
* @param {FName} bundleName Bundle name to use
* @param {Array<FSoftObjectPath>} bundleAssets Bundle assets to use
* @constructor
* @public
*/
constructor(bundleName: FName, bundleAssets: FSoftObjectPath[]);
}
/**
* A struct with a list of asset bundle entries.
* If one of these is inside a UObject it will get automatically exported as the asset registry tag AssetBundleData
*/
export declare class FAssetBundleData {
/**
* List of bundles defined
* @type {Array<FAssetBundleEntry>}
* @public
*/
bundles: FAssetBundleEntry[];
/**
* Creates an instance using an UE4 Reader
* @param {FArchive} Ar UE4 Reader to use
* @constructor
* @public
*/
constructor(Ar: FArchive);
/**
* Creates an instance using a value
* @param {Array<FAssetBundleEntry>} bundles Bundles to use
* @constructor
* @public
*/
constructor(bundles: FAssetBundleEntry[]);
}
//# sourceMappingURL=AssetBundleData.d.ts.map