FireUsableEvents
function · ui · orchestration
- Address
0x4b31c0· 144 bytes, up to0x4b324f- Meaning
- Refreshes the action bar flags, retests the reactive spells raising SPELL_ACTIVE, then signals SPELL_UPDATE_USABLE
- Confidence
- verified, proof one
- Finding
- ui/reactivespells#usable-refresh
Finding: Usable refresh in ui: reactive spells and the book reset
FireUsableEvents (0x4b31c0) runs 0x4e5c00 (ACTIONBAR_UPDATE_USABLE when an action slot changed),
then retests every reactive entry with IsSpellUsable and stores the answer. An entry that went from 0 to
1 (a new entry starts at 0) raises COMBAT_TEXT_UPDATE with SPELL_ACTIVE and the spell's name, in list order; a fall to 0 is
stored silently. It then signals SPELL_UPDATE_USABLE (263) on every path, and reads no form-bar entry.
It has no timer; twelve functions call it:
| caller | site |
|---|---|
CGGameUI::SelectTarget, CGGameUI::ReleaseTarget | 0x493892, 0x493a69 |
SetPlayerControl | 0x4958fc, 0x495910 (tail jumps) |
OnComboPointsChanged, OnShapeshiftFormChanged | 0x5ddff0, 0x5de011 |
CGUnit_C::OnActivePlayerFlagsChanged | 0x5ff50e, 0x5ff51b |
CGUnit_C::OnBytes1Byte3Changed | 0x5ff83a |
CGUnit_C::OnHealthFieldChanged, OnPowerFieldChanged, OnAuraStateFieldChanged | 0x604848, 0x604876, 0x6048b6 |
StartGlobalCooldown, StartOrRemoveSpellCooldown | 0x6e2e85, 0x6e3076 |
The derivation is in the doc.
Callers 12
- CGGameUI::SelectTarget ui
- CGGameUI::ReleaseTarget ui
- SetPlayerControl ui
- OnComboPointsChanged objectlayer
- OnShapeshiftFormChanged objectlayer
- CGUnit_C::OnActivePlayerFlagsChanged objectlayer
- CGUnit_C::OnBytes1Byte3Changed objectlayer
- CGUnit_C::OnHealthFieldChanged objectlayer
- CGUnit_C::OnPowerFieldChanged objectlayer
- CGUnit_C::OnAuraStateFieldChanged objectlayer
- StartGlobalCooldown spell
- StartOrRemoveSpellCooldown spell
Callees 4
- RefreshActionBarUsable ui
- SignalCombatTextText objectlayer
- IsSpellUsable spell
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.