GetActionSlotCooldown
function · ui · orchestration
- Address
0x4e6ca0· 118 bytes, up to0x4e6d15- Signature
void __fastcall (uint32_t slot, int32_t *start, int32_t *duration, uint32_t *enable)- Meaning
- Reads an item slot's or spell slot's cooldown triple
- Confidence
- verified, proof one
- Finding
- ui/actionbar#cooldown-and-flags
Finding: Cooldown and flags in ui: action bars
GetActionCooldown (0x4e6ed0) returns three numbers: start and duration times 0.001, then the
enable flag unscaled. An item slot reads 0x6e2ed0 for its entry and any other slot 0x6e2ea0 for
its spell (spell/records#cooldown-queries); an empty slot gives zeros. IsConsumableAction (0x4e5250)
is true for an item of inventory type 24 or 25, or with an on-use spell whose charges are negative.
IsEquippedAction (0x4e5310) is true for an item whose entry the equipment slots hold. GetActionAutocast
(0x4e6f90) returns two values, both nil unless the spell comes from the pet book, then bits 31 and 30
of the pet's spell flags as 1 or nil.
The derivation is in the doc.
Callers 2
Callees 3
- GetActionSlotSpell ui
- GetSpellCooldown spell
- GetItemCooldown spell
Calls and jumps by a bare address, from tables/calls.tsv.