Skip to content

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

Interface: Item ​

ts
interface Item {
  l?: string;
  v?: TextValuePair;
}

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

Represents <i> element in Stormworks microcontroller data.

XML locations:

  • <microprocessor> / <group> / <components> / <c> / <object> / <items> / <i>
  • <microprocessor> / <group> / <component_states> / <c*> / <items> / <i>

Parent: Object

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

See ​

Properties ​

PropertyType

l?

string

v?

TextValuePair