Skip to content

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

Interface: ComponentImmutable ​

ts
interface ComponentImmutable {
  readonly type?: number;
  readonly object?: ObjectImmutable;
}

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

Represents <c> element in Stormworks microcontroller data.

XML location: <microprocessor> / <group> / <components> / <c>

Parent: GroupImmutable

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

See ​

Properties ​

PropertyModifierType

type?

readonly

number

object?

readonly

ObjectImmutable