Facepunch.Steamworks Wiki

Revision Difference

SteamInventory.CraftItemAsync#522430

<member type="method" namespace="Steamworks" parent="SteamInventory" name="CraftItemAsync" async="true" static="true"> <args> <arg name="list" type="InventoryItem[]"></arg> <arg name="target" type="InventoryDef"></arg> </args> <return type="Task<Nullable<InventoryResult>>"></return> <summary>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.</summary> </member> <member type="method" namespace="Steamworks" parent="SteamInventory" name="CraftItemAsync" async="true" static="true"> <args> <arg name="list" type="InventoryItem+Amount[]"></arg> <arg name="target" type="InventoryDef"></arg> </args> <return type="Task<Nullable<InventoryResult>>"></return> <summary>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.</summary> </member>