ScrollingMessageFrame::AddMessage
function · ui · primitive
- Address
0x792900· 650 bytes, up to0x792b89- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the ScrollingMessageFrame method AddMessage, its pair in the table 0x87b5c0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/messageframe#a-scrolling-frames-addmessage
- Test
ui::luabind_792_color_quantize
Finding: A scrolling frame's AddMessage in ui: MessageFrame and ScrollingMessageFrame
AddMessage(text, r, g, b, id) does nothing for an absent, nil or empty text. With r, g and b all
numbers, each is clamped to 0 to 1 (NaN to 1) and becomes trunc(v·255 + 0.5); the alpha is
always 255, and the id is argument 6. Without all three, the colour is the frame font's and the id
is argument 3. An absent or non-number id is 0, and UpdateColorByID ignores id 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleMessageScrollFrame::StoreLine ui
Calls and jumps by a bare address, from tables/calls.tsv.