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)); }
public void StoreBeatmap(CollectionManager.DataTypes.Beatmap beatmap) { StoreBeatmap((IBeatmap)beatmap); }
public static string BeatmapDirectory(this Beatmap beatmap, string songsDirectory) { return(Path.Combine(songsDirectory, beatmap.Dir)); }