WoW:API GetCraftDescription: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(removedapi)
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.   
Line 4: Line 6:
  craftDescription = GetCraftDescription(index)
  craftDescription = GetCraftDescription(index)


removed in 3.0, use GetTradeSkillDescription instead.
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===

Revision as of 13:16, 28 May 2009

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