WoW API < CursorCanGoInSlot

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 | edit source]

invSlot 
Number (inventorySlotId) - Inventory slot to query

Returns[edit | edit source]

fitsInSlot 
Flag - 1 if the thing currently on the cursor can go into the specified slot, nil otherwise.
Community content is available under CC-BY-SA unless otherwise noted.