|
This function was deprecated in 10.2.0 and will be removed in the next expansion.
|
Returns true if the specified addon is load-on-demand.
loadDemand = IsAddOnLoadOnDemand(name)
Arguments
- name
- string|number - The name of the addon to be queried, or an index from 1 to GetNumAddOns. The state of Blizzard addons can only be queried by name.
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
AddOn |
---|
|
Global API |
---|
| | |
---|
| Enable | |
---|
| Disable | |
---|
| LoadOnDemand | |
---|
| Dependencies | |
---|
| VersionCheck |
- IsAddonVersionCheckEnabled
- SetAddonVersionCheck
|
---|
| Save |
- SaveAddOns
- ResetAddOns
- ResetDisabledAddOns
|
---|
| |
| |
| |
CVars |
- checkAddonVersioncheckAddonVersion (Game)
Default: 1 Check interface addon version number
|
---|
| |
| |
|
|