Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the current profession displayed in the trade skill window.

info = C_TradeSkillUI.GetBaseProfessionInfo()

Returns[]

info
ProfessionInfo
Field Type Description
profession Enum.Profession?
professionID number TradeSkillLineID of the parent tradeskill (i.e. Alchemy if this skill is Legion Alchemy)
sourceCounter number Added in 10.1.0
professionName string Localized name of the parent tradeskill.
expansionName string Bugged, always appears "Unknown".
skillLevel number Current skill level.
maxSkillLevel number Maximum attainable skill level.
skillModifier number Modifiers to the skill level (such as +mining, +cooking, etc).
isPrimaryProfession boolean
parentProfessionID number?
parentProfessionName string?
Enum.Profession
Value Field Description
0 FirstAid
1 Blacksmithing
2 Leatherworking
3 Alchemy
4 Herbalism
5 Cooking
6 Mining
7 Tailoring
8 Engineering
9 Enchanting
10 Fishing
11 Skinning
12 Jewelcrafting
13 Inscription
14 Archaeology
Advertisement