We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public static async Task<LeaderboardResult> GetLeaderboard(string leaderBoardName) { if (!is_online) return null; try { string id = xboxUser.XboxUserId;//xboxUser.WebAccountId;// var r = await leaderboardService.GetLeaderboardWithSkipToUserAsync( context.AppConfig.ServiceConfigurationId, leaderBoardName, id, 1);
#if DEBUG foreach (LeaderboardRow row in r.Rows) { Debug.WriteLine($"Position:{row.Percentile} Rank:{row.Rank} | Gamertag: {row.Gamertag} | {row.Values[0]}"); }
#endif
return r; } catch (Exception ex) { Debug.WriteLine(ex.Message); } return null; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#if DEBUG
foreach (LeaderboardRow row in r.Rows)
{
Debug.WriteLine($"Position:{row.Percentile} Rank:{row.Rank} | Gamertag: {row.Gamertag} | {row.Values[0]}");
}
#endif
The text was updated successfully, but these errors were encountered: