UNPKG

xcom2charpool

Version:

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

16 lines (15 loc) 650 B
import { Reader } from '../Reader'; import { Writer } from '../Writer'; import { Codec } from '../Codec'; import { CodecContext } from '../CodecContext'; import { BaseCodec } from '../BaseCodec'; /** * Codec for UE object property maps, reading/writing named property lists. */ export declare class ObjectProperty extends BaseCodec implements Codec<ObjectPropertyValue> { read(reader: Reader, length: number, ctx: CodecContext): ObjectPropertyValue; write(writer: Writer, value: ObjectPropertyValue, ctx: CodecContext): void; private readProperty; private writeProperty; } export type ObjectPropertyValue = Record<string, unknown>;