WoW:API GetAddOnDependencies: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
 
m (Move page script moved page API GetAddOnDependencies to API GetAddOnDependencies without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''GetAddOnDependencies''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}
 
Get the required dependencies for an AddOn.
Get the required dependencies for an AddOn.


Line 18: Line 17:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
[[Category:API Functions|GetAddOnDependencies]]
[[Category:API AddOn Functions|GetAddOnDependencies]]

Latest revision as of 04:45, 15 August 2023

WoW API < GetAddOnDependencies

Get the required dependencies for an AddOn.

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

Parameters[edit]

Arguments[edit]

(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[edit]

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)