s_trainerGroups
global · ui
- Address
0xb739c0· 4 bytes, up to0xb739c3- Type
void **- Meaning
- Holds the array of trainer group headers
- Confidence
- verified, proof one
- Finding
- ui/trainer#trainer-state
Finding: Trainer state in ui: the trainer window
The window keeps its state in a few cells.
| cell | holds |
|---|---|
0xb73a00 | the open trainer's GUID (u64), 0 for none |
0xb73a08 | the trainer type: 0 class, 1 talent or mount, 2 tradeskill, 3 pet |
0xb73a0c | the selection, a spell id |
0xb737b0, 0xb73a10 | the array of pointers to 0x38-byte service records, and its total length |
0xb739c0, 0xb73a14 | the array of group headers and its length |
0xb73a18 | the visible count, what GetNumTrainerServices returns |
0xb73a1c, 0xb73a20, 0xb73a24 | the state filter, the skill-line filter and the expanded mask |
The derivation is in the doc.