WoW:API GetCraftDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetCraftDescription to WoW:API GetCraftDescription without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].
* Equivalent function: {{api|GetTradeSkillDescription}}}}
{{wowapi}}
{{wowapi}}
This command returns a string description of what the current craft does.   
This command returns a string description of what the current craft does.   

Latest revision as of 04:45, 15 August 2023

WoW API < GetCraftDescription

This command returns a string description of what the current craft does.

craftDescription = GetCraftDescription(index)

Parameters

Arguments

index
Numeric - Number from 1 to X number of total crafts, where 1 is the top-most craft listed.

Returns

craftDescription
String. Returns, for example, "Permanently enchant a two handed melee weapon to grant +25 Agility."

Details