UNPKG

sc4

Version:

A command line utility for automating SimCity 4 modding tasks & modifying savegames

27 lines (26 loc) 650 B
import type { dword } from 'sc4/types'; import type Pointer from './pointer.js'; import type Stream from './stream.js'; import { kFileType, kFileTypeArray } from './symbols.js'; type Building = { pointer: Pointer; purpose: dword; }; export default class DepartmentBudget { static [kFileType]: 3918577660; static [kFileTypeArray]: boolean; crc: number; mem: number; major: number; u1: number; u2: number; name: string; u3: Uint8Array; lineItems: Pointer[]; buildings: Building[]; u4: number; u5: number; parse(rs: Stream): void; toBuffer(): Uint8Array<ArrayBufferLike>; } export {};