Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteTrueSkill Event

NetworkSession.WriteTrueSkill Event

Notifies the game of its final chance to write TrueSkill data for the specified player.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in microsoft.xna.framework.net.dll)

public event EventHandler<WriteLeaderboardsEventArgs> WriteTrueSkill

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2015 Microsoft