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