WoW:API GetAddOnDependencies

From AddOn Studio
Revision as of 20:54, 28 September 2005 by WoWWiki>Flickering
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetAddOnDependencies - Documentation by Flickering

Get the required dependencies for an AddOn.

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

Parameters

Arguments

(index or "name")
index
Integer - 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, ...
dep1
String - The name of the first required dependenency (nil if none)
dep2
String - The name of the second required dependenency (nil if less than 2)
dep3
String - The name of the third required dependenency (nil if less than 3)

Template:WoW API