benilla-re systems structs docs

SetGuildShowOffline

function · ui · orchestration

Address
0x4d0f70 · 53 bytes, up to 0x4d0fa4
Signature
void __fastcall (uint32_t flag)
Meaning
Stores the show-offline flag, sorts a nonempty roster and signals the update
Confidence
verified, proof one
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 1

Callees 2

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