benilla-re systems structs docs

Script::SetGuildRecruitmentMode

function · ui · orchestration

Address
0x4a0060 · 100 bytes, up to 0x4a00c3
Signature
int __fastcall (lua_State *L)
Meaning
Sets the guild recruitment mode to 0 or 1, runs the cascade for 1, and fires UPDATE_CHAT_WINDOWS
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/channelverbs#guild-recruitment-mode

Finding: Guild recruitment mode in ui: joining and leaving channels

GetGuildRecruitmentMode() returns the number in 0x843608, 1 at start and 0 or 1 after any write. SetGuildRecruitmentMode(mode) truncates a number (a numeric string works) and raises for anything that is not 0 or 1 after truncation (SetGuildRecruitmentMode: invalid mode), or Usage: for a non-number. It stores the mode, runs the cascade when the mode is 1, then fires UPDATE_CHAT_WINDOWS, and returns nothing. Mode 0 changes the value only and leaves any joined channel joined.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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