WoW:API UseContainerItem: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 50: Line 50:
|}
|}


==Other Notes==
==Protection Notes==
Because of previous malicious scripts, Blizzard has changed availability of this function only to Blizzard UI, except when using the item would result in it being sold, equipped, or opened.
This function is protected except for the following:
* When the (Guild) Bank is open: Move the item to/from the (Guild) Bank.
* When the Merchant frame is open: Sell the item.
* When the Mail frame is open and on the "Send Mail" tab: Add the item to the attachments.
* When the item is equippable: Equip the item.
* When the slot is empty: Do nothing.
* When the item is a locked Lockbox: Show an error message that says it's locked.
* When the item is a container (Clam Shell, Unlocked Lockbox, etc.): Open the Loot frame and show the contents.
* When the item is a book: Open the book's Gossip frame for reading.
* When the item is not a usable item: Do nothing.
* When the item starts a quest: Open the quest Gossip frame for reading.
* When the Trade frame is open: Add the item to the list of items to be traded. (I have not confirmed this)
* When the Auction frame is open: Do nothing. (I have not confirmed this)
Anonymous user