ItemCountsAttribute
namespace Griff.Scenes;
public sealed class ItemCountsAttribute : FieldEditorAttributeMarks a list of strings as items and how many of each, one a line: “Key 2”, or “Key” for one (an inventory’s Items). The Inspector lists them a row each, the item picked from those the game gives, with how many; the items listed count as given, for the fields that name items.
Properties
Section titled “Properties”FitsText
Section titled “FitsText”public override string FitsText { get; }Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()public override bool Fits(Type type)public static ValueTuple<string, int> Read(string line)A line read: the item and how many (see ReadOne).