Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)
This event occurs at the end of gameplay, immediately before the session returns to the lobby state, and when a player leaves a session during gameplay. Titles should use NetworkGamer.LeaderboardWriter to respond to this event in two ways, depending on whether or not the player is leaving during an in-progress Ranked game.
- If the player is leaving an in-progress Ranked game, titles should write bad statistics for the player.
- If the player is not leaving a Ranked game and the game is returning to the lobby, the game should output their final scores for the session, if they have not already done so.
- No other networking or gamer services methods may be called from inside this event handler.