コード例 #1
0
        public void ScoresTest()
        {
            var scoreDb = new ScoresDb();
            var logger  = new BasicLogger();

            scoreDb.ReadFile(logger);
            var scores = scoreDb.ScoreLists.Sum(s => s.Replays.Count);
        }
コード例 #2
0
ファイル: DbExamples.cs プロジェクト: wwwMADwww/osuElements
        public void Scores()
        {
            var scoresDb = new ScoresDb();

            scoresDb.ReadFile();                  //pathing works the same way as collectionDb
            var scorelists = scoresDb.ScoreLists; //these are the local replays, grouped by beatmaphash
            var hash       = scorelists[0].MapHash;
            var shitmisses = scorelists[0].Replays.Where(s => s.CountMiss == 1);
        }