benilla-re systems structs docs

Script::RemoveChatWindowMessages

function · ui · primitive

Address
0x4a0f40 · 178 bytes, up to 0x4a0ff1
Signature
int __fastcall (lua_State *L)
Meaning
Clears a window's flag for the message group of the given name
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 7

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