Quantcast WoWInterface - View Single Post - ACE3 - reusing addon table from other addon
View Single Post
01-28-18, 07:40 PM   #3
A Frostmaul Preserver
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 291
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.
  Reply With Quote