SetItem¶
Namespace Nfty.Core.Output in assembly Nfty.Core.
One asset in a Set already on disk.
Constructors¶
SetItem(int, string, string, string, IReadOnlyList<RarityAttribute>, IReadOnlyList<LayerColor>, IReadOnlyList<string>?)¶
public SetItem(int Number, string ImagePath, string Dna, string Recipe, IReadOnlyList<RarityAttribute> Rarity, IReadOnlyList<LayerColor> Layers, IReadOnlyList<string>? AbsentLayers = null);
Parameters
Number(int) - Its set number.ImagePath(string) - Path to its PNG. A path, not a decoded image, so listing a Set does not pull the whole collection into memory.Dna(string) - Its identity hash.Recipe(string) - The recipe it came from.Rarity(IReadOnlyList<RarityAttribute>) - Its traits with collection-wide rarity.Layers(IReadOnlyList<LayerColor>) - The per-layer color record.AbsentLayers(IReadOnlyList<string>?) - The layers the roll left out of this asset entirely, by display name. Null for a Set written before optional layers existed, and for any collection that does not use them.
Properties¶
AbsentLayers¶
The layers the roll left out of this asset entirely, by display name. Null for a Set written before optional layers existed, and for any collection that does not use them.
Dna¶
Its identity hash.
ImagePath¶
Path to its PNG. A path, not a decoded image, so listing a Set does not pull the whole collection into memory.
Layers¶
The per-layer color record.
Number¶
Its set number.
Rarity¶
Its traits with collection-wide rarity.
Recipe¶
The recipe it came from.