예제 #1
0
    private void UpdateHighscoresAsync()
    {
        var result = _hscores.GetTop();

        if (!result.ToString().StartsWith("[Error]"))
        {
            _hscoretext = "Highscores\n";
            for (var i = 0; i < result.Count; i++)
            {
                _hscoretext += result[i]["Username"] + " - " + result[i]["Score"] + "\n";
            }
        }
    }