benilla-re systems structs docs

SetLoggingFlag

function · ui · orchestration

Address
0x49fe50 · 146 bytes, up to 0x49fee1
Meaning
Sets or reads the chat or combat logging flag, opens the log, and pushes 1 or nil
Confidence
verified, proof one
Finding
ui/chatwindows#chat-logging

Finding: Chat logging in ui: chat windows and their settings file

LoggingChat and LoggingCombat set a per-session flag from their argument and return 1 or nil. With no argument they only read. With an argument they store the flag read by 0x6f1c10 with default 1, and on the first enable create Logs\ and open Logs\WoWChatLog.txt or Logs\WoWCombatLog.txt for appending; a failed open stores 0 again. The return value is the number 1 or nil, never a boolean. Nothing prints on a change.

The derivation is in the doc.

Callers 2

Callees 6

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