Skip to content

SessionFlags bitfield

SessionFlags are the SDK representation of the flags shown to the user in the user interface, the flags also include the status of the starting lights shown in the UI.

Waving flags are shown as flashing flag graphics in the iRacing Sim Interface.

irsdk_Flags

NameValueDescription
irsdk_checkered0x00000001Client is being shown the checkered (Race Finished) flag
irsdk_white0x00000002Client is being shown the white (1 lap to go) flag
irsdk_green0x00000004Client is being shown the green (start or restart) flag
irsdk_yellow0x00000008Client is being shown the yellow (local yellow) flag
irsdk_red0x00000010
irsdk_blue0x00000020Client is being shown the blue (lapping car behind)
irsdk_debris0x00000040
irsdk_crossed0x00000080
irsdk_yellowWaving0x00000100Client is being shown the yellow (flashing local yellow) flag
irsdk_oneLapToGreen0x00000200
irsdk_greenHeld0x00000400
irsdk_tenToGo0x00000800
irsdk_fiveToGo0x00001000
irsdk_randomWaving0x00002000
irsdk_caution0x00004000Full Course Caution
irsdk_cautionWaving0x00008000Full Course Caution being established
irsdk_black0x00010000Client has a black (penalty) flag
irsdk_disqualify0x00020000Client has been disqualified (removed from track)
irsdk_servicible0x00040000
irsdk_furled0x00080000
irsdk_repair0x00100000
irsdk_startHidden0x10000000
irsdk_startReady0x20000000
irsdk_startSet0x40000000
irsdk_startGo0x80000000

irsdk_white

Is not a guarantee this is the last lap. If the client passes the overall leader before the timing line the white flag will be withdrawn