Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the current profession displayed in the trade skill window.
skillLineID, skillLineDisplayName, skillLineRank, skillLineMaxRank, skillLineModifier, parentSkillLineID, parentSkillLineDisplayName = C_TradeSkillUI.GetTradeSkillLine()
Returns[]
- skillLineID
- number - TradeSkillLineID.
- skillLineDisplayName
- string - Localized name.
- skillLineRank
- number - Current skill level.
- skillLineMaxRank
- number - Maximum attainable skill level.
- skillLineModifier
- number - Modifiers to the skill level (such as +mining, +cooking, etc).
- parentSkillLineID
- number - TradeSkillLineID of the parent tradeskill (i.e. Alchemy if this skill is Legion Alchemy)
- parentSkillLineDisplayName
- string? - Localized name of the parent tradeskill.
Patch changes[]
Patch 8.0.1 (2018-07-17): Added parentSkillLineID, parentSkillLineDisplayName
arguments.[1]
Patch 7.0.3 (2016-07-19): Changed to C_TradeSkillUI.GetTradeSkillLine()
. Added skillLineID
argument. Returns nil if the frame is closed.[2]
- Previously returned "UNKNOWN" when the frame was closed
- Previously returned "UNKNOWN" when the frame was closed
Patch 4.0.3 (2010-11-16): Added skillLineModifier
argument.[3]
Patch 1.8.0 (2005-10-10): Added as name, rank, maxRank = GetTradeSkillLine()
[4]
References[]
- ^ 2018-07-16, Blizzard_TradeSkillUI.lua, version 8.0.1.27101, near line 110, archived at Townlong-Yak
- ^ 2016-09-08, Blizzard_TradeSkillUI.lua, version 7.0.3.22594, near line 110, archived at Townlong-Yak
- ^ 2010-10-19, Blizzard_TradeSkillUI.lua, version 4.0.3.13329, near line 425, archived at Townlong-Yak
- ^ 2005-10-11, Blizzard_TradeSkillUI.lua, version 1.8.0.4735, near line 174, archived at Townlong-Yak