ESODecoded

GetNumSkillAbilities

ESO Lua API function — used by 52 of the 3,030 addons we indexed (combined 18,714,876 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumSkillAbilities([SkillType|#SkillType] skillType, luaindex skillLineIndex)

Returns: integer numAbilities

Real usage — from LibLazyCrafting

	local abilityIndex = nil
	for i = 1, GetNumSkillAbilities(skillType, skillIndex) do
		local _, texture = GetSkillAbilityInfo(skillType, skillIndex, 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
HodorReflexes - DPS & ULT tracker3,446,840
WritWorthy2,484,332
Foundry Tactical Combat (FTC)1,097,601
RuESO870,904
AlphaGear 2 (Builds, Gear, Skills, Banking)848,683