SIMCONNECT_RECV_EVENT_MULTIPLAYER_SESSION_ENDED
The SIMCONNECT_RECV_EVENT_MULTIPLAYER_SESSION_ENDED structure is sent to a client when they have requested to leave a race, or to all players when the session is terminated by the host.
Syntax
struct SIMCONNECT_RECV_EVENT_MULTIPLAYER_SESSION_ENDED : public SIMCONNECT_RECV_EVENT {};
Members
This structure takes no parameters in addition to those inherited from the SIMCONNECT_RECV_EVENT structure.
Remarks
This is the only event that is broadcast to all the players in a multi-player race, in the situation where the host terminates, or simply leaves, the race. If a client ends their own participation in the race, they will be the only one to receive the event.
See Also