Steamworks.SteamInventory.CraftItemAsync
Syntax
Description
Crafting! Uses the passed items to buy the target item. You need to have set up the appropriate exchange rules in your item definitions. This assumes all the items passed in aren't stacked.
Arguments
InventoryItem[] list
InventoryDef target
Returns
Task<InventoryResult>
Syntax
static async Task<InventoryResult> CraftItemAsync( InventoryItem.Amount[] list, InventoryDef target )
Description
Crafting! Uses the passed items to buy the target item. You need to have set up the appropriate exchange rules in your item definitions. This assumes all the items passed in aren't stacked.
Arguments
InventoryItem.Amount[] list
InventoryDef target
Returns
Task<InventoryResult>