ExpandGrammarEscapes
function · ui · orchestration
- Address
0x7716f0· 114 bytes, up to0x771761- Meaning
- Rewrites the |1 and |2 grammar escapes of a text
- Confidence
- verified, proof one
- Finding
- ui/fontstring#setting-the-text
Finding: Setting the text in ui: FontString and Font
Setting text that is empty, or null, empties the string's text but keeps its buffer; text equal to
the current one changes nothing. With a fixed size the text is copied into that many bytes;
otherwise the buffer grows to fit. Any change drops the measures and the built string and lays the
string out again. From Lua, SetText raises %s:SetText(): Font not set on a string with no font,
turns its argument into a string, nil into null, and expands the |1 and |2 grammar escapes
first. GetText returns nil for an empty string, never "".
The derivation is in the doc.
Callers 4
- AddChatLine ui
- StartChatBubble ui
- PLAYERNAMEDESC::UpdatePlate playername
- CSimpleFontString::SetText ui
Callees 4
- sgetu8 unassigned
- SStrToInt storm
- ExpandKoreanParticles ui
- ExpandFrenchArticles ui
Calls and jumps by a bare address, from tables/calls.tsv.