benilla-re systems structs docs

Script::GuildControlDelRank

function · ui · orchestration

Address
0x4d22e0 · 109 bytes, up to 0x4d234c
Signature
int __fastcall (lua_State *L)
Meaning
Sends the delete-rank request while more than five ranks exist
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/guild#rank-edits

Finding: Rank edits in ui: the guild roster and its Lua API

GuildControlGetRankName(index) is 1-based and returns the masked rank name, or nil past the rank count. GuildControlGetNumRanks() returns the rank count. GuildControlSaveRank(name) sends opcode 0x231 with the staged rank, the rights and the name. The rights start from the live rights of the staged rank; each of the thirteen flags sets its mask when staged on and clears it when off, and other bits stay. It does nothing for a staged rank past the rank count, an empty name or a name outside 1 to 16 characters. GuildControlAddRank(name) sends 0x232 with the name under the same length rule while fewer than 10 ranks exist. GuildControlDelRank() reads no argument and sends 0x233 without a body while over 5 ranks exist.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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