SDK Gaming F1 overlay list of driver variables sent to plugins - July 21, 2022 Variable name Type Comment (possible values) ------------- ---- ------------------------- flags Integer Binary coded state of driver 1: dimmed 8: race is finished 16: pit lane 32: pit exit 64: pit stop 128: offtrack 256: is selected car 512: not in world 2048: out lap gain Integer Position gain since start of race classGain Integer Class position gain since start of race carIdx Integer Car index, never changes during a session jokerLapsCompleted Integer Number of joker laps completed so far carName String Short name of car, used for folders and URLs carDisplayName String Detailed car name carId Integer iRacing car ID number String Car number name String iRacing driver name teamName String iRacing team name, same as name in non team sessions teamId String iRacing team ID, 0 in non team sessions multicarTeamName String Multicar team name shortName String iRacing driver short name initials String iRacing driver initials clubName String iRacing club/country name homeTown String Driver home town birthDate String Driver birth date header String Driver title info text info String Driver info text pictureUrl String Driver photo URL numberUrl String Number image URL carUrl String Car image URL className1 String Name of class in class set 1 className2 String Name of class in class set 2 className3 String Name of class in class set 3 position Integer Overall position on track startPosition Integer Overall position on the grid classPosition Integer Class position on track laps Float Laps elapsed lapsLed Integer Laps led lastLapTime Float Last lap time in session bestLapTime Float Best lap time in session qualifyingLapTime Float Qualifying lap time gap Float Gap to leader or class leader interval Float Interval to car ahead carColor1 String iRacing car color 1 carColor2 String iRacing car color 2 carColor3 String iRacing car color 3 carDesign Integer iRacing car design index helmetColor1 String iRacing helmet color 1 helmetColor2 String iRacing helmet color 2 helmetColor3 String iRacing helmet color 2 helmetDesign Integer iRacing helmet design index carNumberFontId Integer iRacing car number font index carNumberStyle Integer iRacing car number style index carNumberColor1 String iRacing car number color 1 carNumberColor2 String iRacing car number color 2 carNumberColor3 String iRacing car number color 3 classColor1 String Background color of class in class set 1 classColor2 String Background color of class in class set 2 classColor3 String Background color of class in class set 3 classTextColor1 String Text color of class in class set 1 classTextColor2 String Text color of class in class set 2 classTextColor3 String Text color of class in class set 3 multicarTeamBackgroundColor String Background color of driver multicar team multicarTeamTextColor String Text color of driver multicar team pitCount Integer Number of pit stops completed lastPitLap Integer Lap of last pit stop lastPitTime Float Time stopped in pit stall during last pit stop lastPitLaneTime Float Time between entry and exit green cones on last pit stop topSpeed Float Top speed during previous lap completed iRating Integer Driver iRating before race iRatingGain Integer Expected iRating gain licenseString String License string, driver class and safety rating userId Integer iRacing user ID offTrackCount Integer Offtrack count, doesn't correspond to iRacing incident count lastSectorTimes Array Driver sector times within the current lap bestSectorTimes Array Best driver sector times in session elapsedLapTimes Array Lap times of all laps completed startFinishLineTimes Array Cumulated time from start to s/f crossing for each lap pitLaps Array Laps on which driver entered pit lane pitLaneTimes Array Time between entry and exit green cones for all pit stops pitTimes Array Time stopped in pit stall during all pit stops inSession Boolean Driver is in session if true tireCompound Integer Index of tire compound p2pCount Integer Number of P2P button presses p2pStatus Boolean P2P button is pressed if true lapped Boolean Driver has been lapped by selected driver if true lapping Boolean Driver is lapping selected driver if true className String Class name in currently selected class set classColor String Class background color in currently selected class set classTextColor String Class text color in currently selected class set modeGain Integer Position gain depending on mode (class, class set, overall) modeGap Float Gap to leader depending on mode (class, class set, overall) modeInterval Float Interval to car hahead depending on mode (class, class set, overall) modePosition Integer Position depending on mode (class, class set, overall)