UNPKG

arx-convert

Version:

Converts various Arx Fatalis formats to JSON or YAML and back

17 lines (16 loc) 511 B
import { BinaryIO } from '../common/BinaryIO.js'; import type { ArxLLF } from './LLF.js'; /** * @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/scene/LevelFormat.h#L178 */ export type ArxLlfHeader = { lastUser: string; time: number; numberOfLights: number; numberOfBackgroundPolygons: number; }; export declare class LlfHeader { static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxLlfHeader; static accumulateFrom(json: ArxLLF): ArrayBuffer; static sizeOf(): number; }