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:
parent
0d32bf91eb
commit
1d27ef18dc
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user