@etothepii/satisfactory-file-parser
Version:
A file parser for satisfactory files. Includes save files and blueprint files.
21 lines (20 loc) • 990 B
TypeScript
import { BinaryReadable } from "../../byte/binary-readable.interface";
import { ByteReader } from "../../byte/byte-reader.class";
import { ChunkCompressionInfo } from "../../file.types";
import { SaveComponent } from "../objects/SaveComponent";
import { SaveEntity } from "../objects/SaveEntity";
import { BlueprintConfig, BlueprintHeader } from "./blueprint.types";
export declare class BlueprintReader extends ByteReader {
compressionInfo: ChunkCompressionInfo;
constructor(bluePrintBuffer: ArrayBuffer);
static ReadHeader(reader: BinaryReadable): BlueprintHeader;
inflateChunks(): any;
static ParseObjects(reader: ByteReader): (SaveEntity | SaveComponent)[];
private static ReadBlueprintObjectContents;
}
export declare class BlueprintConfigReader extends ByteReader {
bluePrintConfigBuffer: ArrayBuffer;
constructor(bluePrintConfigBuffer: ArrayBuffer);
parse: () => BlueprintConfig;
static ParseConfig(reader: BinaryReadable): BlueprintConfig;
}