WoW:API CursorCanGoInSlot: Difference between revisions
Jump to navigation
Jump to search
(Added notes for CursorCanGoInSlot) |
m (Move page script moved page API CursorCanGoInSlot to API CursorCanGoInSlot without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Determines if the item in the cursor can be equipped in the specified inventory slot. Always returns 1 for bank bag slots. | Determines if the item in the cursor can be equipped in the specified inventory slot. Always returns 1 for bank bag slots. | ||
fitsInSlot = CursorCanGoInSlot(invSlot) | |||
== Arguments == | == Arguments == | ||
; invSlot : Number ([[inventorySlotId]]) - Inventory slot to query | |||
:([[inventorySlotId | |||
== Returns == | == Returns == | ||
; fitsInSlot : Flag - 1 if the thing currently on the cursor can go into the specified slot, nil otherwise. | |||
Latest revision as of 04:45, 15 August 2023
Determines if the item in the cursor can be equipped in the specified inventory slot. Always returns 1 for bank bag slots.
fitsInSlot = CursorCanGoInSlot(invSlot)
Arguments[edit]
- invSlot
- Number (inventorySlotId) - Inventory slot to query
Returns[edit]
- fitsInSlot
- Flag - 1 if the thing currently on the cursor can go into the specified slot, nil otherwise.