sc4
Version:
A command line utility for automating SimCity 4 modding tasks & modifying savegames
27 lines (26 loc) • 980 B
TypeScript
import Stream from './stream.js';
import Pointer from './pointer.js';
import { kFileType } from './symbols.js';
import type { ConstructorOptions } from 'sc4/types';
import type { SimGridSint8 } from './sim-grid-file.js';
import type ItemIndex from './item-index.js';
import type cSTETerrain from './cste-terrain.js';
import type cSC4City from './csc4-city.js';
export default class ZoneManager {
static [kFileType]: 697277229;
crc: number;
mem: number;
major: number;
grid: Pointer<SimGridSint8>;
u1: number[];
size: number;
u2: Uint8Array<ArrayBufferLike>;
city: Pointer<cSC4City>;
occupantManager: Pointer<ItemIndex>;
terrain: Pointer<cSTETerrain>;
pollutionSimulator: Pointer<import("./types.js").SavegameRecord>;
budgetSimulator: Pointer<import("./types.js").SavegameRecord>;
constructor(opts?: ConstructorOptions<ZoneManager>);
parse(buff: Stream | Uint8Array): void;
toBuffer(): Uint8Array<ArrayBufferLike>;
}