WoW:API GetTradeSkillTools: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 22: Line 22:
Prints the tools required for the tradeskill to the chatwindow.
Prints the tools required for the tradeskill to the chatwindow.
  ChatFrame1:AddMessage(BuildColoredListString(GetTradeSkillTools(skillIndex)));
  ChatFrame1:AddMessage(BuildColoredListString(GetTradeSkillTools(skillIndex)));


----
----
{{Template:WoW API}}
{{WoW API}}
 
[[Category:API TradeSkill Functions|GetTradeskillSelectionIndex]]

Revision as of 05:50, 4 January 2006

GetTradeSkillSelectionIndex -Documentation by Xharze-

Returns the required tools for a specific trade skill.

GetTradeSkillTools(skillIndex);

Arguments
none

Returns
ListString tools
tools
The tools required for the tradeskill

Example

Prints the tools required for the tradeskill to the chatwindow.

ChatFrame1:AddMessage(BuildColoredListString(GetTradeSkillTools(skillIndex)));

Template:WoW API