Skip to content

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

Interface: DataImmutable ​

ts
interface DataImmutable {
  readonly type?: number;
  readonly name?: string;
  readonly desc?: string;
  readonly inputs?: {};
  readonly outputs?: {};
}

Defined in: packages/xml/src/schemas/generated/microcontroller-immutable.ts:97

Represents <data> element in Stormworks microcontroller data.

XML location: <microprocessor> / <group> / <data>

Parent: GroupImmutable

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

See ​

Properties ​

PropertyModifierType

type?

readonly

number

name?

readonly

string

desc?

readonly

string

inputs?

readonly

{ }

outputs?

readonly

{ }