unpak.js
Version:
Modern TypeScript library for reading Unreal Engine pak files and assets, inspired by CUE4Parse
25 lines • 937 B
TypeScript
import { VersionContainer } from "../versions/VersionContainer";
import { GameFile } from "../pak/GameFile";
import { FByteArchive } from "../reader/FByteArchive";
export declare abstract class AbstractVfsReader {
path: string;
versions: VersionContainer;
name: string;
protected constructor(path: string, versions: VersionContainer);
files: GameFile[];
get fileCount(): number;
abstract get hasDirectoryIndex(): boolean;
mountPoint: string;
concurrent: boolean;
get game(): number;
set game(v: number);
get ver(): number;
set ver(v: number);
abstract readIndex(): GameFile[];
abstract extract(gameFile: GameFile): Buffer;
protected validateMountPoint(mountPoint: string): string;
static readonly MAX_MOUNTPOINT_TEST_LENGTH = 128;
static isValidIndex(source: Buffer | FByteArchive): boolean;
toString(): string;
}
//# sourceMappingURL=AbstractVfsReader.d.ts.map