Lore archive · Warcraft Wiki, 2023 dump
PLAYER EQUIPMENT CHANGED
Last wiki revision 2023-11-05
This event is fired when the players gear changes. PLAYER_EQUIPMENT_CHANGED: equipmentSlot, hasCurrent
- equipmentSlot: - InventorySlotId
- hasCurrent: - True when a slot becomes empty, false when filled.
- The second payload value was historically documented doing the reverse; true (1) when filled or false (nil) otherwise.
- Modern FrameXML code labels the payload hasCurrent but does not actually use this payload, so the developer intent is unclear.
- It is unknown if the return values in fact 'flipped' at some point, or if the early documentation was simply wrong.
Source
https://warcraft.wiki.gg/wiki/PLAYER_EQUIPMENT_CHANGED · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.