s_talentTabCount
global · ui
- Address
0xbdcd24· 4 bytes, up to0xbdcd27- Type
uint32_t- Meaning
- Holds the number of talent tabs of the player
- Confidence
- verified, proof one
- Finding
- ui/talents#talent-tabs
Finding: Talent tabs in ui: talents
The tab list is built once, on the first call, from TalentTab.dbc in file order: a row is kept when both its race mask
(+0x2c) and class mask (+0x30) accept the player's race and class (0 accepts all, else bit race-1 or class-1 of the
mask). The order field of the row is not read. A tab record is 16 bytes: the row id, the points spent (+4), the talent
count (+8) and a pointer to the first Talent.dbc row of that tab (+0xc). GetNumTalentTabs() returns the count.
GetTalentTabInfo(tab) returns four values: the localized name, the icon (nil when the row has none), the points spent
and the background string; an invalid tab returns nil, nil, 0, nil.
The derivation is in the doc.