Script::GuildControlGetNumRanks
function · ui · orchestration
- Address
0x4d1e60· 44 bytes, up to0x4d1e8b- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the rank count of the last roster message
- 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 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.