UNPKG

arx-convert

Version:

Converts various Arx Fatalis formats to JSON or YAML and back

11 lines (10 loc) 376 B
import { BinaryIO } from '../common/BinaryIO.js'; import { type ArxAnchorData } from './AnchorData.js'; export type ArxAnchor = { data: Omit<ArxAnchorData, 'numberOfLinkedAnchors'>; linkedAnchors: number[]; }; export declare class Anchor { static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxAnchor; static accumulateFrom(anchor: ArxAnchor): ArrayBuffer; }