C_TradeSkillUI.GetChildProfessionInfos

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

infos = C_TradeSkillUI.GetChildProfessionInfos()

Returns

infos
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