Script::GetNumWhoResults
function · net · orchestration
- Address
0x5ad690· 80 bytes, up to0x5ad6df- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the stored who result count, at most 50, and the server total
- 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 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.