s_tradeSkillRowCount
global · ui
- Address
0xbde04c· 4 bytes, up to0xbde04f- Type
uint32_t- Meaning
- Holds the number of rows in the profession list
- Confidence
- verified, proof one
- Finding
- tradeskill/recipes#list-state
Finding: List state in tradeskill: recipes
The window keeps its state in TradeSkillFrame.cpp's globals. The two arrays hold a capacity, a count, a data pointer and a granularity; the list never shrinks its arrays.
| address | holds |
|---|---|
0xbddfb8 | the row array: capacity, count 0xbddfbc, data 0xbddfc0, granularity 0xbddfc4 |
0xbddff8 | the header array: capacity, count 0xbddffc, data 0xbde000, granularity 0xbde004 |
0xbde040 | the skill line of the open window, 0 when closed |
0xbde044 | the selected spell id, 0 for none |
0xbde048 | the count of pending item requests |
0xbde04c | the full count of rows, header rows included |
0xbde050 | the count of headers |
0xbde054 | the displayed count |
0xbde058 | the inventory slot bits of the rows built for the open line |
0xbde05c, 0xbde060 | the repeat spell and the repeat count |
0xbde064 | the skill line of the last build |
0x84dd60, 0x84dd64, 0x84dd68 | the masks: subclass filter, slot filter, collapse; all start as 0xffffffff |
The derivation is in the doc.