ESODecoded

GetSmithingResearchLineTraitInfo

ESO Lua API function — used by 56 of the 3,030 addons we indexed (combined 26,356,362 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetSmithingResearchLineTraitInfo([TradeskillType|#TradeskillType] craftingSkillType, luaindex researchLineIndex, luaindex traitIndex)

Returns: traitType, string traitDescription, bool known

Real usage — from LibLazyCrafting

	for i = 1, 9 do
		local trait, description, known = GetSmithingResearchLineTraitInfo(station, researchLine, i)

Short excerpt from the shipping addon LibLazyCraftingits 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
LibLazyCrafting6,538,592
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