Thread Tools Display Modes
08-08-15, 08:21 PM   #1
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
API to get itemIDs for quest rewards?

Is the API that returns the itemIds for the quest rewards? The API GetQuestLogRewardInfo() returns the name and texture, but not the ID.
  Reply With Quote
08-08-15, 10:23 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I don't know offhand, but check the default API code -- when you mouse over items in the quest UI, you get a tooltip and can shift-click it for a link, so the IDs are available in there somewhere.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
08-09-15, 12:22 AM   #3
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
Thanks. It turns out it was in the XML -- GetQuestLogItemLink(). I have to make sure I use the right parameters and parse the itemLink but all should be well.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » API to get itemIDs for quest rewards?


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