LeaderboardOutcome Enumeration

XNA Game Studio 4.0
Values used to provide an outcome for a player's leaderboard entry.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

public enum LeaderboardOutcome

LeaderboardOutcome is used to set the "Outcome" property of a leaderboard entry. For example:

    SignedInGamer gamer = SignedInGamer.SignedInGamers[0];
    // Retrieve LeaderboardWriter for the SignedInGamer.
    LeaderboardWriter writer = gamer.LeaderboardWriter;
    // Get leaderboard entry by specified leaderboard id.
    LeaderboardEntry entry = writer.GetLeaderboard(

    // Send the outcome of this match
    entry.Columns.SetValue("Outcome", LeaderboardOutcome.Win);
    // Send additional Leaderboard data...

 Member nameDescription
LossPlayer lost the match.
NoneNo result reported.
TieMatch resulted in a tie: no player won.
WinPlayer won the match.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions