WoW:API GetTradeSkillInvSlots: Difference between revisions

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


Returns a list of the available inventory slot types
Returns a list of the available inventory slot types
Line 22: Line 22:
Prints the available inventory slot types to the chatwindow
Prints the available inventory slot types to the chatwindow
  ChatFrame1:AddMessage(GetTradeSkillInvSlots());
  ChatFrame1:AddMessage(GetTradeSkillInvSlots());


----
----
{{Template:WoW API}}
;''Example''


[[Category:API TradeSkill Functions|GetTradeskillSelectionIndex]]
Gets available inventory slots as a table of strings
local t = {GetTradeSkillInvSlots()};

Latest revision as of 04:46, 15 August 2023

WoW API < GetTradeSkillInvSlots

Returns a list of the available inventory slot types

GetTradeSkillInvSlots();

Arguments
none

Returns
ListString invSlots
invSlots
The available inventory slot types

Example

Prints the available inventory slot types to the chatwindow

ChatFrame1:AddMessage(GetTradeSkillInvSlots());

Example

Gets available inventory slots as a table of strings

local t = {GetTradeSkillInvSlots()};