benilla-re systems structs docs

ChannelCommandOne

function · ui · orchestration

Address
0x4a00f0 · 206 bytes, up to 0x4a01bd
Signature
void __fastcall (lua_State *L, uint32_t message, const char *verb)
Meaning
Sends a channel message with one channel name, after the usage check
Confidence
verified, proof one
Finding
ui/channeladmin#commands-naming-a-channel

Finding: Commands naming a channel in ui: channel administration verbs

Fourteen verbs pass a fixed message number and their argument strings to one of two helpers. The first argument is the channel, a name or the number of a joined channel, turned into the channel's name by ParseChannelKey; a verb whose helper takes a second argument also needs it as a string. A missing or non-string argument raises Usage: <Verb>("channel") or Usage: <Verb>("channel", "name") with the verb's own name (SetChannelPassword raises Usage: SetChannelPassword("name", "password"), pushed at 0x4a046b); a channel number with no joined channel sends nothing. Each verb sends its message with the channel and, for the two-argument ones, the second string, and returns no value.

verbmessagearguments
SetChannelPassword0x9cchannel, password
SetChannelOwner0x9dchannel, name
ChannelModerator0x9fchannel, name
ChannelUnmoderator0xa0channel, name
ChannelMute0xa1channel, name
ChannelUnmute0xa2channel, name
ChannelInvite0xa3channel, name
ChannelKick0xa4channel, name
ChannelBan0xa5channel, name
ChannelUnban0xa6channel, name

ListChannelByName (0x9a), DisplayChannelOwner (0x9e), ChannelToggleAnnouncements (0xa7) and ChannelModerate (0xa8) take the channel alone.

The derivation is in the doc.

Callers 4

Callees 8

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