The SIMCONNECT_RECV_EVENT_RACE_END structure is used in multi-player racing to hold the results for one player at the end of a race.

 

Syntax
struct SIMCONNECT_RECV_EVENT_RACE_END : public SIMCONNECT_RECV_EVENT {
    DWORD  dwRacerNumber;
    SIMCONNECT_DATA_RACE_RESULT  RacerData;
};

 

Members
MemberDescription
dwRacerNumberThe index of the racer the results are for. Players are indexed from 0.
RacerDataA SIMCONNECT_DATA_RACE_RESULT structure.

 

Remarks

 

In a multi-player race players can come and go, so index numbers are not a reliable means of identifiying the players. The szPlayerName and szPlayerRole parameters of the SIMCONNECT_DATA_RACE_RESULT structure should be used to identify each player.