WoW:API GetTradeSkillTools: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetTradeSkillTools to API GetTradeSkillTools without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center>
{{wowapi}}


Returns the required tools for a specific trade skill.
Returns the required tools for a specific trade skill.
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)));
----
{{WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < GetTradeSkillTools

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