WoW:API GetAddOnMetadata: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (yes)
(Added link to TOC formatting)
Line 15: Line 15:
<!-- List each return value, together with its type -->
<!-- List each return value, together with its type -->
:;value : String - The value of the field, nil if not defined.
:;value : String - The value of the field, nil if not defined.
=== Related Topics ===
[[The TOC Format|The TOC Format]]

Revision as of 22:43, 4 June 2007

WoW API < GetAddOnMetadata

Returns addon metadata.

 value = GetAddOnMetadata("addon", "field") 

Parameters

Arguments

("addon", "field")
addon
String - Addon name to look up metadata for
field
String - Field name. May be Title, Notes, Author, Version, or anything starting with X-

Returns

value
String - The value of the field, nil if not defined.


Related Topics

The TOC Format