Results: 3Comments by: LoquaciousAndroid
File: LibConstantMapper07/13/14
Re: Re: That's kind of why symbols exist in the first place
if(mysteriousValue == CHAT_CATEGORY_SAY) then DoWhatYouNeedForSay(...) end That's what I am talking about...you already know that mysteriousValue MUST be some kind of chat category, otherwise you wouldn't have registered for that event or stored that value off. So, I must be missing something here, I'm just trying to ma...
File: LibConstantMapper07/11/14
That's kind of why symbols exist in the first place
ESO actually makes those global symbols so that addons don't have to depend on magic numbers. If addons used the constants the the configuration problem you mentioned wouldn't exist. Or maybe I am missing something here...
File: Banker04/25/14
Definitely looking forward to check...
Definitely looking forward to checking this out. I was using BankStuffer, but the output is a little verbose. I was looking through your code and noticed that there were a lot of calls to table.getn. That function has been deprecated in Lua for quite some time...I'd suggest using the length operator: #t instead of table.getn(t).