/// <summary> /// Fixes all windows of this vehicle. /// </summary> public static void FixAllWindows(Vehicle vehicle, Vehicles.VehicleWindow vehicleWindow) { foreach (Vehicles.VehicleWindow window in Enum.GetValues(typeof(Vehicles.VehicleWindow))) { NativeWrappers.FixVehicleWindow(vehicle, window); } }
/// <summary> /// Fixes the specified window of this vehicle. /// </summary> public static void FixWindow(Vehicle vehicle, Vehicles.VehicleWindow vehicleWindow) => NativeWrappers.FixVehicleWindow(vehicle, vehicleWindow);
/// <summary> /// Fixes the specified window of a given vehicle. /// </summary> public static void FixVehicleWindow(Vehicle vehicle, Vehicles.VehicleWindow vehicleWindow) => NativeFunction.Natives.FIX_VEHICLE_WINDOW(vehicle, (int)vehicleWindow);