diff --git a/Facepunch.Steamworks/SteamInventory.cs b/Facepunch.Steamworks/SteamInventory.cs index affa5ae..1f6925e 100644 --- a/Facepunch.Steamworks/SteamInventory.cs +++ b/Facepunch.Steamworks/SteamInventory.cs @@ -317,5 +317,18 @@ namespace Steamworks return await InventoryResult.GetAsync( sresult ); } + + /// + /// Trigger an item drop for this user. This is for timed drops. + /// + public static async Task TriggerItemDropAsync( InventoryDefId id ) + { + var sresult = default( SteamInventoryResult_t ); + + if ( !Internal.TriggerItemDrop( ref sresult, id ) ) + return null; + + return await InventoryResult.GetAsync( sresult ); + } } } \ No newline at end of file