Skip to content

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

Interface: Body ​

ts
interface Body {
  unique_id?: number;
  components?: Component[];
}

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

Represents <body> element in Stormworks vehicle data.

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

Parent: Vehicle

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

See ​

Properties ​

PropertyType

unique_id?

number

components?

Component[]