Пример #1
0
        public Collections GetCollectionsForBeatmaps(Beatmaps beatmaps)
        {
            var collections = new Collections();
            var hashes      = beatmaps.Select(b => b.Md5).ToArray();

            collections.AddRange(LoadedCollections.Where(c => hashes.Intersect(c.BeatmapHashes).Any()));
            return(collections);
        }