ESODecoded

GetItemLinkTraitType

ESO Lua API function — used by 31 of the 3,030 addons we indexed (combined 11,395,872 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetItemLinkTraitType(string itemLink)

Returns: itemTraitType

Real usage — from Inventory Insight

  if GetItemLinkDisplayQuality(storedItemKey) ~= GetItemLinkDisplayQuality(currentItemLink) then return true end
  if GetItemLinkTraitType(storedItemKey) ~= GetItemLinkTraitType(currentItemLink) then return true end
  if GetItemLinkRequired

Short excerpt from the shipping addon Inventory Insightits 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
Inventory Insight2,763,446
LibCharacterKnowledge1,771,857
Research Assistant (Find your researchable items)1,749,216
Loot Log1,608,502
RuESO870,904
Arkadius' Trade Tools845,488