GetItemLinkTraitInfo
ESO Lua API function — used by 100 of the 3,030 addons we indexed (combined 49,097,641 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetItemLinkTraitInfo(string itemLink)Returns: traitType, string traitDescription
Real usage — from Dolgubon's Lazy Writ Crafter
-- d("Tracked a gear "..itemLink.. " for ".. boxType)
if ornateTraits[GetItemLinkTraitInfo(itemLink)] then
updateSavedVars(vars, "ornate", quantity)Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| Combat Metrics | 7,085,289 |
| LibLazyCrafting | 6,538,592 |
| Tamriel Trade Centre | 5,234,232 |
| CraftStore | 5,176,147 |
| LibCombat | 5,017,654 |