benilla-re systems structs docs

ShowChannelModeChange

function · ui · orchestration

Address
0x49e910 · 122 bytes, up to 0x49e989
Signature
void __fastcall (uint8_t oldFlags, uint8_t newFlags, uint64_t guid, const char *channel)
Meaning
Shows the moderator and voice notices of a mode change when the member's name is cached
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 2

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