Skip to content

ItemIconsAttribute

namespace Griff.Modules.Adventures;
public sealed class ItemIconsAttribute : RowsAttribute

Marks a list of strings as each item’s picture, “Key: Sprites/key.png” or a frame of a sheet, “Rope: Sprites/items.png 4x2 5” (an InventoryBar’s Icons): the Inspector lists them a row each, the item picked, the image picked from the project’s and its frame set.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public override string Describe()
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)