benilla-re systems structs docs

MessageFrame::AddMessage

function · ui · primitive

Address
0x795590 · 676 bytes, up to 0x795833
Signature
int __fastcall (lua_State *L)
Meaning
Implements the MessageFrame method AddMessage, its pair in the table 0x87b960
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/messageframe#a-message-frames-addmessage
Test
ui::luabind_792_color_quantize

Finding: A message frame's AddMessage in ui: MessageFrame and ScrollingMessageFrame

The message frame's AddMessage(text, r, g, b, a) takes an alpha where the scrolling frame takes an id: argument 6, clamped to 0 to 1, default 1. Without r, g and b the colour is opaque white, not the font's. The line is queued and placed at the next update. Its fade divides the time left by the frame's fade time like the scrolling frame's.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 10

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