WoW:API GetTradeSkillTools: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
  <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>
  <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>


Line 22: Line 23:
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)));
----
{{WoW API}}

Revision as of 17:28, 6 January 2007

WoW API < GetTradeSkillTools

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)));