benilla-re systems structs docs

ShowChannelModeBitChange

function · ui · orchestration

Address
0x49e8a0 · 108 bytes, up to 0x49e90b
Signature
void __fastcall (const char *name, uint8_t oldFlags, uint64_t guid, uint8_t newFlags, const char *channel, uint8_t bit, const char *setText, const char *unsetText)
Meaning
Shows the set or unset channel notice when a member flag bit is gained or lost
Confidence
verified, proof one
Finding
ui/chatchannels#mode-change-lines

Finding: Mode change lines in ui: chat channels

Notice 12 of the notify message, a GUID, the old flags and the new flags, goes to 0x49e910. When the member's name is cached it shows up to two CHANNEL_NOTICE_USER lines (type 0x13), the text a token, the sender the name and the channel the notice's channel: for bit 0x02, SET_MODERATOR when it is gained and UNSET_MODERATOR when it is lost; then for bit 0x04, SET_VOICE and UNSET_VOICE. A name not cached shows nothing: the callback it registers holds no line.

The derivation is in the doc.

Callers 1

Callees 1

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