UNPKG

xcom2charpool

Version:

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

17 lines (16 loc) 713 B
import { TypeCodec } from '../../TypeCodec'; import { Reader } from '../../Reader'; import { CodecContext } from '../../CodecContext'; import { Writer } from '../../Writer'; import { StructPropertyValue } from './StructPropertyValue'; import { BaseCodec } from '../../BaseCodec'; /** * Codec for UE StructProperty values. */ export declare class StructProperty extends BaseCodec implements TypeCodec<StructPropertyValue> { #private; readonly type = "StructProperty"; read(reader: Reader, length: number, ctx: CodecContext): StructPropertyValue; write(writer: Writer, value: StructPropertyValue, ctx: CodecContext): void | number; isSupported(value: unknown): value is StructPropertyValue; }