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

Add xmldoc for IsValidMod

This commit is contained in:
Dean Herbert 2022-05-08 01:49:29 +09:00
parent 0d32bf91eb
commit 1d27ef18dc
2 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Mods
private Func<Mod, bool>? filter;
/// <summary>
/// Function determining whether each mod in the column should be displayed.
/// A function determining whether each mod in the column should be displayed.
/// A return value of <see langword="true"/> means that the mod is not filtered and therefore its corresponding panel should be displayed.
/// A return value of <see langword="false"/> means that the mod is filtered out and therefore its corresponding panel should be hidden.
/// </summary>

View File

@ -36,6 +36,11 @@ namespace osu.Game.Overlays.Mods
private Func<Mod, bool> isValidMod = m => true;
/// <summary>
/// A function determining whether each mod in the column should be displayed.
/// A return value of <see langword="true"/> means that the mod is not filtered and therefore its corresponding panel should be displayed.
/// A return value of <see langword="false"/> means that the mod is filtered out and therefore its corresponding panel should be hidden.
/// </summary>
public Func<Mod, bool> IsValidMod
{
get => isValidMod;