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