Skip to content

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

Interface: ObjectBridge ​

ts
interface ObjectBridge {
  id?: number;
  pos?: XmlVec2;
  in1?: In;
  out1?: Out;
}

Defined in: packages/xml/src/schemas/microcontroller.ts:333

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

XML locations:

  • <microprocessor> / <group> / <components_bridge> / <c> / <object>
  • <microprocessor> / <group> / <component_bridge_states> / <c*>

Parents: ComponentBridge or Group

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

See ​

Properties ​

PropertyType

id?

number

pos?

XmlVec2

in1?

In

out1?

Out