Thread Tools Display Modes
09/23/15, 10:37 AM   #1
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
IsReadInfoReady()

EDIT: Subject should be IsReadMailInfoReady()

I came across this function while reading:

http://esodata.uesp.net/current/src/...hared.lua.html

line 68

--

It does not come up in esodata.uesp.net when clicked or searched..
It is not in the API function list on the wiki here.
I did not see it listed in the last API update notes.


Anyone know what it is all about?



If I had to guess - It has something to do with GetAttachedItemLink() returning nil for an item even after reading the mail...

Last edited by Lodur : 09/23/15 at 10:56 AM. Reason: try to change subject
  Reply With Quote
09/23/15, 01:17 PM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
It is used in function to populate mail-box scroll-list items.

Code:
control:RegisterForEvent(EVENT_MAIL_READABLE, function(_, mailId) manager:OnMailReadable(mailId) end)
control:RegisterForEvent(EVENT_MAIL_TAKE_ATTACHED_ITEM_SUCCESS, function(_, mailId) manager:OnTakeAttachedItemSuccess(mailId) end)
control:RegisterForEvent(EVENT_MAIL_TAKE_ATTACHED_MONEY_SUCCESS, function(_, mailId) manager:OnTakeAttachedMoneySuccess(mailId) end)
...
dataTable.isReadInfoReady = IsReadMailInfoReady(mailId)
isReadInfoReady is used to enable keybind-button.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » IsReadInfoReady()


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