UNPKG

sc4

Version:

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

26 lines (25 loc) 728 B
import type { dword, float } from 'sc4/types'; import type Stream from './stream.js'; import { kFileType } from './symbols.js'; import Unknown from './unknown.js'; import type Pointer from './pointer.js'; import SimulatorDate from './simulator-date.js'; export default class cSC4City { static [kFileType]: 2307965810; crc: dword; mem: dword; version: string; date: SimulatorDate; name: string; originalName: string; mayor: string; anotherName: string; physicalSize: number[]; physicalTileSize: number[]; tilesPerMeter: [float, float]; size: [number, number]; pointers: Pointer[]; u: Unknown; parse(rs: Stream): void; toBuffer(): Uint8Array<ArrayBufferLike>; }