ESODecoded

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 CraftStoreits 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
CraftStore5,176,147
Advanced Filters - Updated (Inventory sub- & dropdown plugin filters)2,602,223
WritWorthy2,484,332
LibFilters-3.02,063,617
LibCharacterKnowledge1,771,857
AI Research Grid1,195,942