NftyMetadata¶
Namespace Nfty.Core.Output in assembly Nfty.Core.
Rich nfty-specific per-item metadata. Written to nfty/NNNN.json alongside the OpenSea file so the OpenSea file stays standards-pure. Carries the generator's extras.
Constructors¶
NftyMetadata(int, string, string, string, IReadOnlyList<RarityAttribute>, IReadOnlyList<LayerColor>, IReadOnlyList<string>?)¶
public NftyMetadata(int SetNumber, string Recipe, string Dna, string Seed, IReadOnlyList<RarityAttribute> Rarity, IReadOnlyList<LayerColor> Layers, IReadOnlyList<string>? AbsentLayers = null);
Parameters
SetNumber(int) - The asset's number within the Set.Recipe(string) - The id of the recipe it was rolled from.Dna(string) - Its identity hash.Seed(string) - The seed of the run that produced it.Rarity(IReadOnlyList<RarityAttribute>) - The share of the collection carrying each of its traits.Layers(IReadOnlyList<LayerColor>) - What each layer contributed, including the color it rolled.AbsentLayers(IReadOnlyList<string>?) - The ids of optional layers the roll left out; null when none were.
Properties¶
AbsentLayers¶
The ids of optional layers the roll left out; null when none were.
Dna¶
Its identity hash.
Layers¶
What each layer contributed, including the color it rolled.
Rarity¶
The share of the collection carrying each of its traits.
Recipe¶
The id of the recipe it was rolled from.
Seed¶
The seed of the run that produced it.
SetNumber¶
The asset's number within the Set.