WoW:Events/Loot

< Events
Revision as of 04:48, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page Events/Loot to Events/Loot without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Loot related events

"AUTOEQUIP_BIND_CONFIRM"
Category: Item,Loot
 

Fired when the game attempts to autobind bind-on-equip items.


"CANCEL_LOOT_ROLL"
Category: Loot
 

Fired when a player cancels a roll on an item

arg1
rollID


"CHAT_MSG_LOOT"
Category: Loot
 

Fired when loot text is sent to the chat window (someone selects need, greed, passes, rolls, receives). This also fires messages like "Person creates <item>" via tradeskills, and "Person receives <item>" via a trade window.

arg1
Chat message
arg11
Chat lineID


"CHAT_MSG_MONEY"
Category: Loot
 

Fired when a unit loots money.

arg1
Chat message


"CONFIRM_DISENCHANT_ROLL"
Category: Loot
 

<Added in patch 3.3>
Fires when you try to roll "disenchant" for and item which Binds on Pickup.

arg1
RollId
arg2
roll (Need: 1, Greed: 2, Disenchant: 3; as in RollOnLoot(RollID, roll))

Note that arg2 should always be 3. In other cases the event "CONFIRM_LOOT_ROLL" would be fired.


"CONFIRM_LOOT_ROLL"
Category: Loot
 

Fires when you try to roll "need" or "greed" for and item which Binds on Pickup.

arg1
RollId
arg2
roll (Need: 1, Greed: 2, Disenchant: 3; as in RollOnLoot(RollID, roll))

Note that arg2 should never be 3. In that case the event "CONFIRM_DISENCHANT_ROLL" would be fired.


"EQUIP_BIND_CONFIRM"
Category: Loot,Item
 

Fired when the player attempts to equip bind on equip loot.


"LOOT_BIND_CONFIRM"
Category: Loot
 

Fired when the player attempts to take 'bind-on-pickup' loot


"LOOT_CLOSED"
Category: Loot
 

Fired when a player ceases looting a corpse. Note that this will fire before the last CHAT_MSG_LOOT event for that loot.


"LOOT_OPENED"
Category: Loot
 

Fired when a corpse is looted

arg1
1 if autolooting, otherwise 0 (not nil!)


"LOOT_SLOT_CLEARED"
Category: Loot
 

Fired when loot is removed from a corpse.

arg1
Slot number


"LOOT_SLOT_CHANGED"
Category: Loot
 

?


"OPEN_MASTER_LOOT_LIST"
Category: Loot
 



"PARTY_LOOT_METHOD_CHANGED"
Category: Party,Loot
 

Fired when the party's loot method changes


"START_LOOT_ROLL"
Category: Loot
 

Fired when a group loot item is being rolled on.

arg1
The rollID of the item being rolled on.
arg2
The roll time.


"UPDATE_MASTER_LOOT_LIST"
Category: Loot