Пример #1
0
        public static string FullOsuFileLocation(this Beatmap beatmap, string songsDirectory)
        {
            var beatmapDirectory = beatmap.BeatmapDirectory(songsDirectory);

            if (string.IsNullOrEmpty(beatmapDirectory) || string.IsNullOrEmpty(beatmap.OsuFileName))
            {
                return("");
            }
            return(Path.Combine(beatmapDirectory, beatmap.OsuFileName));
        }
Пример #2
0
 public void StoreBeatmap(CollectionManager.DataTypes.Beatmap beatmap)
 {
     StoreBeatmap((IBeatmap)beatmap);
 }
Пример #3
0
 public static string BeatmapDirectory(this Beatmap beatmap, string songsDirectory)
 {
     return(Path.Combine(songsDirectory, beatmap.Dir));
 }