ChatBubbleDuration
function · ui · primitive
- Address
0x4b1810· 91 bytes, up to0x4b186a- Signature
uint32_t __fastcall (const char *text, bool isSelf)- Meaning
- Returns a bubble's lifetime in ms from the separator runs of its text
- Confidence
- verified, proof one
- Finding
- ui/chatbubble#lifetime
Finding: Lifetime in ui: the chat bubble
A bubble lives its duration and then fades out: the duration counts words, and a line spoken by the
active player lasts less. For a line of text t, the duration is 0 for an empty text, else
base + per·k, with k the number of runs of spaces or tabs that follow a character other than a
space or tab. Someone else's bubble has base 2750 and per 750; the active player's has 1500
and 500. A leading run adds nothing and a trailing run adds one: "hi" lasts 2750, "hi " 3500,
"a b c" 4250.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.