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)
 
(3 intermediate revisions by 3 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 23: Line 23:
  ChatFrame1:AddMessage(GetTradeSkillInvSlots());
  ChatFrame1:AddMessage(GetTradeSkillInvSlots());


----
;''Example''


----
Gets available inventory slots as a table of strings
{{WoW API}}
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()};