UNPKG

sc4

Version:

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

48 lines (47 loc) 1.34 kB
import { kFileType, kFileTypeArray } from './symbols.js'; import Unknown from './unknown.js'; import type Stream from './stream.js'; import type { byte, dword, float } from 'sc4/types'; import TractInfo from './tract-info.js'; import type SGProp from './sgprop.js'; import type Matrix3 from './matrix-3.js'; import Vector3 from './vector-3.js'; import Vertex from './vertex.js'; import Box3 from './box-3.js'; import type NetworkCrossing from './network-crossing.js'; import TGI from './tgi.js'; export default class NetworkBridgeOccupant { static [kFileType]: 1238113229; static [kFileTypeArray]: boolean; crc: dword; mem: dword; version: string; appearance: dword; tract: TractInfo; sgprops: SGProp[]; tgi: TGI<number>; matrix3: Matrix3 | null; position: Vector3; vertices: [Vertex, Vertex, Vertex, Vertex]; modelId: dword; wealthTexture: byte; baseTexture: dword; orientation: byte; crossings: NetworkCrossing[]; walls: ({ texture: dword; vertex: Vertex; })[]; bbox: Box3; constructionStates: dword; pathId: dword; demolishingCosts: bigint; pillar: { id: dword; rotation: float; position: Vector3; } | null; u: Unknown; parse(rs: Stream): this; toBuffer(): Uint8Array<ArrayBufferLike>; }