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) 636 B
import { CharacterPoolFile } from './CharacterPoolFile'; import { CodecRegistry } from '../Registry'; import { Reader } from '../Reader'; import { Writer } from '../Writer'; import z from 'zod/v4'; import { IAMCharacterPoolSchema } from '../Schema/IAMCharacterPoolSchema'; /** * Wrapper that augments CharacterPoolFile with IAM-specific arrays and schema checks. */ export declare class CharacterPoolFileWithIAM { private readonly file; constructor(file: CharacterPoolFile); get registry(): CodecRegistry; read(reader: Reader): z.infer<typeof IAMCharacterPoolSchema>; write(writer: Writer, file: unknown): void; }