Script::SetChatWindowName
function · ui · primitive
- Address
0x4a13f0· 125 bytes, up to0x4a146c- 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
- __ftol crt
- SStrCopy storm
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.