Facepunch.Steamworks Wiki

Revision Difference

SteamInventory.CraftItemAsync#519805

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