benilla-re systems structs docs

Script::RemoveChatWindowChannel

function · ui · primitive

Address
0x4a1260 · 387 bytes, up to 0x4a13e2
Signature
int __fastcall (lua_State *L)
Meaning
Removes a channel, given by name or number, from a window
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatwindows#channels-of-a-window

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

A window keeps channel names beside ids. GetChatWindowChannels(index) returns, for each non-null slot, the name and then the id as a number. AddChatWindowChannel(index, name) returns one number: the ChatChannels row id when name is a row's shortcut, 0 for any other channel. For a shortcut it stores the row's own shortcut string, not the argument, and returns nothing while no zone text is set (GetRealZoneText is nil or empty). A name already present is not stored twice. RemoveChatWindowChannel takes a name or the number of a joined channel and clears the matching slot; it returns no values.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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