Dota 2 Workshop Tools/Scripting/API/Global.PrecacheItemByNameAsync: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
| Line 4: | Line 4: | ||
''' void PrecacheItemByNameAsync(string '''', handle '''') ''' | ''' void PrecacheItemByNameAsync(string ''a'', handle ''b'') ''' | ||
''Asynchronously precaches a DOTA item by its dota_npc_items.txt name, provides a callback when it's finished.'' | ''Asynchronously precaches a DOTA item by its dota_npc_items.txt name, provides a callback when it's finished.'' | ||
Revision as of 23:06, 8 August 2014
Function Description
void PrecacheItemByNameAsync(string a, handle b)
Asynchronously precaches a DOTA item by its dota_npc_items.txt name, provides a callback when it's finished.
Parameters
| Type | Name | Description |
|---|---|---|
| string | a | No Description Set |
| handle | b | No Description Set |