Quantcast
WoWInterface - View Single Post - ItemLink from itemID and itemLevel
View Single Post
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