SKILLLINEREC
struct · spell · 28 bytes
- Meaning
- Holds an ability index node: spell, two links, race, class and a SkillLineAbility row
- Confidence
- verified, proof one
- Finding
- spell/tables#spell-ability-index-by-race
Finding: Spell ability index by race in spell: tables
0x6ddbe0 adds an ability node for a race, a class and a SkillLineAbility.dbc row when
0x6ddf90 finds a race-class row for the row's skill line (+0x04) and 0x6dddd0 admits the race
and class against the row's race mask +0x0c and class mask +0x10, complemented when +0x14
and +0x18 are nonzero. The node holds the spell (+0x08) as hash, the race at +0x14, the class
at +0x15, the spell's low 16 bits at +0x16 and the row at +0x18. 0x6de040 returns the row
of the first node in the spell's slot matching spell, race, class and low word, or null. A spell
with two admitted rows for one race and class resolves to the later row in file order.
The derivation is in the doc.
Fields 7
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_hashVal | Holds the hash, the spell id | verified, proof one | spell/tables#spell-ability-index-by-race |
0x0004 | 8 | void *[2] | m_linkToSlot | Holds the link in the node's slot list, offset 4 | verified, proof one | spell/tables#hash-table-layout |
0x000c | 8 | void *[2] | m_linkToFull | Holds the link in the table's node list, offset 0x0c | verified, proof one | spell/tables#hash-table-layout |
0x0014 | 1 | uint8_t | m_race | Holds the race the node was added for | verified, proof one | spell/tables#spell-ability-index-by-race |
0x0015 | 1 | uint8_t | m_class | Holds the class the node was added for | verified, proof one | spell/tables#spell-ability-index-by-race |
0x0016 | 2 | uint16_t | m_spellLow | Holds the spell id's low 16 bits | verified, proof one | spell/tables#spell-ability-index-by-race |
0x0018 | 4 | void * | m_ability | Holds the SkillLineAbility.dbc row | verified, proof one | spell/tables#spell-ability-index-by-race |