WoW:API GetAddOnMetadata: Difference between revisions
Jump to navigation
Jump to search
(Did a best-guess type page from the 1.11 patchnotes) |
m (yes) |
||
| Line 14: | Line 14: | ||
=== Returns === | === Returns === | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
:;value : String - The value of the field | :;value : String - The value of the field, nil if not defined. | ||
Revision as of 13:27, 12 July 2006
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.