1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 07:42: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> /// <summary>
/// Fired when a single difficulty has been hidden. /// Fired when a single difficulty has been hidden.
/// </summary> /// </summary>
public Action<BeatmapInfo> BeatmapHidden public event Action<BeatmapInfo> BeatmapHidden
{ {
get => beatmapModelManager.BeatmapHidden; add => beatmapModelManager.BeatmapHidden += value;
set => beatmapModelManager.BeatmapHidden = value; remove => beatmapModelManager.BeatmapHidden -= value;
} }
/// <summary> /// <summary>
/// Fired when a single difficulty has been restored. /// Fired when a single difficulty has been restored.
/// </summary> /// </summary>
public Action<BeatmapInfo> BeatmapRestored public event Action<BeatmapInfo> BeatmapRestored
{ {
get => beatmapModelManager.BeatmapRestored; add => beatmapModelManager.BeatmapRestored += value;
set => beatmapModelManager.BeatmapRestored = value; remove => beatmapModelManager.BeatmapRestored -= value;
} }
/// <summary> /// <summary>

View File

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