Skip to content

Documentation / @sw-file-lib/xml / MicrocontrollerSchemas / ObjectImmutable

Interface: ObjectImmutable ​

ts
interface ObjectImmutable {
  readonly id?: number;
  readonly count?: number;
  readonly ct?: number;
  readonly dt?: number;
  readonly c1?: number;
  readonly c2?: number;
  readonly l?: string;
  readonly m?: number;
  readonly memory?: number;
  readonly is?: boolean;
  readonly name?: string;
  readonly offset?: number;
  readonly on?: string;
  readonly off?: string;
  readonly c?: number;
  readonly p?: boolean;
  readonly p1?: number | boolean;
  readonly p2?: number | boolean;
  readonly p3?: number;
  readonly script?: string;
  readonly t?: number;
  readonly u?: number;
  readonly vp?: number;
  readonly ip?: boolean;
  readonly e?: string | TextValuePairImmutable;
  readonly n?: string | TextValuePairImmutable;
  readonly v?: string | TextValuePairImmutable;
  readonly i?: number | TextValuePairImmutable;
  readonly pos?: XmlVec2Immutable;
  readonly inc?: InImmutable;
  readonly in1?: InImmutable;
  readonly in2?: InImmutable;
  readonly in3?: InImmutable;
  readonly in4?: InImmutable;
  readonly in5?: InImmutable;
  readonly in6?: InImmutable;
  readonly in7?: InImmutable;
  readonly in8?: InImmutable;
  readonly in9?: InImmutable;
  readonly in10?: InImmutable;
  readonly in11?: InImmutable;
  readonly in12?: InImmutable;
  readonly in13?: InImmutable;
  readonly in14?: InImmutable;
  readonly in15?: InImmutable;
  readonly in16?: InImmutable;
  readonly in17?: InImmutable;
  readonly in18?: InImmutable;
  readonly in19?: InImmutable;
  readonly in20?: InImmutable;
  readonly in21?: InImmutable;
  readonly in22?: InImmutable;
  readonly in23?: InImmutable;
  readonly in24?: InImmutable;
  readonly in25?: InImmutable;
  readonly in26?: InImmutable;
  readonly in27?: InImmutable;
  readonly in28?: InImmutable;
  readonly in29?: InImmutable;
  readonly in30?: InImmutable;
  readonly in31?: InImmutable;
  readonly in32?: InImmutable;
  readonly inoff?: InImmutable;
  readonly out1?: OutImmutable;
  readonly out2?: OutImmutable;
  readonly items?: readonly ItemImmutable[];
  readonly kp?: TextValuePairImmutable;
  readonly ki?: TextValuePairImmutable;
  readonly kd?: TextValuePairImmutable;
  readonly r?: TextValuePairImmutable;
  readonly min?: TextValuePairImmutable;
  readonly max?: TextValuePairImmutable;
  readonly int?: TextValuePairImmutable;
}

Defined in: packages/xml/src/schemas/generated/microcontroller-immutable.ts:248

Represents <object> element or <c*> element in Stormworks microcontroller data.

XML locations:

  • <microprocessor> / <group> / <components> / <c> / <object>
  • <microprocessor> / <group> / <component_states> / <c*>

Parents: Component or Group

This is the recommended type for function parameters when it does not need to modify the value. Use Object instead if mutation is required.

See ​

Properties ​

PropertyModifierType

id?

readonly

number

count?

readonly

number

ct?

readonly

number

dt?

readonly

number

c1?

readonly

number

c2?

readonly

number

l?

readonly

string

m?

readonly

number

memory?

readonly

number

is?

readonly

boolean

name?

readonly

string

offset?

readonly

number

on?

readonly

string

off?

readonly

string

c?

readonly

number

p?

readonly

boolean

p1?

readonly

number | boolean

p2?

readonly

number | boolean

p3?

readonly

number

script?

readonly

string

t?

readonly

number

u?

readonly

number

vp?

readonly

number

ip?

readonly

boolean

e?

readonly

| string | TextValuePairImmutable

n?

readonly

| string | TextValuePairImmutable

v?

readonly

| string | TextValuePairImmutable

i?

readonly

| number | TextValuePairImmutable

pos?

readonly

XmlVec2Immutable

inc?

readonly

InImmutable

in1?

readonly

InImmutable

in2?

readonly

InImmutable

in3?

readonly

InImmutable

in4?

readonly

InImmutable

in5?

readonly

InImmutable

in6?

readonly

InImmutable

in7?

readonly

InImmutable

in8?

readonly

InImmutable

in9?

readonly

InImmutable

in10?

readonly

InImmutable

in11?

readonly

InImmutable

in12?

readonly

InImmutable

in13?

readonly

InImmutable

in14?

readonly

InImmutable

in15?

readonly

InImmutable

in16?

readonly

InImmutable

in17?

readonly

InImmutable

in18?

readonly

InImmutable

in19?

readonly

InImmutable

in20?

readonly

InImmutable

in21?

readonly

InImmutable

in22?

readonly

InImmutable

in23?

readonly

InImmutable

in24?

readonly

InImmutable

in25?

readonly

InImmutable

in26?

readonly

InImmutable

in27?

readonly

InImmutable

in28?

readonly

InImmutable

in29?

readonly

InImmutable

in30?

readonly

InImmutable

in31?

readonly

InImmutable

in32?

readonly

InImmutable

inoff?

readonly

InImmutable

out1?

readonly

OutImmutable

out2?

readonly

OutImmutable

items?

readonly

readonly ItemImmutable[]

kp?

readonly

TextValuePairImmutable

ki?

readonly

TextValuePairImmutable

kd?

readonly

TextValuePairImmutable

r?

readonly

TextValuePairImmutable

min?

readonly

TextValuePairImmutable

max?

readonly

TextValuePairImmutable

int?

readonly

TextValuePairImmutable