示例#1
0
 public List <Beatmap> GetBeatmapsByMapInfo(List <BeatmapSettings> settings, TimeSortMode sortMode)
 {
     try
     {
         return(_dbOperator.GetBeatmapsByMapInfo(settings, sortMode));
     }
     catch (Exception ex)
     {
         Notification.Push($"Error while getting maps from collection: {ex.Message}");
         return(new List <Beatmap>());
     }
 }