Script::SetChannelPassword
function · ui · orchestration
- Address
0x4a03a0· 226 bytes, up to0x4a0481- Signature
int __fastcall (lua_State *L)- Meaning
- Sets a channel password
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
| verb | message | arguments |
|---|---|---|
SetChannelPassword | 0x9c | channel, password |
SetChannelOwner | 0x9d | channel, name |
ChannelModerator | 0x9f | channel, name |
ChannelUnmoderator | 0xa0 | channel, name |
ChannelMute | 0xa1 | channel, name |
ChannelUnmute | 0xa2 | channel, name |
ChannelInvite | 0xa3 | channel, name |
ChannelKick | 0xa4 | channel, name |
ChannelBan | 0xa5 | channel, name |
ChannelUnban | 0xa6 | channel, name |
ListChannelByName (0x9a), DisplayChannelOwner (0x9e), ChannelToggleAnnouncements (0xa7) and ChannelModerate (0xa8) take the channel alone.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- CDataStore::PutUInt32 base
- CDataStore::PutCString base
- ParseChannelKey ui
- ClientServices::Send net
- lua_isstring lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.