Skip to content

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

Interface: GroupImmutable ​

ts
interface GroupImmutable {
  readonly id?: number;
  readonly pos?: XmlVec2Immutable;
  readonly data?: DataImmutable;
  readonly components?: readonly ComponentImmutable[];
  readonly components_bridge?: readonly ComponentBridgeImmutable[];
  readonly groups?: {};
  readonly component_states?: Readonly<Record<string, ObjectImmutable>>;
  readonly component_bridge_states?: Readonly<Record<string, ObjectBridgeImmutable>>;
  readonly group_states?: {};
}

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

Represents <group> element in Stormworks microcontroller data.

XML location: <microprocessor> / <group>

Parent: MicroprocessorImmutable

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

See ​

Properties ​

PropertyModifierType

id?

readonly

number

pos?

readonly

XmlVec2Immutable

data?

readonly

DataImmutable

components?

readonly

readonly ComponentImmutable[]

components_bridge?

readonly

readonly ComponentBridgeImmutable[]

groups?

readonly

{ }

component_states?

readonly

Readonly<Record<string, ObjectImmutable>>

component_bridge_states?

readonly

Readonly<Record<string, ObjectBridgeImmutable>>

group_states?

readonly

{ }