arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
11 lines (10 loc) • 323 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
import { type ArxEPData } from './EPData.js';
export type ArxRoom = {
portals: number[];
polygons: ArxEPData[];
};
export declare class Room {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxRoom;
static accumulateFrom(room: ArxRoom): ArrayBuffer;
}