ESODecoded

GetItemLinkDisplayQuality

ESO Lua API function — used by 42 of the 3,030 addons we indexed (combined 26,812,145 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetItemLinkDisplayQuality(string itemLink)

Returns: displayQuality

Real usage — from Combat Metrics

				string.format("|H1:item:%i:%i:50:0:0:0:0:0:0:0:0:0:0:0:0:1:1:0:0:10000:0|h|h", itemId, enchantSub)
			quality = GetItemLinkDisplayQuality(itemLink)
			subIdToQuality[enchantSub] = quality

Short excerpt from the shipping addon Combat Metricsits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Combat Metrics7,085,289
Lost Treasure6,404,899
Master Merchant 3.03,883,523
Inventory Insight2,763,446
LibPrice1,588,467
Auto Category - Revised1,180,586