benilla-re systems structs docs

Script::GetChatWindowMessages

function · ui · primitive

Address
0x4a0d20 · 151 bytes, up to 0x4a0db6
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the name of each message group a window shows
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatwindows#message-groups-of-a-window

Finding: Message groups of a window in ui: chat windows and their settings file

A window shows a chat line when its flag byte for the line's group is set. The groups are 68 records of 12 bytes at 0x805fb0 (name pointer, default-on, version that added it; chat_groups.tsv), which differ from the 94 colour types: CREATURE is a group only. GetChatWindowMessages(index) returns the name of every set flag in table order; AddChatWindowMessages(index, name) and RemoveChatWindowMessages set or clear the flag of the group whose name matches without case, and do nothing for an unknown name. They return no values and fire no event.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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