WowAddons

World of Warcraft Forever API · C_SkillInfo.md, for your AI

C_SkillInfo

8 functions, 1 events, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_SkillInfo.AbandonSkill

C_SkillInfo.AbandonSkill(skillLineID)

Arguments

skillLineIDnumber

C_SkillInfo.CollapseSkillHeader

C_SkillInfo.CollapseSkillHeader(index)

Arguments

indexluaIndex

C_SkillInfo.ExpandSkillHeader

C_SkillInfo.ExpandSkillHeader(index)

Arguments

indexluaIndex

C_SkillInfo.GetNumSkillLines

numSkillLines = C_SkillInfo.GetNumSkillLines()

Returns

numSkillLinesnumber

C_SkillInfo.GetSelectedSkill

index = C_SkillInfo.GetSelectedSkill()

Returns

indexluaIndex

C_SkillInfo.GetSkillLineInfo

skillLineAttributes = C_SkillInfo.GetSkillLineInfo(index)

Arguments

indexluaIndex

Returns

skillLineAttributesSkillLineAttributes may be nil

C_SkillInfo.GetSkillLineInfoByID

skillLineAttributes = C_SkillInfo.GetSkillLineInfoByID(ID)

Arguments

IDnumber

Returns

skillLineAttributesSkillLineAttributes may be nil

C_SkillInfo.SetSelectedSkill

C_SkillInfo.SetSelectedSkill(index)

Arguments

indexluaIndex

Events

SKILL_LINES_CHANGED

No payload.

Tables

SkillLineAttributes structure

skillIDnumber
namecstring
isHeaderbool
isCollapsedbool
ranknumber
tempPointsnumber
modifiernumber
maxRanknumber
isAbandonablebool
stepCostnumber
rankCostnumber
minLevelnumber
costTypenumber
parentSkillLineIDnumber
skillLineCategoryIDnumber
descriptioncstring

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows