benilla-re systems structs docs

Script::GetGuildRosterShowOffline

function · ui · orchestration

Address
0x4d1e30 · 38 bytes, up to 0x4d1e55
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 when offline members are shown, else nil
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 2

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