sc4
Version:
A command line utility for automating SimCity 4 modding tasks & modifying savegames
20 lines (19 loc) • 486 B
TypeScript
import type Entry from './dbpf-entry.js';
import type Stream from './stream.js';
import { kFileType } from './symbols.js';
import type TGI from './tgi.js';
type DirRecord = {
tgi: TGI;
size: number;
};
export default class DIR extends Array<DirRecord> {
static [kFileType]: 3899334383;
parse(rs: Stream, opts?: {
entry?: Entry;
}): this;
toBuffer(opts?: {
major?: number;
minor?: number;
}): Uint8Array<ArrayBufferLike>;
}
export {};