HazmatClassesProperty

data class HazmatClassesProperty(val hazmatClasses: Set<HazmatClass>) : VehicleProperty

Represents the CargoCapable.hazmatClasses property of the Vehicle model.

Used for updating hazardous loads that may be restricted from some roads, via VehicleProvider.updateVehicleProperties

Parameters

hazmatClasses

The hazardous materials classes of the vehicle's load. If empty set is passed, hazmatClasses will be ignored.

Constructors

Link copied to clipboard
constructor(hazmatClasses: Set<HazmatClass>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard