WoW:API DeleteCursorItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (ClearCursor is more reliable since it won't move the item to the backpack and won't fail if the backpack is full.)
Line 2: Line 2:
Destroys the item currently held by the cursor.
Destroys the item currently held by the cursor.


'''This does not deselect the item, this destroys it.''' Try [[API PutItemInBackpack|PutItemInBackpack]] to deselect the item.
'''This does not deselect the item, this destroys it.''' Try [[API ClearCursor|ClearCursor]] to deselect the item.


No return value.
No return value.

Revision as of 05:42, 23 November 2009

WoW API < DeleteCursorItem

Destroys the item currently held by the cursor.

This does not deselect the item, this destroys it. Try ClearCursor to deselect the item.

No return value.