Skip to content

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

Interface: ComponentImmutable ​

ts
interface ComponentImmutable {
  readonly d?: string;
  readonly t?: number;
  readonly o?: ComponentOImmutable;
}

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

Represents <c> element in Stormworks vehicle data.

XML location: <vehicle> / <bodies> / <body> / <components> / <c>

Parent: BodyImmutable

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

See ​

Properties ​

PropertyModifierType

d?

readonly

string

t?

readonly

number

o?

readonly

ComponentOImmutable