Skip to content

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

Interface: NodeItemImmutable ​

ts
interface NodeItemImmutable {
  readonly id?: number;
  readonly component_id?: number;
  readonly built_slot_index?: number;
  readonly node?: NodeImmutable;
}

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

Represents <n> element in Stormworks microcontroller data.

XML location: <microprocessor> / <nodes> / <n>

Parent: MicroprocessorImmutable

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

See ​

Properties ​

PropertyModifierType

id?

readonly

number

component_id?

readonly

number

built_slot_index?

readonly

number

node?

readonly

NodeImmutable