benilla-re systems structs docs

PrintWhoResultLine

function · net · orchestration

Address
0x5ae160 · 336 bytes, up to 0x5ae2af
Signature
void __fastcall (const char *name, const char *guild, uint32_t level, uint32_t classId, uint32_t raceId, uint32_t zoneId)
Meaning
Adds one who result to chat as WHO_LIST_FORMAT, or WHO_LIST_GUILD_FORMAT when it has a guild
Confidence
verified, proof one
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 1

Callees 3

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