Facepunch.Steamworks Wiki

Revision Difference

SteamInventory.GenerateItemAsync#519804

<member type="method" namespace="Steamworks" parent="SteamInventory" name="GenerateItemAsync" async="true" static="true"> <args> <arg name="target" type="Steamworks.InventoryDef"></arg>⤶ <arg name="target" type="InventoryDef"></arg>⤶ <arg name="amount" type="int"></arg> </args> <return type="Task<Nullable<Steamworks.InventoryResult>>"></return>⤶ <return type="Task<Nullable<InventoryResult>>"></return>⤶ <summary>This is used to grant a specific item to the user. This should only be used for development prototyping, from a trusted server, or if you don't care about hacked clients granting arbitrary items. This call can be disabled by a setting on Steamworks.</summary> </member>