arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
16 lines (15 loc) • 488 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
/** @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/graphics/data/FTLFormat.h#L122 */
export type ArxGroup = {
name: string;
origin: number;
indices: number[];
blobShadowSize: number;
};
export declare class Group {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxGroup & {
numberOfIndices: number;
};
static accumulateFrom(group: ArxGroup): ArrayBuffer;
static sizeOf(): number;
}