FontString::SetText
function · ui · primitive
- Address
0x79d760· 211 bytes, up to0x79d832- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the FontString method SetText, its pair in the table 0x87c1d8
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 7
- lua_settop lua
- lua_type lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleFontString::SetText ui
Calls and jumps by a bare address, from tables/calls.tsv.