Skip to content

DifficultiesAttribute

namespace Griff.Modules.Rhythm;
public sealed class DifficultiesAttribute : RowsAttribute

Marks 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.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public static IReadOnlyList<string> Usual { get; }

The difficulties a chart starts with.

public override string Describe()
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)