Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-30-20, 03:00 AM   #1
GreenCoyote
A Murloc Raider
 
GreenCoyote's Avatar
Join Date: Apr 2020
Posts: 5
Unhappy ItemLink from itemID and itemLevel

Hello All!
I’m playing with C_AuctionHouse.GetBrowseResults().
It returns ItemKey whit itemID, itemLevel, itemSuffix, battlePetSpeciesID
I want to get ItemLink for returned items. I tried to get it by GetItemInfo(itemID) and it works fine for many items but for items with different item levels it shows incorrect link. For example, [Hiri'watha Greaves] which item level can be 104,110,116 etc, and it’s all different items.

So is there a good way to get item link from ItemKey or from itemID, itemLevel?
I tried to make itemString to give it to GetItemInfo(), but it does not contains itemLevel.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » ItemLink from itemID and itemLevel

Thread Tools
Display Modes

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