Skip to content

Documentation / @sw-file-lib/xml / VehicleSchemas / MicroprocessorComponent

Interface: MicroprocessorComponent ​

ts
interface MicroprocessorComponent {
  type?: number;
  object?: MicroprocessorObject;
}

Defined in: packages/xml/src/schemas/vehicle.ts:243

Represents <c> element in Stormworks vehicle data.

XML location: <vehicle> / <bodies> / <body> / <components> / <c> / <o> / <microprocessor_definition> / <group> / <components> / <c>

Parent: MicroprocessorGroup

If your function only reads the value and does not mutate it, prefer MicroprocessorComponentImmutable for its parameter type.

See ​

Properties ​

PropertyType

type?

number

object?

MicroprocessorObject