WORLDTEXTSTRING::vftable
global · playername
- Address
0x811314· 8 bytes, up to0x81131b- Type
void *[2]- Meaning
- Holds the text record vtable: the deleting destructor and one more slot
- Confidence
- verified, proof one
- Finding
- playername/worldtext#text-record
Finding: Text record in playername: world text
A text record (WORLDTEXTSTRING, 0x80 bytes, vtable 0x811314) holds the category, the world
position, the colour, the start time and the string. The constructor takes the category, the
position, the text, an optional colour and an optional icon value.
| offset | holds |
|---|---|
+0x00 | vtable 0x811314; slot 0 is 0x6c8650 |
+0x08 | category 0 to 5 |
+0x0c, +0x10 | half the string's width and height |
+0x14 to +0x1c | the world position |
+0x20 | the colour dword; byte 3 is the text alpha |
+0x24 | the start time in milliseconds |
+0x28 | the string handle |
+0x2c | the cached size, −1.0 at construction |
+0x30 to +0x38 | the screen anchor |
+0x3c | the text, 0x40 bytes |
+0x7c | the rank icon value, category 5 only |
The derivation is in the doc.