Skip to content

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

Interface: LogicSlotImmutable ​

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

Defined in: packages/xml/src/schemas/generated/vehicle-immutable.ts:404

Represents <slot> element in Stormworks vehicle data.

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

Parent: ComponentOImmutable

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

See ​

Properties ​

PropertyModifierType

editor_connected?

readonly

number

value?

readonly

| number | boolean | { }