WowAddons

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

C_ProfSpecs

27 functions, 2 events, 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_ProfSpecs.CanRefundPath

canRefund = C_ProfSpecs.CanRefundPath(pathID, configID)

Arguments

pathIDnumber
configIDnumber

Returns

canRefundbool

C_ProfSpecs.CanUnlockTab

canUnlock = C_ProfSpecs.CanUnlockTab(tabTreeID, configID)

Arguments

tabTreeIDnumber
configIDnumber

Returns

canUnlockbool

C_ProfSpecs.GetChildrenForPath

childIDs = C_ProfSpecs.GetChildrenForPath(pathID)

Arguments

pathIDnumber

Returns

childIDsnumber[]

C_ProfSpecs.GetConfigIDForSkillLine

configID = C_ProfSpecs.GetConfigIDForSkillLine(skillLineID)

Arguments

skillLineIDnumber

Returns

configIDnumber

C_ProfSpecs.GetCurrencyInfoForSkillLine

info = C_ProfSpecs.GetCurrencyInfoForSkillLine(skillLineID)

Arguments

skillLineIDnumber

Returns

infoSpecializationCurrencyInfo

C_ProfSpecs.GetDefaultSpecSkillLine

defaultSpecSkillLine = C_ProfSpecs.GetDefaultSpecSkillLine()

Returns

defaultSpecSkillLinenumber may be nil

C_ProfSpecs.GetDescriptionForPath

description = C_ProfSpecs.GetDescriptionForPath(pathID)

Arguments

pathIDnumber

Returns

descriptionstring

C_ProfSpecs.GetDescriptionForPerk

description = C_ProfSpecs.GetDescriptionForPerk(perkID)

Arguments

perkIDnumber

Returns

descriptionstring

C_ProfSpecs.GetEntryIDForPerk

entryID = C_ProfSpecs.GetEntryIDForPerk(perkID)

Arguments

perkIDnumber

Returns

entryIDnumber

C_ProfSpecs.GetNewSpecReminderProfName

profName = C_ProfSpecs.GetNewSpecReminderProfName()

Returns

profNamecstring may be nil

C_ProfSpecs.GetPerksForPath

perkInfos = C_ProfSpecs.GetPerksForPath(pathID)

Arguments

pathIDnumber

Returns

perkInfosSpecPerkInfo[]

C_ProfSpecs.GetRootPathForTab

rootPathID = C_ProfSpecs.GetRootPathForTab(tabTreeID)

Arguments

tabTreeIDnumber

Returns

rootPathIDnumber may be nil

C_ProfSpecs.GetSourceTextForPath

sourceText = C_ProfSpecs.GetSourceTextForPath(pathID, configID)

Arguments

pathIDnumber
configIDnumber

Returns

sourceTextcstring

C_ProfSpecs.GetSpecTabIDsForSkillLine

specTabIDs = C_ProfSpecs.GetSpecTabIDsForSkillLine(skillLineID)

Arguments

skillLineIDnumber

Returns

specTabIDsnumber[]

C_ProfSpecs.GetSpecTabInfo

specTabInfo = C_ProfSpecs.GetSpecTabInfo()

Returns

specTabInfoSpecializationTabInfo

C_ProfSpecs.GetSpendCurrencyForPath

currencyID = C_ProfSpecs.GetSpendCurrencyForPath(pathID)

Arguments

pathIDnumber

Returns

currencyIDnumber may be nil

C_ProfSpecs.GetSpendEntryForPath

entryID = C_ProfSpecs.GetSpendEntryForPath(pathID)

Arguments

pathIDnumber

Returns

entryIDnumber

C_ProfSpecs.GetStateForPath

state = C_ProfSpecs.GetStateForPath(pathID, configID)

Arguments

pathIDnumber
configIDnumber

Returns

stateProfessionsSpecPathState

C_ProfSpecs.GetStateForPerk

state = C_ProfSpecs.GetStateForPerk(perkID, configID)

Arguments

perkIDnumber
configIDnumber

Returns

stateProfessionsSpecPerkState

C_ProfSpecs.GetStateForTab

tabInfo = C_ProfSpecs.GetStateForTab(tabTreeID, configID)

Arguments

tabTreeIDnumber
configIDnumber

Returns

tabInfoProfessionsSpecTabState

C_ProfSpecs.GetTabInfo

tabInfo = C_ProfSpecs.GetTabInfo(tabTreeID)

Arguments

tabTreeIDnumber

Returns

tabInfoProfTabInfo may be nil

C_ProfSpecs.GetUnlockEntryForPath

entryID = C_ProfSpecs.GetUnlockEntryForPath(pathID)

Arguments

pathIDnumber

Returns

entryIDnumber

C_ProfSpecs.GetUnlockRankForPerk

unlockRank = C_ProfSpecs.GetUnlockRankForPerk(perkID)

Arguments

perkIDnumber

Returns

unlockRanknumber may be nil

C_ProfSpecs.ShouldShowPointsReminder

showReminder = C_ProfSpecs.ShouldShowPointsReminder()

Returns

showReminderbool

C_ProfSpecs.ShouldShowPointsReminderForSkillLine

showReminder = C_ProfSpecs.ShouldShowPointsReminderForSkillLine(skillLineID)

Arguments

skillLineIDnumber

Returns

showReminderbool

C_ProfSpecs.ShouldShowSpecTab

showSpecTab = C_ProfSpecs.ShouldShowSpecTab()

Returns

showSpecTabbool

C_ProfSpecs.SkillLineHasSpecialization

hasSpecialization = C_ProfSpecs.SkillLineHasSpecialization(skillLineID)

Arguments

skillLineIDnumber

Returns

hasSpecializationbool

Events

SKILL_LINE_SPECS_RANKS_CHANGED

No payload.

SKILL_LINE_SPECS_UNLOCKED

skillLineIDnumber
tradeSkillIDnumber

Necesitas WowAddons

Gratis, para Windows, macOS y Linux: pone el addon en tu juego en un clic y lo mantiene al día. Ábrelo una vez y vuelve a pulsar Instalar.

WowAddons funciona en tu ordenador: abre wowaddons.gg allí.

Descargar para Windows