Facepunch.Steamworks Wiki

Steamworks.SteamInventory.CraftItemAsync

Syntax

static async Task<InventoryResult> CraftItemAsync( InventoryItem[] 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

Returns

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

Returns