Documentation / @sw-file-lib/xml / VehicleSchemas / BodyImmutable
Interface: BodyImmutable
ts
interface BodyImmutable {
readonly unique_id?: number;
readonly components?: readonly ComponentImmutable[];
}Defined in: packages/xml/src/schemas/generated/vehicle-immutable.ts:650
Represents <body> element in Stormworks vehicle data.
XML location: <vehicle> / <bodies> / <body>
Parent: VehicleImmutable
This is the recommended type for function parameters when it does not need to modify the value. Use Body instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
| readonly |