Skip to content

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

Interface: LogicSlot ​

ts
interface LogicSlot {
  editor_connected?: number;
  value?: number | boolean | {};
}

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

Represents <slot> element in Stormworks vehicle data.

XML location: <vehicle> / <bodies> / <body> / <components> / <c> / <o> / <logic_slots> / <slot>

Parent: ComponentO

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

See ​

Properties ​

PropertyType

editor_connected?

number

value?

| number | boolean | { }