ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [outdated] Extend the Ignore API (https://www.esoui.com/forums/showthread.php?t=521)

pjt15253 04/03/14 08:37 AM

[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.

Tajin 04/03/14 09:36 AM

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.

pjt15253 04/03/14 10:49 AM

Quote:

Originally Posted by Tajin (Post 2505)
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.

Seerah 04/03/14 04:23 PM

You can display the note in a tooltip or some other way.

RavenDT 05/08/14 05:22 PM

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. :(

lyravega 05/08/14 07:22 PM

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.


All times are GMT -6. The time now is 10:41 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI