UNPKG

sc4

Version:

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

15 lines (14 loc) 487 B
import type { sint32, uint16, uint32, uint8, float } from 'sc4/types'; import type Stream from './stream.js'; type SGPropPrimitive = uint8 | uint16 | uint32 | sint32 | bigint | float | boolean; type SGPropValue = null | string | SGPropPrimitive | SGPropPrimitive[]; export default class SGProp { name: number; unknown0: number; type: number; value: SGPropValue; unknown1: number; parse(rs: Stream): this; toBuffer(): Uint8Array<ArrayBufferLike>; } export {};