| |
GetAddOnInfo(index or "name") returns back some info from the TOC (Title and notes)... would it be possible to expand on this? It seems to have become common practice for addon authors to tag all sorts of metadata in the TOC in the format "## <field>: <data>". Take for example FuBar.toc:
## Interface: 11000
## Title: FuBar |cff007FFF -Ace-|r
## Notes: A panel that modules can plug into.
## Notes-deDE: Eine Leiste in der sich Module einbinden können.
## Notes-frFR: Un panneau dans lequel des modules peuvent se brancher.
## Author: Boss
## eMail: ckknight@gmail.com
## SavedVariables: FuBarDB
## OptionalDeps: CompostLib, Metrognome, BabbleLib
## Dependencies: Ace
## Version: 1.0 $Revision: 541 $
So my request is simple, can you give us a function, say maybe GetAddonMetadata(index or "name", "field") which would return back a string from the TOC comments if there is a match? This would help minimize data duplication for many authors, why update a few files when you can just update the TOC and pull the data from it in-game? As long as the TOC is up to date all your mod's metadata would be.[ post edited by Tekkub ]
2048x768 is finally here! /target Slouken /bow /blow
|