Skip to content

TraitSelection

Namespace Nfty.Core.Generation in assembly Nfty.Core.

public record TraitSelection

One layer's contribution as published metadata.

Constructors

TraitSelection(string, string, string, string)

public TraitSelection(string IngredientId, string IngredientName, string VariantId, string VariantName);

Parameters

  • IngredientId (string) - The layer's id.
  • IngredientName (string) - The trait type shown to a marketplace.
  • VariantId (string) - The variant's id.
  • VariantName (string) - The trait value shown to a marketplace.

Properties

IngredientId

public string IngredientId { get; init; }

The layer's id.

IngredientName

public string IngredientName { get; init; }

The trait type shown to a marketplace.

VariantId

public string VariantId { get; init; }

The variant's id.

VariantName

public string VariantName { get; init; }

The trait value shown to a marketplace.