Example #1
0
 private void TelemetryOnJobFinished(object sender, EventArgs args)
 {
     //save.UpdateAllSavedValues(true);
     data.LogJob(save.GetLastJobSourceCity(), save.GetLastJobTargetCity(), save.GetLastJobCargo(), save.GetLastJobWeight(), save.GetLastJobSourceCompany(), save.GetLastJobTargetCompany(), save.GetLastJobPlannedDistance(), save.GetLastJobDrivenDistance(), save.GetLastJobInitialEarnings(), save.GetLastJobProfit(), save.GetLastJobEXP(), trailerDamage, save.GetLastJobRemainingTime(), save.GetLastJobTimeStarted(), save.GetLastJobTimeEnded(), save.GetLastJobVehicle(), avgFuelConsumption, save.GetLastJobRefueledAmount(), save.GetLastJobRefueledAmountCost(), maxSpeed);
     //MessageBox.Show("Job finished, or at least unloaded nearby cargo destination.");
 }