예제 #1
0
 private void SetBeatmap()
 {
     if ((_bm = Beatmaps.FetchFromDatabase(_factory, _fileMd5)) != null)
     {
         return;
     }
     if ((_bm = Beatmaps.FetchFromApi(_cfg, _fileMd5)) != null)
     {
         Beatmaps.InsertBeatmap(_factory, _bm);
     }
 }