arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
12 lines (11 loc) • 429 B
TypeScript
import type { Simplify } from 'type-fest';
import { BinaryIO } from '../common/BinaryIO.js';
import { type ArxAnchorData } from './AnchorData.js';
export type ArxAnchor = {
data: Simplify<Omit<ArxAnchorData, 'numberOfLinkedAnchors'>>;
linkedAnchors: number[];
};
export declare class Anchor {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxAnchor;
static accumulateFrom(anchor: ArxAnchor): ArrayBuffer;
}