UNPKG

arx-convert

Version:

Converts various Arx Fatalis formats to JSON or YAML and back

15 lines (14 loc) 474 B
import { BinaryIO } from '../common/BinaryIO.js'; import type { ArxRoom } from './Room.js'; /** * @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/graphics/data/FastSceneFormat.h#L178 */ export type ArxRoomData = { numberOfPortals: number; numberOfPolygons: number; }; export declare class RoomData { static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxRoomData; static accumulateFrom(room: ArxRoom): ArrayBuffer; static sizeOf(): number; }