GetSmithingResearchLineInfo
ESO Lua API function — used by 56 of the 3,030 addons we indexed (combined 19,549,406 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetSmithingResearchLineInfo([TradeskillType|#TradeskillType] craftingSkillType, luaindex researchLineIndex)Returns: string name, textureName icon, integer numTraits, integer timeRequiredForNextResearchSecs
Real usage — from CraftStore
if traitData > 0 then
local name, icon = GetSmithingResearchLineInfo(craft,line)
local tid = GetSmithingResearchLineTraitInfo(craft,line,trait)Short excerpt from the shipping addon CraftStore — 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 |
|---|---|
| CraftStore | 5,176,147 |
| Advanced Filters - Updated (Inventory sub- & dropdown plugin filters) | 2,602,223 |
| WritWorthy | 2,484,332 |
| LibFilters-3.0 | 2,063,617 |
| LibCharacterKnowledge | 1,771,857 |
| AI Research Grid | 1,195,942 |