From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_ItemUpgrade.GetItemUpgradeItemInfo TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.png + 9.1.5
BTNTemp.png C_ItemUpgrade.GetItemLevelIncrement + 9.1.0
Wowprogramming.png  BTNTemp.png GetItemLevelIncrement + 5.0.4
Wowprogramming.png  BTNTemp.png GetItemUpgradeItemInfo + 5.0.4
Wowprogramming.png  BTNTemp.png GetItemUpgradeStats + 5.0.4

Returns information for the item that is placed in the upgrade frame.

 icon, name, quality, bound, numCurrUpgrades, numMaxUpgrades, cost, currencyType, failureMessage
   = GetItemUpgradeItemInfo()


1. icon
number - Icon texture used by the item.
2. name
string - The localized name of the item.
3. quality
number : Enum.ItemQuality - The quality of the item, e.g. 2 for Uncommon and 3 for Rare quality items.
4. bound
string - The items bound status, e.g. Soulbound.
5. numCurrUpgrades
number - The current rank of the item.
6. numMaxUpgrades
number - The maximum rank of the item.
7. cost
number - The cost to upgrade the item.
8. currencyType
number - The currency required to upgrade the item, e.g. 1792 for [Honor Points].
9. failureMessage
string?Optional. Could be nil. - The reason why the item cannot be upgraded further (nil if the item can be upgraded).