benilla-re systems structs docs

SaveChatSettings

function · ui · primitive

Address
0x499a80 · 1842 bytes, up to 0x49a1b1
Meaning
Writes the whole of chat-cache.txt from the window records, colours and channels
Confidence
verified, proof one
Finding
ui/chatwindows#settings-file-writer

Finding: Settings file writer in ui: chat windows and their settings file

The writer 0x499a80 writes the settings to the account's cache file, chat-cache.txt, whole, with a handle of -1 writing nothing. The header is VERSION 2, ADDEDVERSION 2, the guild recruitment option line, CHANNELS with the joined custom channels, END, ZONECHANNELS n, COLORS with one name r g b line per registry colour, and END. Then ten blocks: WINDOW n, NAME s only when the name is not empty, SIZE, COLOR r g b a, LOCKED (0 or 1), DOCKED (raw), SHOWN (0 or 1), a blank line, MESSAGES with each set group's name and END, CHANNELS with the window's custom channels and END, ZONECHANNELS mask and END.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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