Wowpedia
Advertisement
Wowpedia
240,497
pages
Game Flavors
Links
Patch
Added in 1.7.0 / 1.13.2

Get the required dependencies for an AddOn.

dep1, dep2, dep3, ... = GetAddOnDependencies(index or "name")

Arguments

Specify an addon by either providing its index in the addons list or its name:

index 
number - The index of the AddOn in the user's AddOn list. Note that you cannot access Blizzard-provided AddOns through this mechanism.
name 
string - The name of the AddOn to be queries. You can access Blizzard-provided AddOns through this mechanism.

Returns

dep1, dep2, dep3, ... 
String - Name of an addon the specified addon lists as a required dependency.


Advertisement