WORLDTEXTSTRING::DrawIfSet
function · playername · orchestration
- Address
0x6c86c0· 14 bytes, up to0x6c86cd- Signature
bool __fastcall (WORLDTEXTSTRING *text, uint32_t now)- Meaning
- Draws a text when it is not null
- 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.
Callers 1
- PLAYERNAMEDESC::DrawWorldTexts playername
Callees 1
- WORLDTEXTSTRING::Draw playername
Calls and jumps by a bare address, from tables/calls.tsv.