ItemLink from itemID and itemLevel
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.
C_AuctionHouse.GetItemSearchResultInfo() returns the item link from a search result, e.g. when shift-clicking an item in the list
This (ugly example with timers) shows how you can get an item link from searching by item ID and level, while standing at the auction house
As to how you would generate an item link straight from an item ID and level, I have no idea
There is a lot of magic involved, especially with item suffixes
|All times are GMT -6. The time now is 06:09 AM.|
vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI