DifficultiesAttribute
namespace Griff.Modules.Rhythm;
public sealed class DifficultiesAttribute : RowsAttributeMarks a property as naming a chart’s difficulty (“Hard”; a NoteLanes’ Difficulty), or a list of them a row each (a SongSelect’s Difficulties): the Inspector picks from the difficulties the charts have (the names their Difficulty column uses), Easy, Normal and Hard among them.
Properties
Section titled “Properties”Columns
Section titled “Columns”public override IReadOnlyList<RowColumn> Columns { get; }Example
Section titled “Example”public override string Example { get; }public override string Noun { get; }public static IReadOnlyList<string> Usual { get; }The difficulties a chart starts with.
Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()MoreChoices
Section titled “MoreChoices”public override IReadOnlyList<string> MoreChoices(int column, Component component, IProjectNames? names)public static IReadOnlyList<string> Of(Component component, IProjectNames? names)The difficulties component‘s charts have: a song select’s songs’ charts, or note lanes’ own chart (its Chart, or the table named like its Song); Easy, Normal and Hard when there are none.
public override IReadOnlyList<string>? Read(string row)public override string Write(IReadOnlyList<string> cells)