RealmCategory
struct · glue · 28 bytes
- Meaning
- Holds a realm category: its Cfg_Categories id and row and the holder indices of its realms
- Confidence
- verified, proof one
- Finding
- glue/realms#the-category-set
Finding: The category set in glue: the realm list
At startup 0x46e300 builds one RealmCategory per Cfg_Categories.dbc row whose column 1
equals the Region 0xb41da4, in file order: +0x00 the row's column 0 as its id, +0x04 the
row, +0x08 to +0x14 a shared dword array of realm indices, +0x18 the count in use. The array
of pointers is {capacity 0xb41f74, count 0xb41f78, data 0xb41f7c}; a Region no row names leaves
it empty. CGlueMgr::Initialize copies the Region from 0x882730, which startup reads from
Wow.ini, section WoW Config, key Region. The function's tail writes the default sort (Sort
records). At glue shutdown 0x46e470 frees each category's index array, each category and the
pointer array, and zeroes the three globals.
The derivation is in the doc.
Fields 7
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_id | Holds the category id, Cfg_Categories column 0, matched against a realm's category byte | verified, proof one | glue/realms#the-category-set |
0x0004 | 4 | void * | m_row | Points to the category's Cfg_Categories record, the source of its localized name | verified, proof one | glue/realms#the-category-set |
0x0008 | 4 | uint32_t | m_realmsCapacity | Holds the realm index array's capacity, a shared dword array's first field | inferred | glue/realms#the-category-set |
0x000c | 4 | uint32_t | m_realmsSize | Holds the slots of the realm index array, grown by one when full and never shrunk | verified, proof one | glue/realms#the-list-rebuild |
0x0010 | 4 | uint32_t * | m_realms | Points to the category's holder indices, sorted by the sort records | verified, proof one | glue/realms#the-list-rebuild |
0x0014 | 4 | uint32_t | m_realmsQuantum | Holds the realm index array's growth quantum, a shared dword array's last field | inferred | glue/realms#the-category-set |
0x0018 | 4 | uint32_t | m_realmCount | Counts the realms in the category since the last rebuild | verified, proof one | glue/realms#the-list-rebuild |
Globals of this type
0xb41f7cs_realmCategories