Muert39620@legacy41559547 (talk | contribs) No edit summary |
Ladenedge32710@legacy41552912 (talk | contribs) m (Added a "see also.") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{wowapi}} |
||
− | <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center> |
||
Set the inventory slot type filter. |
Set the inventory slot type filter. |
||
Line 28: | Line 28: | ||
SetTradeSkillInvSlotFilter(5, 1); |
SetTradeSkillInvSlotFilter(5, 1); |
||
+ | == See Also == |
||
− | |||
+ | [[API_GetTradeSkillInvSlotFilter|GetTradeSkillInvSlotFilter]] |
||
− | ---- |
||
− | {{WoW API}} |
Revision as of 06:07, 11 March 2009
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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);