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) 694 B
import type { Reader } from '../Reader'; import type { Writer } from '../Writer'; /** * Represented as a String followed by a UInt32 that is * usually (but not always) 0. As the function of this UInt32 is unknown for * the moment, we just represent the value of if as plain number * * Неизвестное значение как-то связано с вариантами (версиями?) предметов */ export declare class NameProperty { readonly value: string; readonly unk: number; constructor(value: string, unk: number); static from(reader: Reader, name: string, size: number): NameProperty; static to(target: Writer, value: NameProperty): void; }