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: 5,937
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  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