ESODecoded

GetNumSkillLines

ESO Lua API function — used by 63 of the 3,030 addons we indexed (combined 27,817,215 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumSkillLines([SkillType|#SkillType] skillType)

Returns: integer numSkillLines

Real usage — from Map Pins

	if SavedVars[15] then
		for i=1,GetNumSkillLines(5) do
			if GetSkillAbilityId(5,i,1,false)==103478 then PsijicSkillLine=i break end

Short excerpt from the shipping addon Map Pinsits 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
Map Pins8,061,548
LibQuestData4,916,044
HodorReflexes - DPS & ULT tracker3,446,840
WritWorthy2,484,332
Foundry Tactical Combat (FTC)1,097,601
RuESO870,904