Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetCraftDisplaySkillLine
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].}} {{wowapi}} This command retrieves displayable information for the current craft. name, rank, maxRank = GetCraftDisplaySkillLine() == Parameters == === Returns === :;name : String - The name of the active craft, or <tt>nil</tt> if the current craft has no displayable name. Also <tt>nil</tt> if there are no active crafting windows. :;rank : Numeric - The player's current rank for the named craft, if applicable. :;maxRank : Numeric - The maximum rank for the named craft, if applicable. == Details == The two crafts, Beast Training and Enchanting, have a slightly different UI: the latter has a blue progress bar at the top of the window indicating the player's rank while the former does not. Accordingly, this function returns <tt>nil</tt> when the Beast Training window is open, while all return values should be valid when the Enchanting window is open. == See Also == [[API_GetCraftSkillLine|GetCraftSkillLine()]] returns the name of the currently active crafting window regardless of whether the name should be displayed. ---- __NOTOC__
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ambox
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Removedapi
(
edit
)
Template:Tocright
(
edit
)
Template:WoW/removedapi
(
edit
)
Template:Wowapi
(
edit
)