SPELLHISTORY
struct · spell · 48 bytes
- Meaning
- Holds one spell-history record: link, spell, item, three timers and a held flag
- Confidence
- verified, proof one
- Finding
- spell/cooldowns#history-record-layout
Finding: History record layout in spell: cooldowns
Each of the two is 24 bytes: a record list (link offset 0, then its end link) and a free list of the
same shape. A record is a link at +0x00, then the spell id, item id, recovery start, recovery
time, category, category start, category time, a held byte at +0x24, the global-cooldown
category and the global-cooldown time at +0x2c. Times are milliseconds of the
OsGetAsyncTimeMs (0x42c010) clock.
The derivation is in the doc.
Fields 11
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 8 | void *[2] | m_link | Holds the record's link in its record or free list | verified, proof one | spell/cooldowns#history-record-layout |
0x0008 | 4 | int32_t | m_spellId | Holds the spell the record is for | verified, proof one | spell/cooldowns#history-record-layout |
0x000c | 4 | int32_t | m_itemId | Holds the item entry the record is for, 0 for a spell alone | verified, proof one | spell/cooldowns#history-record-layout |
0x0010 | 4 | uint32_t | m_recoveryStart | Holds the recovery's start time, which the global leg also reads | verified, proof one | spell/cooldowns#history-record-layout |
0x0014 | 4 | uint32_t | m_recoveryTime | Holds the recovery's length in milliseconds | verified, proof one | spell/cooldowns#history-record-layout |
0x0018 | 4 | int32_t | m_category | Holds the category whose spells share the category recovery | verified, proof one | spell/cooldowns#history-record-layout |
0x001c | 4 | uint32_t | m_categoryStart | Holds the category recovery's start time | verified, proof one | spell/cooldowns#history-record-layout |
0x0020 | 4 | uint32_t | m_categoryTime | Holds the category recovery's length in milliseconds | verified, proof one | spell/cooldowns#history-record-layout |
0x0024 | 1 | uint8_t | m_onHold | Holds 1 while the record waits for the server to start it | verified, proof one | spell/cooldowns#history-record-layout |
0x0028 | 4 | int32_t | m_gcdCategory | Holds the global-cooldown category the record blocks | verified, proof one | spell/cooldowns#history-record-layout |
0x002c | 4 | uint32_t | m_gcdTime | Holds the global cooldown's length in milliseconds | verified, proof one | spell/cooldowns#history-record-layout |