Script::GuildControlSaveRank
function · ui · primitive
- Address
0x4d20d0· 305 bytes, up to0x4d2200- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the staged rank's rights and a new name for it
- 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 8
- CDataStore::PutUInt32 base
- CDataStore::PutUInt32_3 base
- CDataStore::PutCString base
- ClientServices::Send net
- Utf8ToUtf16Length storm
- lua_isstring lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.