benilla-re systems structs docs

OnWhoList

function · net · orchestration

Address
0x5adf60 · 499 bytes, up to 0x5ae152
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Stores opcode 0x63 results, sorts them, then fires WHO_LIST_UPDATE or prints them to chat
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/who#who-list-reply

Finding: Who list reply in net: who

SMSG_WHO (0x63) is two dwords, the count and the server's total, then per record the name (up to 48 bytes), the guild (up to 96), and four dwords: level, class, race, zone. The first 50 records are kept in the array 0xc281b8, stride 0xa0: name +0, guild +0x30, level +0x90, race +0x94, class +0x98, zone +0x9c. The kept count 0xc2a120 is the count capped at 50 and 0xc2a124 the total. The array is sorted by the chain (Who sort). The reply then fires WHO_LIST_UPDATE when SetWhoToUI is on or the raw count is more than 3, and otherwise prints each record to chat as it is read, then a WHO_NUM_RESULTS line with the raw count.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 10

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