EVENT_SMITHING_TRAIT_RESEARCH_COMPLETED
ESO Lua API function — used by 39 of the 3,030 addons we indexed (combined 10,777,069 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_SMITHING_TRAIT_RESEARCH_COMPLETED([TradeskillType|#TradeskillType] craftingSkillType, luaindex researchLineIndex, luaindex traitIndex)Real usage — from CraftStore
EM:RegisterForEvent('CSEE',EVENT_STABLE_INTERACT_END,CS.OnStableInteractEnd)
EM:RegisterForEvent('CSEE',EVENT_SMITHING_TRAIT_RESEARCH_COMPLETED,CS.OnSmithingTraitResearchChange)
EM:RegisterForEvent('CSEE',EVENT_SMITHING_TRAIT_RESEARCHShort 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 |
| LibCharacterKnowledge | 1,771,857 |
| AI Research Grid | 1,195,942 |
| TraitBuddy | 1,101,730 |
| Character Knowledge (Research, Motif, Recipe, Furnishing Plan and Scribing Tracker) | 733,709 |
| Harven's Trait and Style | 311,759 |