RecipeCount¶
Namespace Nfty.Core.Output in assembly Nfty.Core.
How many assets one recipe produced.
Constructors¶
RecipeCount(string, int, double)¶
Parameters
Recipe(string) - The recipe's id — what--recipetakes, and what thedistributionarray inset.jsonhas always held. This said "display name" for a long time and no reader was in a position to notice: nothing rendered the field untilSetReportdid, and the writer takes it fromGeneratedAsset.RecipeId. The doc is what was wrong, not the data — the array is sorted by this value with an ordinal comparer to keepset.jsonbyte-identical across machines, and Sets carrying ids are out in the world.Count(int) - How many assets it produced.Percent(double) - Its share of the collection.
Properties¶
Count¶
How many assets it produced.
Percent¶
Its share of the collection.
Recipe¶
The recipe's id — what --recipe takes, and what the distribution array in set.json has always held. This said "display name" for a long time and no reader was in a position to notice: nothing rendered the field until SetReport did, and the writer takes it from GeneratedAsset.RecipeId. The doc is what was wrong, not the data — the array is sorted by this value with an ordinal comparer to keep set.json byte-identical across machines, and Sets carrying ids are out in the world.