arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
15 lines (14 loc) • 514 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
import { type ArxOldKeyFrame } from './OldKeyFrame.js';
import type { ArxTEA } from './TEA.js';
/**
* @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/animation/AnimationFormat.h#L102
*/
export type ArxNewKeyFrame = ArxOldKeyFrame & {
info_frame: string;
};
export declare class NewKeyFrame {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxNewKeyFrame;
static accumulateFrom(json: ArxTEA): ArrayBuffer;
static sizeOf(): number;
}