Facepunch.Steamworks Wiki

Revision Difference

SteamInventory.CraftItemAsync#519332

<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>⤶ </args>⤶ <return type="Task<Nullable<Steamworks.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>⤶ </args>⤶ <return type="Task<Nullable<Steamworks.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>⤶