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:
parent
89cc2523ef
commit
f0809801c5
@ -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>
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user