arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
15 lines (14 loc) • 477 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
/**
* @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/scene/LevelFormat.h#L88
*/
export type ArxScene = {
levelIdx: number;
};
export declare class Scene {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxScene;
static accumulateFrom(scene: ArxScene): ArrayBuffer;
static pathToLevelIdx(path: string): number;
static levelIdxToPath(levelIdx: number): string;
static sizeOf(): number;
}