SIMCONNECT_RECV_EVENT_RACE_END
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
Member | Description |
---|---|
dwRacerNumber |
The index of the racer the results are for. Players are indexed from 0. |
RacerData |
A 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.
See Also