PLAYERNAMEDESC
struct · playername · 56 bytes
- Meaning
- Holds a unit's name text, colour, GUID, flags and four world texts
- Confidence
- verified, proof one
- Finding
- playername/plates#name-record-layout
Finding: Name record layout in playername: name records and plates
| offset | holds |
|---|---|
+0x00, +0x04 | list link: previous link and next record |
+0x08 | the name text handle, 0 while none exists |
+0x0c | the name colour dword |
+0x10, +0x14 | the unit's GUID, low and high |
+0x18 | flags: bit 0 rebuild the text, bit 1 refetch the colour |
+0x1c | the frame tick of the last update |
+0x20 to +0x2c | four world text pointers |
+0x30 | float: name block height, lines times the plate scale |
The derivation is in the doc.
Fields 9
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | void * | m_prevLink | Holds the address of the previous link in the name list | verified, proof one | playername/plates#name-record-layout |
0x0004 | 4 | PLAYERNAMEDESC * | m_next | Holds the next name record | verified, proof one | playername/plates#name-record-layout |
0x0008 | 4 | void * | m_text | Holds the name text handle, 0 while none exists | verified, proof one | playername/plates#name-record-layout |
0x000c | 4 | uint32_t | m_color | Holds the name colour dword | verified, proof one | playername/plates#name-record-layout |
0x0010 | 8 | uint64_t | m_guid | Holds the unit GUID | verified, proof one | playername/plates#name-record-layout |
0x0018 | 4 | uint32_t | m_flags | Holds bit 0 rebuild the text and bit 1 refetch the colour | verified, proof one | playername/plates#name-record-layout |
0x001c | 4 | uint32_t | m_tick | Holds the frame tick of the last update | verified, proof one | playername/plates#name-record-layout |
0x0020 | 16 | WORLDTEXTSTRING *[4] | m_worldTexts | Holds the four world text slots | verified, proof one | playername/plates#name-record-layout |
0x0030 | 4 | float | m_blockHeight | Holds the name block height: lines times the plate scale | verified, proof one | playername/plates#name-record-layout |