v0.13.8

C_ProfSpecs

namespaceavailable in: camelot

Status in wowlua

27 functions: 3 implemented, 2 recorded, 22 guessed. 2 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
CanRefundPathWhether the points spent in a profession specialization path can be refunded. · by wowlua
(pathID: number, configID: number): boolean
guessed
CanUnlockTabWhether a profession specialization can be unlocked. · by wowlua
(tabTreeID: number, configID: number): boolean
guessed
GetChildrenForPathReturns the IDs of the paths that branch off a profession specialization path. · by wowlua
(pathID: number): number[]
guessed
GetConfigIDForSkillLineReturns the ID of a profession's trait configuration. · by wowlua
(skillLineID: number): number
implemented
GetCurrencyInfoForSkillLineReturns the knowledge points a profession has to spend on specializations. · by wowlua
(skillLineID: number): SpecializationCurrencyInfo
guessed
GetDefaultSpecSkillLineReturns the skill line ID of the profession whose specializations are shown by default, or nil when there is none. · by wowlua
(): number?
guessed
GetDescriptionForPathReturns the description of a profession specialization path. · by wowlua
(pathID: number): string
guessed
GetDescriptionForPerkReturns the description of a profession specialization perk. · by wowlua
(perkID: number): string
guessed
GetEntryIDForPerkReturns the trait entry ID of a profession specialization perk. · by wowlua
(perkID: number): number
guessed
GetNewSpecReminderProfNameReturns the name of the profession with a new specialization to remind the player of, or nil when there is none. · by wowlua
(): string?
recorded
GetPerksForPathReturns the perks of a profession specialization path. · by wowlua
(pathID: number): SpecPerkInfo[]
guessed
GetRootPathForTabReturns the root path of a profession specialization, or nil when it has none. · by wowlua
(tabTreeID: number): number?
guessed
GetSourceTextForPathReturns the text describing how a profession specialization path is unlocked. · by wowlua
(pathID: number, configID: number): string
guessed
GetSpecTabIDsForSkillLineReturns the tree IDs of a profession's specializations. · by wowlua
(skillLineID: number): number[]
guessed
GetSpecTabInfoReturns information about the specializations tab of the professions window. · by wowlua
(): SpecializationTabInfo
guessed
GetSpendCurrencyForPathReturns the currency spent on a profession specialization path, or nil when there is none. · by wowlua
(pathID: number): number?
guessed
GetSpendEntryForPathReturns the trait entry ID that points are spent on in a profession specialization path. · by wowlua
(pathID: number): number
guessed
GetStateForPathReturns whether a profession specialization path is locked, progressing or completed. · by wowlua
(pathID: number, configID: number): ProfessionsSpecPathState
guessed
GetStateForPerkReturns whether a profession specialization perk is earned or still pending. · by wowlua
(perkID: number, configID: number): ProfessionsSpecPerkState
guessed
GetStateForTabReturns whether a profession specialization is locked, can be unlocked or is unlocked. · by wowlua
(tabTreeID: number, configID: number): ProfessionsSpecTabState
guessed
GetTabInfoReturns information about a profession specialization, or nil when there is no such specialization. · by wowlua
(tabTreeID: number): ProfTabInfo?
guessed
GetUnlockEntryForPathReturns the trait entry ID that unlocks a profession specialization path. · by wowlua
(pathID: number): number
guessed
GetUnlockRankForPerkReturns the path rank at which a profession specialization perk is earned, or nil when unknown. · by wowlua
(perkID: number): number?
guessed
ShouldShowPointsReminderWhether the player should be reminded of unspent profession knowledge points. · by wowlua
(): boolean
recorded
ShouldShowPointsReminderForSkillLineWhether the player should be reminded of unspent knowledge points in the given profession. · by wowlua
(skillLineID: number): boolean
implemented
ShouldShowSpecTabWhether the professions window should show the specializations tab. · by wowlua
(): boolean
guessed
SkillLineHasSpecializationWhether the given profession has specializations. · by wowlua
(skillLineID: number): boolean
implemented

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
SKILL_LINE_SPECS_RANKS_CHANGEDno payloadimplemented
SKILL_LINE_SPECS_UNLOCKEDskillLineID: number, tradeSkillID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("SKILL_LINE_SPECS_UNLOCKED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ProfessionSpecUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.