Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if the specified addon is load-on-demand.
loadDemand = IsAddOnLoadOnDemand(index or name)
Arguments[]
- index
- number - The index from 1 to GetNumAddOns(). Note that you cannot query Blizzard addons by index.
- name
- string - The name of the addon (as in TOC/folder filename), case insensitive.
Returns[]
- loadDemand
- boolean - True if the specified addon is loaded on demand.
Example[]
Loads every LoD addon.
for i = 1, GetNumAddOns() do if IsAddOnLoadOnDemand(i) then LoadAddOn(i) end end
|