SubmitWorldText
function · playername · orchestration
- Address
0x6c7840· 88 bytes, up to0x6c7897- Signature
void __fastcall (void *desc, uint32_t category, const char *text, const uint32_t *color, const uint32_t *icon)- Meaning
- Adds a world text over a unit unless the camera or manager gate holds
- Confidence
- verified, proof one
- Finding
- playername/worldtext#submitting-a-text
Finding: Submitting a text in playername: world text
0x6c7840 adds a text over the unit of a name record unless a gate holds: the record's GUID is
the camera's and 0x50d390 returns nonzero, or the object manager's dword at +0xc8 is
nonzero. 0x6c73f0 takes the first free of the four slots and drops the text when all four are
used; it never replaces one. It looks the unit up, takes its name position, lowers the z by
0.3333333 (0x3eaaaaab, an f32 subtract rounded to f32) and constructs the text.
The derivation is in the doc.
Callers 4
- CGUnit_C::ShowMissWord objectlayer
- CGUnit_C::ShowXPGain objectlayer
- CGUnit_C::ShowHonorKill objectlayer
- CGUnit_C::ShowDamageNumber objectlayer
Callees 3
- ClntObjMgrGetC8 objectlayer
- 0x50d390 uicamera
- PLAYERNAMEDESC::AddWorldText playername
Calls and jumps by a bare address, from tables/calls.tsv.