Esempio n. 1
0
 public void ExchangeItems(InventoryItemDefinition itemToCraft, int recipeIndex)
 {
     itemToCraft.Craft(recipeIndex);
 }
Esempio n. 2
0
 /// <summary>
 /// <para>Exchange items for the indicated recipe</para>
 /// <para>NOTE: this method will trigger the Items Exchanged event and can optionally trigger a full inventory refresh on completion of the exchange.</para>
 /// </summary>
 /// <param name="recipe"></param>
 /// <param name="postExchangeRefresh"></param>
 public void ExchangeItems(InventoryItemDefinition itemToCraft, CraftingRecipe recipe)
 {
     itemToCraft.Craft(recipe);
 }