benilla-re systems structs docs

LeaveChannel

function · ui · primitive

Address
0x49ee70 · 708 bytes, up to 0x49f133
Meaning
Composes the wire name, strips window entries, sends the leave and clears the zone mask bit
Confidence
verified, proof one
Finding
ui/channelverbs#leavechannelbyname

Finding: LeaveChannelByName in ui: joining and leaving channels

LeaveChannelByName(name) needs a string or number (else it raises Usage: LeaveChannelByName("name")), returns no values and sends CMSG_LEAVE_CHANNEL, opcode 0x98 with one C string. If the name parses as a non-zero integer n, the key is the name of joined slot n and anything that slot cannot supply is a complete no-op. Otherwise the key is the argument as typed, so "0" and "" are names. The wire name is the key, except that a key matching a shortcut becomes the row's pattern filled with the plain zone text, or the verb does nothing when that text is nil or empty. No slot lookup or state test precedes the send for a name.

The derivation is in the doc.

Callers 2

Callees 10

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