ESODecoded

EVENT_SMITHING_TRAIT_RESEARCH_STARTED

ESO Lua API function — used by 44 of the 3,030 addons we indexed (combined 10,799,066 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

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

Real usage — from CraftStore

  EM:RegisterForEvent('CSEE',EVENT_TRADING_HOUSE_RESPONSE_RECEIVED,CS.UpdateGuildStore)
  EM:RegisterForEvent('CSEE',EVENT_SMITHING_TRAIT_RESEARCH_STARTED,CS.OnSmithingTraitResearchStarted)
  EM:RegisterForEvent('CSEE',EVENT_STABLE_INTERACT

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
LibCharacterKnowledge1,771,857
AI Research Grid1,195,942
TraitBuddy1,101,730
Character Knowledge (Research, Motif, Recipe, Furnishing Plan and Scribing Tracker)733,709
Harven's Trait and Style311,759