Variant¶
Namespace Nfty.Core.Model in assembly Nfty.Ticket.
One image inside an Ingredient — the smallest unit a roll can land on. Not a file of its own: variants live inside the .igt that owns them.
Constructors¶
Variant(string, string, double)¶
Parameters
Id(string) - Stable identifier, unique within its Ingredient. Becomes the variant's PNG entry name inside the archive, and is what the DNA records.Name(string) - Display name, shown in reports and the GUI.Weight(double) - Relative roll weight. Zero shelves the variant — it stays in the archive and is never rolled — and negative is rejected byValidator.
Properties¶
Id¶
Stable identifier, unique within its Ingredient. Becomes the variant's PNG entry name inside the archive, and is what the DNA records.
Name¶
Display name, shown in reports and the GUI.
Weight¶
Relative roll weight. Zero shelves the variant — it stays in the archive and is never rolled — and negative is rejected by Validator.