![]() As an example, using LibStub and loading a pair of Ace3 libraries from a Libs subdirectory in the addon's folder:Īdditional libraries can be added by adding additional Include lines. Use this xml file to specify the locations of libraries that should be loaded (typically referencing the library's own XML file via Include). Also, most addons will typically have at least one "main" Lua file which has the initial code to set up the addon - some people like to be consistent and call this something like "a" or "a" in every addon, others prefer to name the main code file after the addon itself, like the. Using a separate file named "embeds.xml" is a fairly commonly accepted way to specify which libraries you want to embed in your addon (such as Ace3 libraries). toc file is simply a list of files that make up the addon. ![]() ![]() ![]() The lines which begin with # provide information about your addon itself to WoW - for instance, "Interface" specifies the interface version your addon was designed to be loaded with (at the time of this writing 40000), "Title" specifies how the name of the addon should be displayed in the addon window, et cetera.Īfter the # lines, the rest of the. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |