Skip to main content

Merchant.IsRecipeKnown

Declaration#

public virtual bool IsRecipeKnown(GDTKRecipe recipe)

Parameters#

NameDescription
recipeRecipe to check

Description#

Get if a Recipe is known to this inventory

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(Merchant target)    {        bool result = target.IsRecipeKnown(InventoryDatabase.instance.recipes[0]);    }
}