UNPKG

xcom2charpool

Version:

Library for reading, manipulating, and managing XCOM 2 character pool binary files, supporting both browser and Node.js environments.

11 lines (10 loc) 500 B
import type { Reader } from '../Reader'; import type { Writer } from '../Writer'; import { Packer } from '../Packer'; export declare class StructProperty { readonly type: string; readonly value: Record<string, any>; constructor(type: string, value: Record<string, any>); static from(reader: Reader, name: string, size: number, factory: (reader: Reader) => any): StructProperty; static to(target: Writer, value: StructProperty, packer: Packer, isArrayElement?: boolean): number; }