ACE3 - reusing addon table from other addon
View Single Post
01-28-18, 07:40 PM
A Cobalt Mageweaver
Join Date: Apr 2007
For more clarification, the vararg ... is passed to every .lua file upon loading in WoW. It is a Blizzard implementation and is unique to every .toc file, so anything loaded by a single .toc file gets the same two arguments, the name of the .toc file and a table. Every file loaded after the first one gets the same table and any changes made to that table.
There is no way to access that vararg from another addon.
If you're doing something personal, you can just alter that addon's code to allow you to access it or just change the relevant code. If these are your addons, Engavi has a valid method.
Lua Wall of Shame
Don't like combat text on frames?
View Public Profile
Send a private message to Kanegasi
Find More Posts by Kanegasi