1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Update remaining actions to events

This commit is contained in:
Dean Herbert 2021-11-07 11:34:37 +09:00
parent 89cc2523ef
commit f0809801c5
2 changed files with 8 additions and 8 deletions

View File

@ -100,19 +100,19 @@ namespace osu.Game.Beatmaps
/// <summary>
/// Fired when a single difficulty has been hidden.
/// </summary>
public Action<BeatmapInfo> BeatmapHidden
public event Action<BeatmapInfo> BeatmapHidden
{
get => beatmapModelManager.BeatmapHidden;
set => beatmapModelManager.BeatmapHidden = value;
add => beatmapModelManager.BeatmapHidden += value;
remove => beatmapModelManager.BeatmapHidden -= value;
}
/// <summary>
/// Fired when a single difficulty has been restored.
/// </summary>
public Action<BeatmapInfo> BeatmapRestored
public event Action<BeatmapInfo> BeatmapRestored
{
get => beatmapModelManager.BeatmapRestored;
set => beatmapModelManager.BeatmapRestored = value;
add => beatmapModelManager.BeatmapRestored += value;
remove => beatmapModelManager.BeatmapRestored -= value;
}
/// <summary>

View File

@ -36,12 +36,12 @@ namespace osu.Game.Beatmaps
/// <summary>
/// Fired when a single difficulty has been hidden.
/// </summary>
public Action<BeatmapInfo> BeatmapHidden;
public event Action<BeatmapInfo> BeatmapHidden;
/// <summary>
/// Fired when a single difficulty has been restored.
/// </summary>
public Action<BeatmapInfo> BeatmapRestored;
public event Action<BeatmapInfo> BeatmapRestored;
/// <summary>
/// An online lookup queue component which handles populating online beatmap metadata.