Quantcast ESOUI - View Single Post - Some LUA questions
View Single Post
03/18/19, 08:50 AM   #9
Wheels
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 41
Originally Posted by Supportic View Post
Just to clarify, am I allowed to do this:

Addon = {
name = "uniqueName"
}

basically the same as:

Addon.name = "uniqueName"

OR

Do you mean the table Addon should not exist because everyone could use the same name and I should choose something like:

uniqueTable = {
addonName = "uniqueName"
}
The second one, your addon's namespace will be global, and you don't want to run the risk of having your table be the same name as another, as data will start being overwritten.
  Reply With Quote