Allow song select to refresh the global WorkingBeatmap after an external update

This commit is contained in:
Dean Herbert
2022-06-20 19:48:46 +09:00
parent 6999933d33
commit 66a01d1ed2
4 changed files with 31 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#nullable disable
using System;
namespace osu.Game.Beatmaps
{
public interface IWorkingBeatmapCache
@ -25,5 +27,7 @@ namespace osu.Game.Beatmaps
/// </summary>
/// <param name="beatmapInfo">The beatmap info to invalidate any cached entries for.</param>
void Invalidate(BeatmapInfo beatmapInfo);
event Action<WorkingBeatmap> OnInvalidated;
}
}