benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x00004uint32_tm_idHolds the category id, Cfg_Categories column 0, matched against a realm's category byteverified, proof oneglue/realms#the-category-set
0x00044void *m_rowPoints to the category's Cfg_Categories record, the source of its localized nameverified, proof oneglue/realms#the-category-set
0x00084uint32_tm_realmsCapacityHolds the realm index array's capacity, a shared dword array's first fieldinferredglue/realms#the-category-set
0x000c4uint32_tm_realmsSizeHolds the slots of the realm index array, grown by one when full and never shrunkverified, proof oneglue/realms#the-list-rebuild
0x00104uint32_t *m_realmsPoints to the category's holder indices, sorted by the sort recordsverified, proof oneglue/realms#the-list-rebuild
0x00144uint32_tm_realmsQuantumHolds the realm index array's growth quantum, a shared dword array's last fieldinferredglue/realms#the-category-set
0x00184uint32_tm_realmCountCounts the realms in the category since the last rebuildverified, proof oneglue/realms#the-list-rebuild

Globals of this type