WoW API: SetTradeSkillInvSlotFilter

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetTradeSkillInvSlotFilter to API SetTradeSkillInvSlotFilter without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetTradeSkillInvSlotFilter

Set the inventory slot type filter.

SetTradeSkillInvSlotFilter(slotIndex, onOff{, exclusive} );

Arguments
Number slotIndex, Number onOff, Number exclusive
slotIndex
The index of the specific slot
onOff
On = 1, Off = 0
exclusive(Optional)
Sets if the slot is the only slot to be selected. If not set it's handled as Off. On = 1, Off = 0

Returns
nil

Example

Sets the filter to select slotIndex 3 and 5. First slotIndex have to be exclusive enabled.

SetTradeSkillInvSlotFilter(3, 1, 1);
SetTradeSkillInvSlotFilter(5, 1);

See Also[edit]

GetTradeSkillInvSlotFilter