Skip to content

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

Interface: Component ​

ts
interface Component {
  d?: string;
  t?: number;
  o?: ComponentO;
}

Defined in: packages/xml/src/schemas/vehicle.ts:601

Represents <c> element in Stormworks vehicle data.

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

Parent: Body

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

See ​

Properties ​

PropertyType

d?

string

t?

number

o?

ComponentO