GetItemStyleName
ESO Lua API function — used by 58 of the 3,030 addons we indexed (combined 30,240,478 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetItemStyleName(integer styleId)Returns: string styleName
Real usage — from Dolgubon's Lazy Writ Crafter
local traitName = GetString( _G["SI_ITEMTRAITTYPE"..itemTraitType] )
local styleName = GetItemStyleName(itemStyleId)
local qualityName = GetString( _G["SI_ITEMQUALITY"..itemQuality] )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 |
| CraftStore | 5,176,147 |
| Inventory Insight | 2,763,446 |
| WritWorthy | 2,484,332 |
| LibCharacterKnowledge | 1,771,857 |
| AI Research Grid | 1,195,942 |