How to determine & get class skill lines

From ESOUI Wiki

Jump to: navigation, search

The skill lines shown at the skills of the currently logged in character alwaysshow the class's skill lines as the first 3 ones. If you want to get the skill lines of all skills, and check if any of them is a class skill line, there is no API given to achieve this.

So here is hard-coded table of the class skill lines:

local classSkillLines = {
[1] = {35,36,37},    -- Dragonknight
[2] = {41,42,43},    -- Sorcerer
[3] = {38,39,40},    -- Nightblade
[4] = {127,128,129}, -- Warden
[5] = {131,132,133}, -- Necromancer
[6] = {22,27,28},    -- Templar
}

The key of that table is the unique classID of the class, see: https://wiki.esoui.com/GetUnitClassId

Credits: Table provided by "Irniben"

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox