Skip to content

RecipeOdds

Namespace Nfty.Core.Stats in assembly Nfty.Core.

public record RecipeOdds

One recipe's share of the collection, from the cookbook's weights.

Constructors

RecipeOdds(string, string, double)

public RecipeOdds(string RecipeId, string RecipeName, double Percent);

Parameters

  • RecipeId (string) - The recipe's id.
  • RecipeName (string) - Its display name.
  • Percent (double) - Its share of mints.

Properties

Percent

public double Percent { get; init; }

Its share of mints.

RecipeId

public string RecipeId { get; init; }

The recipe's id.

RecipeName

public string RecipeName { get; init; }

Its display name.