Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetItemAddedToInventoryFilter
< Dota 2 Workshop Tools | Scripting | API

Function Description
void SetItemAddedToInventoryFilter(handle hFunction, handle hContext)
Set a filter function to control when a unit add an item to inventory.
- Example
function CDOTABaseGameMode:SetItemAddedToInventoryFilter( hFunction, hContext ) end
Parameters
Type | Name | Description |
---|---|---|
handle | hFunction | No Description Set |
handle | hContext | No Description Set |