Script::SortGuildRoster
function · ui · orchestration
- Address
0x4d1cb0· 343 bytes, up to0x4d1e06- Signature
int __fastcall (lua_State *L)- Meaning
- Promotes a named sort key, or the name key for an unknown string
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/guild#changing-the-order
Finding: Changing the order in ui: the guild roster and its Lua API
SortGuildRoster(field) takes one of the strings rank, level, name, zone, class, group, online or
note, compared without case, and an unknown string sorts by name. 0x4d0fb0(key) finds the key in the chain.
At slot 0 its direction flips; elsewhere it keeps its remembered direction. It moves the key to slot 0, shifting
the earlier slots down, sorts, and signals GUILD_ROSTER_UPDATE without an argument. An argument that is neither
a string nor a number raises Usgae: SortGuildRoster("type"). SetGuildRosterShowOffline([flag]) defaults to on; the worker
0x4d0f70 does nothing for an unchanged value and otherwise stores the flag, sorts a nonempty roster and signals.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- PromoteGuildSortKey ui
- SStrCmpI storm
- lua_isstring lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.