Skip to content

Chassis API changes

A member listed under a version is callable from that version on. Check “Removed” and “Signature changed” before you raise the version you require: a mod built against the old signature breaks on the new one.

  • ChassisApi.ClearPaint(LandVehicle, bool)
  • ChassisApi.ClearTuning(LandVehicle)
  • ChassisApi.GetTuning(LandVehicle, string)
  • ChassisApi.InstallPart(LandVehicle, string)
  • ChassisApi.InstalledPart(LandVehicle, string)
  • ChassisApi.LocalDriverThrottle
  • ChassisApi.PoseAsPusher(Player, LandVehicle, bool)
  • ChassisApi.PushedBy(Player)
  • ChassisApi.RegisterTuningPart(TuningPart)
  • ChassisApi.ReleasePusher(Player)
  • ChassisApi.RemovePart(LandVehicle, string)
  • ChassisApi.RemoveTuningPart(string)
  • ChassisApi.SetHorn(LandVehicle, string)
  • ChassisApi.SetNeon(LandVehicle, Color?, string)
  • ChassisApi.SetPaint(LandVehicle, Color, string, bool)
  • ChassisApi.SetRimColor(LandVehicle, Color?, string)
  • ChassisApi.SetTuning(LandVehicle, string, string)
  • ChassisApi.SetTyreSmoke(LandVehicle, Color?)
  • ChassisApi.SetWindowTint(LandVehicle, Color?)
  • ChassisApi.SetXenon(LandVehicle, Color?)
  • ChassisApi.Tuning(LandVehicle)
  • ChassisApi.TuningChanged
  • ChassisApi.TuningPartById(string)
  • ChassisApi.TuningParts(LandVehicle, string)
  • ChassisApi.TuningStatsOf(LandVehicle)
  • PartFit
  • PartFit.Cut
  • PartFit.Hide
  • PartFit.Position
  • PartFit.Rotation
  • PartFit.Scale
  • TuningFinish
  • TuningFinish.All
  • TuningFinish.Chrome
  • TuningFinish.Classic
  • TuningFinish.Matte
  • TuningFinish.Metal
  • TuningFinish.Metallic
  • TuningPart
  • TuningPart.Build
  • TuningPart.FitFor(string)
  • TuningPart.Fits
  • TuningPart.FitsCode(string)
  • TuningPart.Id
  • TuningPart.Label
  • TuningPart.Price
  • TuningPart.Slot
  • TuningPart.Stats
  • TuningStats
  • TuningStats.Brake
  • TuningStats.Combine(TuningStats, TuningStats)
  • TuningStats.Damper
  • TuningStats.Downforce
  • TuningStats.EnginePitch
  • TuningStats.Gearing
  • TuningStats.Grip
  • TuningStats.Mass
  • TuningStats.RideHeight
  • TuningStats.Spring
  • TuningStats.Steer
  • TuningStats.ToString()
  • TuningStats.Torque
  • ChassisApi.BrakeChanged
  • ChassisApi.ControlUsed
  • ChassisApi.ControlValue(LandVehicle, string)
  • ChassisApi.DriverChanged
  • ChassisApi.GaugeSources
  • ChassisApi.HeadlightsChanged
  • ChassisApi.ReadGauge(LandVehicle, string)
  • ChassisApi.RegisterControlAction(string, Action<ControlUse>)
  • ChassisApi.RegisterGaugeSource(string, Func<LandVehicle, float>)
  • ChassisApi.RegisterOccupantDown(string, Func<OccupantDown, bool>)
  • ChassisApi.RemoveControlAction(string)
  • ChassisApi.RemoveGaugeSource(string)
  • ChassisApi.RemoveInterior(string)
  • ChassisApi.RemoveOccupantDown(string)
  • ChassisApi.ResetTrip(LandVehicle)
  • ChassisApi.ReverseChanged
  • ChassisApi.SetInterior(string, Func<LandVehicle, GameObject>, Action<ChassisProfile>)
  • ChassisApi.Telemetry(LandVehicle)
  • ChassisApi.UseControl(LandVehicle, string, float?)
  • ChassisApi.UsesMph
  • ChassisProfile.Control(string)
  • ChassisProfile.Controls
  • ChassisProfile.Gauges
  • ControlProfile
  • ControlProfile.Action
  • ControlProfile.Angle
  • ControlProfile.Axis
  • ControlProfile.BoxCenter
  • ControlProfile.BoxSize
  • ControlProfile.Default
  • ControlProfile.Kind
  • ControlProfile.Label
  • ControlProfile.Max
  • ControlProfile.Min
  • ControlProfile.Name
  • ControlProfile.Path
  • ControlProfile.Press
  • ControlProfile.Source
  • ControlProfile.Step
  • ControlUse
  • ControlUse.Action
  • ControlUse.By
  • ControlUse.Control
  • ControlUse.IsHost
  • ControlUse.Value
  • ControlUse.Vehicle
  • GaugeProfile
  • GaugeProfile.Axis
  • GaugeProfile.Color
  • GaugeProfile.Format
  • GaugeProfile.From
  • GaugeProfile.Kind
  • GaugeProfile.Max
  • GaugeProfile.Min
  • GaugeProfile.Name
  • GaugeProfile.Path
  • GaugeProfile.Size
  • GaugeProfile.Smooth
  • GaugeProfile.Source
  • GaugeProfile.Threshold
  • GaugeProfile.To
  • GaugeReading
  • GaugeReading.GaugeReading(float, bool)
  • GaugeReading.Invalid
  • GaugeReading.ToString()
  • GaugeReading.Valid
  • GaugeReading.Value
  • KitPart.Name
  • KitPart.Parent
  • OccupantDown
  • OccupantDown.Dead
  • OccupantDown.Npc
  • OccupantDown.Seat
  • OccupantDown.Vehicle
  • VehicleTelemetry
  • VehicleTelemetry.At
  • VehicleTelemetry.Brake
  • VehicleTelemetry.Clock
  • VehicleTelemetry.Driver
  • VehicleTelemetry.Get(string)
  • VehicleTelemetry.Handbrake
  • VehicleTelemetry.Hazard
  • VehicleTelemetry.Headlights
  • VehicleTelemetry.Indicator
  • VehicleTelemetry.Occupied
  • VehicleTelemetry.OdometerKm
  • VehicleTelemetry.Reverse
  • VehicleTelemetry.Rpm
  • VehicleTelemetry.Speed
  • VehicleTelemetry.SpeedKmh
  • VehicleTelemetry.Steer
  • VehicleTelemetry.Throttle
  • VehicleTelemetry.TripKm
  • VehicleTelemetry.Vehicle
  • ChassisApi.AddKeyHint(string, string, Func<KeyHintContext, bool>, Func<KeyCode>)
  • ChassisApi.AddKeyHint(string, string, Func<KeyHintContext, bool>, params KeyCode[])
  • ChassisApi.RemoveKeyHint(string)
  • KeyHintContext
  • KeyHintContext.Driver
  • KeyHintContext.Profile
  • KeyHintContext.Pushing
  • KeyHintContext.Seat
  • KeyHintContext.Vehicle

First release covered here. 125 public types and members.