benilla-re systems structs docs

ScrollingMessageFrame::AddMessage

function · ui · primitive

Address
0x792900 · 650 bytes, up to 0x792b89
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

Calls and jumps by a bare address, from tables/calls.tsv.