benilla-re systems structs docs

SpellCooldownHandler

function · spell · primitive

Address
0x6e9460 · 363 bytes, up to 0x6e95ca
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles SMSG_SPELL_COOLDOWN: adds a record per spell and time pair to the player's or pet's list
Confidence
verified, proof one
Name from
the community database (idb)
Finding
spell/cooldowns#spell-cooldown-packet

Finding: Spell cooldown packet in spell: cooldowns

SMSG_SPELL_COOLDOWN (0x134, 0x6e9460) is a 64-bit guid, then pairs of a 32-bit spell id and a 32-bit time to the end. The player's guid picks the player's list, the pet bar's guid the pet's; any other guid ends the handler. For each pair with a valid spell, the record is: start and category start the packet's time; time the packet's value, or modifier 11 of +0x4c when it is 0; category +0x8; category time 0x6e2b60(value ? 0 : +0x50, skip = pet); held from bit 25 of +0x18; and, unless held, the global-cooldown category +0x274 and modifier 21 of +0x278.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

Calls and jumps by a bare address, from tables/calls.tsv.