s_emptyString
global · unassigned
- Address
0x882748· 1 bytes, up to0x882748- Type
const char[1]- Meaning
- Holds the empty string
- Confidence
- verified, proof one
- Finding
- ui/tooltipcontent#localized-lines
Finding: Localized lines in ui: Tooltip lines, colours and sizing
A builder gets the template of a line from a global string by name, and a missing one drops the line. The
lookup reads the Lua global of that name and returns its text, or the empty string; the line core then
refuses the empty text. The template is copied into a buffer of 0x80 bytes and used as a format, with
numbers passed as 32-bit values or, for the cast time, the cooldown and the chance lines, as an 8-byte
double. The formatter passes a %g conversion to the C runtime with the spec unchanged, so %.3g gives
three significant digits: a cooldown of 100000 ms reads 1.67 min.
The derivation is in the doc.