sc4
Version:
A command line utility for automating SimCity 4 modding tasks & modifying savegames
46 lines (45 loc) • 1.21 kB
TypeScript
import type { ConstructorOptions, MinLengthArray, uint32 } from 'sc4/types';
import type { ValueOf } from 'type-fest';
export type LotObjectTypeId = ValueOf<typeof LotObjectType>;
export type LotObjectArray = [LotObjectTypeId, ...MinLengthArray<uint32, 11>];
export type LotObjectOptions = ConstructorOptions<LotObject> | LotObjectArray;
declare const LotObjectType: {
readonly Building: 0;
readonly Prop: 1;
readonly Texture: 2;
readonly Fence: 3;
readonly Flora: 4;
readonly Water: 5;
readonly Land: 6;
readonly Network: 7;
};
export default class LotObject {
static Building: 0;
static Prop: 1;
static Texture: 2;
static Fence: 3;
static Flora: 4;
static Water: 5;
static Land: 6;
static Network: 7;
type: ValueOf<typeof LotObjectType>;
lod: number;
orientation: number;
x: number;
y: number;
z: number;
minX: number;
minZ: number;
maxX: number;
maxZ: number;
usage: number;
OID: number;
IIDs: number[];
networkType: number;
RUL1: number;
RUL2: number;
constructor(config?: LotObjectOptions);
get IID(): number | undefined;
toArray(): LotObjectArray;
}
export {};