1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:15:45 +08:00

Use more descriptive HitObject names for debugger displays

This commit is contained in:
Dan Balasescu 2024-06-13 15:18:39 +09:00
parent 67f1511ad1
commit 91f2cf8cc3
No known key found for this signature in database

View File

@ -12,6 +12,7 @@ using JetBrains.Annotations;
using Newtonsoft.Json; using Newtonsoft.Json;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Extensions.ListExtensions; using osu.Framework.Extensions.ListExtensions;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Lists; using osu.Framework.Lists;
using osu.Game.Audio; using osu.Game.Audio;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
@ -228,6 +229,8 @@ namespace osu.Game.Rulesets.Objects
return new HitSampleInfo(sampleName); return new HitSampleInfo(sampleName);
} }
public override string ToString() => $"{GetType().ReadableName()} @ {StartTime}";
} }
public static class HitObjectExtensions public static class HitObjectExtensions