Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/14/16, 08:36 PM   #1
ziggr
 
ziggr's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 27
How to make GetAttachedItemInfo() work?

Is there an API to tell the ESO client to fetch email attachment data from the ESO server?

Before I open a message in the game's email viewer, attachment data is blank:
GetAttachedItemLink(mailID, 1)
=> [empty string]


After opening the message in the game's email viewer, attachment data is populated:
GetAttachedItemInfo(mailID, 1)
=> Diamond

I've tried a few permutations of various API calls to fetch attachment info from the server, nothing worked.
  • ReadMail(id64 mailId)
  • RequestReadMail(id64 mailId)
  • IsReadMailInfoReady(id64 mailId)

I just want to iterate through all mail messages and collect a list of attached items. It appears the current way to do that is to first ask the human to click each email to load its data from the server. Blech.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » How to make GetAttachedItemInfo() work?


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