sc4
Version:
A command line utility for automating SimCity 4 modding tasks & modifying savegames
35 lines (34 loc) • 946 B
TypeScript
import SGProp from './sgprop.js';
import { kFileType, kFileTypeArray } from './symbols.js';
import type Stream from './stream.js';
import type { ConstructorOptions } from 'sc4/types';
import TractInfo from './tract-info.js';
import { Vector3, type Vector3Like } from './vector-3.js';
export default class Flora {
static [kFileType]: 2847956101;
static [kFileTypeArray]: boolean;
crc: number;
mem: number;
major: number;
minor: number;
zot: number;
u1: number;
appearance: number;
u2: number;
tract: TractInfo;
sgprops: SGProp[];
GID: number;
TID: number;
IID: number;
IID1: number;
position: Vector3;
cycleDate: Date;
appearanceDate: Date;
state: number;
orientation: number;
objectId: number;
constructor(opts?: ConstructorOptions<Flora>);
move(offset: Vector3Like): this;
parse(rs: Stream): this;
toBuffer(): Uint8Array<ArrayBufferLike>;
}