Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-28-10, 05:36 PM   #17
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 6,007
Do I take it then that you could go a step further and make something like this ?

PublicData[addonName].SomeTable_or_DataVariable_Here = "Just so someone can access this variable outside of the addon for further customization..."

Is something we could do to make a public variable more unique seeing as only one addon of that name should exist. Hmm but then again, there's no guarantee that someone doesn't use the same name for data storage ... sigh, was a thought.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Addon file system structuring


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off