Thread Tools Display Modes
04/03/14, 08:37 AM   #1
pjt15253
Spam Warrior
 
pjt15253's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 16
[outdated] Extend the Ignore API

Would be really nice if there was an AddIgnore(name, note) function in addition to AddIgnore(name). Either that, or at least allow us to look up Ignore records by character name instead of only account name.
 
04/03/14, 09:36 AM   #2
Tajin
 
Tajin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 29
That should be fairly easy to do.

Just make a tiny addon with its own ignore function that allows you to store this kind of data in a savedVariable.
 
04/03/14, 10:49 AM   #3
pjt15253
Spam Warrior
 
pjt15253's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 16
Originally Posted by Tajin View Post
That should be fairly easy to do.

Just make a tiny addon with its own ignore function that allows you to store this kind of data in a savedVariable.
Whole point though is to have the note show up in the user's actual ignore list.
 
04/03/14, 04:23 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
You can display the note in a tooltip or some other way.
 
05/08/14, 05:22 PM   #5
RavenDT
 
RavenDT's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 6
I agree, however...

Since there is already SetIgnoreNote(), I would be more interested in adding a return value for AddIgnore(). That way you could do:

ignoreIndex = AddIgnore(string charOrDisplayName)
SetIgnoreNote(luaindex ignoreIndex, string note)

That's what I've been wanting to do, but the majority of the functions that do stuff don't give any return variables.
 
05/08/14, 07:22 PM   #6
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Uhh... I don't understand. You can set ignore notes, and view them already?!?

Also, ignore index is just a number. If you have 5 people on the ignore list, ignoreIndex can be 1-5. If someone is added to that list, it can be 1-6 then. If you remove 2 from the middle, it can be 1-4; it is (like) a lua table, "blanks will be filled".

You can do a quick for loop and get the index; that's what I'm saying in short.

Last edited by lyravega : 05/08/14 at 07:28 PM.
 

ESOUI » Developer Discussions » Wish List » [outdated] Extend the Ignore API


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