WoW:Events/Loot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (automated upload)
m (Move page script moved page Events/Loot to Events/Loot without leaving a redirect)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC____NOEDITSECTION__{{eventlistheader}}
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->


:{{icon-information}}Note 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 ==
{{evt|AUTOEQUIP_BIND_CONFIRM|Item,Loot}}
Fired when the game attempts to autobind bind-on-equip items.
{{evt|CANCEL_LOOT_ROLL|Loot}}
Fired when a player cancels a roll on an item
; arg1: rollID
{{evt|CHAT_MSG_LOOT|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
{{evt|CHAT_MSG_MONEY|Loot}}
Fired when a unit loots money.
; arg1: Chat message
{{evt|CONFIRM_DISENCHANT_ROLL|Loot}}
<Added in patch '''3.3'''>
<br>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 [[API RollOnLoot|RollOnLoot(RollID, roll)]])
Note that arg2 should always be 3. In other cases the event "CONFIRM_LOOT_ROLL" would be fired.
{{evt|CONFIRM_LOOT_ROLL|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 [[API RollOnLoot|RollOnLoot(RollID, roll)]])
Note that arg2 should never be 3. In that case the event "CONFIRM_DISENCHANT_ROLL" would be fired.
{{evt|EQUIP_BIND_CONFIRM|Loot,Item}}
Fired when the player attempts to equip bind on equip loot.
{{evt|LOOT_BIND_CONFIRM|Loot}}
Fired when the player attempts to take 'bind-on-pickup' loot
{{evt|LOOT_CLOSED|Loot}}
Fired when a player ceases looting a corpse. Note that this will fire before the last CHAT_MSG_LOOT event for that loot.
{{evt|LOOT_OPENED|Loot}}
Fired when a corpse is looted
;arg1: 1 if autolooting, otherwise 0 (not nil!)
{{evt|LOOT_SLOT_CLEARED|Loot}}
Fired when loot is removed from a corpse.
;arg1: Slot number
{{evt|LOOT_SLOT_CHANGED|Loot}}
?
{{evt|OPEN_MASTER_LOOT_LIST|Loot}}
{{evt|PARTY_LOOT_METHOD_CHANGED|Party,Loot}}
Fired when the party's loot method changes
{{evt|START_LOOT_ROLL|Loot}}
Fired when a group loot item is being rolled on.
;arg1: The rollID of the item being rolled on.
;arg2: The roll time.
{{evt|UPDATE_MASTER_LOOT_LIST|Loot}}

Latest revision as of 04:48, 15 August 2023

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