Add ToString() overrides on many classes to make debugging easier

This commit is contained in:
Dean Herbert
2017-12-16 16:14:01 +09:00
parent a8a2c233a0
commit 49ce42d90c
5 changed files with 12 additions and 0 deletions

View File

@ -118,6 +118,8 @@ namespace osu.Game.Beatmaps
[JsonProperty("difficulty_rating")]
public double StarDifficulty { get; set; }
public override string ToString() => $"{Metadata} [{Version}]";
public bool Equals(BeatmapInfo other)
{
if (ID == 0 || other?.ID == 0)