API Reference > DriverPerformanceWriter

DriverPerformanceWriter Class

Writes the race or qualifying performance levels for computer drivers, as well as the general grip level for computer cars.

Namespace: ArgData

Constructors

Name Description
DriverPerformanceWriter(GpExeFile exeFile) Creates a DriverPerformanceWriter for the specified GP.EXE file.
exeFile: GpExeFile to read from.

Methods

Name Description
For(GpExeFile exeFile) Creates a DriverPerformanceWriter for the specified GP.EXE file.
exeFile: GpExeFile to read from.
WriteGeneralGripLevel(Int32 gripLevel) Writes the general grip level for computer cars. Allowed values range from 1 to 100.
Greater values mean faster computer cars. Default value is 1.
gripLevel: General grip level.
WriteQualifyingPerformanceLevel(Int32 driverNumber, Byte performanceLevel) Writes the qualifying performance level for the driver with the specified number. Lower value indicates higher performance.
driverNumber: Driver number to write qualifying performance level for.
performanceLevel: Performance level.
WriteQualifyingPerformanceLevels(DriverPerformanceList driverPerformances) Writes the qualifying performance level for all drivers in numerical order. Lower value indicates higher performance.
driverPerformances: DriverPerformanceList with of performance levels.
WriteRacePerformanceLevel(Int32 driverNumber, Byte performanceLevel) Writes the race performance level for the driver with the specified number. Lower value indicates higher performance.
driverNumber: Driver number to write race performance level for.
performanceLevel: Performance level.
WriteRacePerformanceLevels(DriverPerformanceList driverPerformances) Writes the race performance level for all drivers in numerical order. Lower value indicates higher performance.
driverPerformances: DriverPerformanceList with performance levels.