Skip to content

Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / LogicNodeImmutable

Interface: LogicNodeImmutable ​

ts
interface LogicNodeImmutable {
  readonly orientation?: number;
  readonly label?: string;
  readonly mode?: number;
  readonly type?: number;
  readonly description?: string;
  readonly flags?: number;
  readonly position?: XmlVec3Immutable;
}

Defined in: packages/xml/src/schemas/generated/component-definition-immutable.ts:116

Represents <logic_node> element in Stormworks component definition data.

XML location: <definition> / <logic_nodes> / <logic_node>

Parent: ComponentDefinitionImmutable

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

See ​

Properties ​

PropertyModifierType

orientation?

readonly

number

label?

readonly

string

mode?

readonly

number

type?

readonly

number

description?

readonly

string

flags?

readonly

number

position?

readonly

XmlVec3Immutable