WoW:Events/I: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎ITEM_LOCK_CHANGED: Document arg2==nil (equipment locks))
m (Move page script moved page Events/I to Events/I without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>__NOTOC__{{eventlistheader}}</noinclude>


|}
===== =====
{|
{{evt|IGNORELIST_UPDATE|Communication}}
Fired when a player is added or removed from the ignore list.  Event is called twice.  Not certain why it is called twice.
{{evt|IGR_BILLING_NAG_DIALOG|Misc}}
{{evt|INSPECT_ACHIEVEMENT_READY|Inspect,Misc}}
?
{{evt|INSPECT_HONOR_UPDATE|Inspect,Misc}}
?
{{evt|INSPECT_READY|Talents}}
After a NotifyInspect(unit) is called, this is fired, indicating the Inspected player's talents have been loaded.
;arg1: The GUID of the unit the inspection data is being provided for
NOTE: Added in the 4.0.1 patch
{{evt|INSPECT_TALENT_READY|Talents}}
After a NotifyInspect(unit) is called, this is fired, indicating the Inspected player's talents have been loaded.
NOTE: This event was removed in the 4.0.1 patch
{{evt|INSTANCE_BOOT_START|Instance}}
Fired when the countdown to boot a player from an instance starts.
{{evt|INSTANCE_BOOT_STOP|Instance}}
Fired when the countdown to boot a player from an instance stops.
{{evt|INSTANCE_ENCOUNTER_ENGAGE_UNIT|Instance}}
?
{{evt|INSTANCE_LOCK_START|Instance}}
?
{{evt|INSTANCE_LOCK_STOP|Instance}}
Fired when quitting the game.
|}
===== =====
{|
{{evt|ITEM_LOCKED|Item}}
Fires when an item gets "locked" in the inventory or a container
;arg1: Bag of item
;arg2: Slot of item
{{evt|ITEM_LOCK_CHANGED|Item}}
Fires when the "locked" status on a container or inventory item changes, usually from but not limited to Pickup functions to move items.
- If arg2 is non-nil:
;arg1: Bag of updated item.
;arg2: Slot of updated item.
- If arg2 is nil:
;arg1: Equipment slot of item
* Usually fires in pairs when an item is swapping with another.
* Empty slots do not lock.
* GetContainerItemInfo and IsInventoryItemLocked can be used to query lock status.
* This does NOT fire on ammo pickups.
{{evt|ITEM_UNLOCKED|Item}}
?
{{evt|ITEM_PUSH|Item}}
Fired when an item is pushed onto the "inventory-stack". For instance when you manufacture something with your trade skills or picks something up.
;arg1: the bag that has received the new item
;arg2: the path to the item's icon
{{evt|ITEM_TEXT_BEGIN|Item}}
Fired when an items text begins displaying
|}
===== =====
{|
{{evt|ITEM_TEXT_CLOSED|Item}}
Fired when the items text has completed its viewing and is done.
{{evt|ITEM_TEXT_READY|Item}}
Fired when the item's text can continue and is ready to be scrolled.
{{evt|ITEM_TEXT_TRANSLATION|Item}}
Fired when an item is in the process of being translated.

Latest revision as of 04:48, 15 August 2023

Event API


[edit]
"IGNORELIST_UPDATE"
Category: Communication
 

Fired when a player is added or removed from the ignore list. Event is called twice. Not certain why it is called twice.


"IGR_BILLING_NAG_DIALOG"
Category: Misc
 
"INSPECT_ACHIEVEMENT_READY"
Category: Inspect,Misc
 

?

"INSPECT_HONOR_UPDATE"
Category: Inspect,Misc
 

?

"INSPECT_READY"
Category: Talents
 

After a NotifyInspect(unit) is called, this is fired, indicating the Inspected player's talents have been loaded.

arg1
The GUID of the unit the inspection data is being provided for

NOTE: Added in the 4.0.1 patch

"INSPECT_TALENT_READY"
Category: Talents
 

After a NotifyInspect(unit) is called, this is fired, indicating the Inspected player's talents have been loaded.

NOTE: This event was removed in the 4.0.1 patch

"INSTANCE_BOOT_START"
Category: Instance
 

Fired when the countdown to boot a player from an instance starts.

"INSTANCE_BOOT_STOP"
Category: Instance
 

Fired when the countdown to boot a player from an instance stops.

"INSTANCE_ENCOUNTER_ENGAGE_UNIT"
Category: Instance
 

?

"INSTANCE_LOCK_START"
Category: Instance
 

?

"INSTANCE_LOCK_STOP"
Category: Instance
 

Fired when quitting the game.

[edit]
"ITEM_LOCKED"
Category: Item
 

Fires when an item gets "locked" in the inventory or a container

arg1
Bag of item
arg2
Slot of item
"ITEM_LOCK_CHANGED"
Category: Item
 

Fires when the "locked" status on a container or inventory item changes, usually from but not limited to Pickup functions to move items.

- If arg2 is non-nil:

arg1
Bag of updated item.
arg2
Slot of updated item.

- If arg2 is nil:

arg1
Equipment slot of item
  • Usually fires in pairs when an item is swapping with another.
  • Empty slots do not lock.
  • GetContainerItemInfo and IsInventoryItemLocked can be used to query lock status.
  • This does NOT fire on ammo pickups.
"ITEM_UNLOCKED"
Category: Item
 

?

"ITEM_PUSH"
Category: Item
 

Fired when an item is pushed onto the "inventory-stack". For instance when you manufacture something with your trade skills or picks something up.

arg1
the bag that has received the new item
arg2
the path to the item's icon


"ITEM_TEXT_BEGIN"
Category: Item
 

Fired when an items text begins displaying


[edit]
"ITEM_TEXT_CLOSED"
Category: Item
 

Fired when the items text has completed its viewing and is done.


"ITEM_TEXT_READY"
Category: Item
 

Fired when the item's text can continue and is ready to be scrolled.


"ITEM_TEXT_TRANSLATION"
Category: Item
 

Fired when an item is in the process of being translated.