benilla-re systems structs docs

WORLDTEXTSTRING

struct · playername · 128 bytes

Vtable
0x811314
Meaning
Holds a floating text: category, position, colour, start time and string
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.

offsetholds
+0x00vtable 0x811314; slot 0 is 0x6c8650
+0x08category 0 to 5
+0x0c, +0x10half the string's width and height
+0x14 to +0x1cthe world position
+0x20the colour dword; byte 3 is the text alpha
+0x24the start time in milliseconds
+0x28the string handle
+0x2cthe cached size, −1.0 at construction
+0x30 to +0x38the screen anchor
+0x3cthe text, 0x40 bytes
+0x7cthe rank icon value, category 5 only

The derivation is in the doc.

Fields 12

offsetsizetypenamemeaningconfidencefinding
0x00004void *__vfptrHolds the vtable pointerverified, proof oneplayername/worldtext#text-record
0x00084uint32_tm_categoryHolds the category row index, 0 to 5verified, proof oneplayername/worldtext#text-record
0x000c4floatm_halfWidthHolds half the string's measured widthverified, proof oneplayername/worldtext#text-record
0x00104floatm_halfHeightHolds half the string's measured block heightverified, proof oneplayername/worldtext#text-record
0x001412float[3]m_positionHolds the world positionverified, proof oneplayername/worldtext#text-record
0x00204uint32_tm_colorHolds the colour dword; byte 3 is the text alphaverified, proof oneplayername/worldtext#text-record
0x00244uint32_tm_startTimeHolds the clock value at construction, in millisecondsverified, proof oneplayername/worldtext#text-record
0x00284void *m_stringHolds the string handleverified, proof oneplayername/worldtext#text-record
0x002c4floatm_sizeHolds the cached size, -1.0 at constructionverified, proof oneplayername/worldtext#text-record
0x003012float[3]m_screenAnchorHolds the screen anchor the draw writesverified, proof oneplayername/worldtext#text-record
0x003c64char[64]m_textHolds the textverified, proof oneplayername/worldtext#text-record
0x007c4uint32_tm_iconValueHolds the rank icon value of a category 5 textverified, proof oneplayername/worldtext#text-record