benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x00004uint32_tm_hashValHolds the hash, the spell idverified, proof onespell/tables#spell-ability-index-by-race
0x00048void *[2]m_linkToSlotHolds the link in the node's slot list, offset 4verified, proof onespell/tables#hash-table-layout
0x000c8void *[2]m_linkToFullHolds the link in the table's node list, offset 0x0cverified, proof onespell/tables#hash-table-layout
0x00141uint8_tm_raceHolds the race the node was added forverified, proof onespell/tables#spell-ability-index-by-race
0x00151uint8_tm_classHolds the class the node was added forverified, proof onespell/tables#spell-ability-index-by-race
0x00162uint16_tm_spellLowHolds the spell id's low 16 bitsverified, proof onespell/tables#spell-ability-index-by-race
0x00184void *m_abilityHolds the SkillLineAbility.dbc rowverified, proof onespell/tables#spell-ability-index-by-race