benilla-re systems structs docs

Script::SetChatWindowName

function · ui · primitive

Address
0x4a13f0 · 125 bytes, up to 0x4a146c
Signature
int __fastcall (lua_State *L)
Meaning
Copies a name of at most 31 characters into a window's record
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatwindows#locked-docked-shown-and-name

Finding: Locked, docked, shown and name in ui: chat windows and their settings file

SetChatWindowShown(index, v) stores +0x94 from the flag reader 0x6f1c10 (ui/actionuse#reading-a-script-flag) with default 1, so a call with no second argument shows the window; SetChatWindowLocked(index, v) stores +0x8c the same way with default 0. SetChatWindowDocked(index, n) stores +0x90 as the truncated number, 0 when the argument is not a number. SetChatWindowName(index, s) copies at most 32 bytes into +0x00, the empty string when the argument is not a string. All return no values.

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.