Originally Posted by Xrystal
It would be appreciated Seerah I'm sure I'm not the only one that looks at it and goes 'errrrrr'. I don't suppose ESO ever did the WoW thing and make an addon wide table to use so we can have multiple files and still not leak into global space ? I loved it when they did that.
|
That wasn't a wow thing as such, it was part of the Ace Library. They declared a single global namespace table, AceAddon or some such, and anybody who used the lib could declare their addon's table in that and reference it the same way. So only one global entry as a reference that any of your mod files could pull from.
I wonder if its possible to make a similiar 'base' lib for that type of functionality, though I don't nearly have enough understanding of the 'low level' metatable handling to implement embeddable libs like AceLib did.