SpellHistory::AddRecord
function · spell · orchestration
- Address
0x6e12c0· 284 bytes, up to0x6e13db- Signature
void __thiscall (SpellHistory *this, int spell, int item, int start, int time, int cat, int catStart, int catTime, int held, int gcdCat, int gcdTime)- Meaning
- Appends a spell-history record with ten values unless its three times and held flag are all zero
- Confidence
- verified, proof one
- Finding
- spell/cooldowns#adding-a-record
Finding: Adding a record in spell: cooldowns
0x6e12c0(list, spell, item, start, time, category, categoryStart, categoryTime, held, gcdCategory, gcdTime) adds nothing when the recovery time, the category time, the held byte and
the global-cooldown time are all zero. Otherwise it takes the free list's head, or allocates one,
links it at the record list's tail, and stores the ten values. It never looks for a record of the
same spell, so a spell can hold several records at once.
The derivation is in the doc.
Callers 6
- SetSpellCooldownRemaining spell
- StartGlobalCooldown spell
- HandleSpellGo spell
- OnItemRecordForCooldown spell
- SpellCooldownHandler spell
- ItemCooldownHandler spell
Callees 3
- SMemAlloc storm
- LinkSpellHistoryNode spell
- NextSpellHistoryLink spell
Calls and jumps by a bare address, from tables/calls.tsv.