arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
14 lines (13 loc) • 462 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
/** @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/graphics/data/FTLFormat.h#L148 */
export type ArxSelection = {
name: string;
selected: number[];
};
export declare class Selection {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxSelection & {
numberOfSelected: number;
};
static accumulateFrom(selection: ArxSelection): ArrayBuffer;
static sizeOf(): number;
}