HandlePvPLogDataPacket
function · ui · primitive
- Address
0x4aab30· 396 bytes, up to0x4aacbb- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Reads the score message into the score blocks, asks for the names and rebuilds when all are known
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/battlefield#names-and-the-score-order
Finding: Names and the score order in ui: battlegrounds
Opcode 0x2e0, 0x4aab30: u8 ended, u8 winner only when ended is nonzero, u32 count, then per row u64 guid, u32 rank,
u32 kills, u32 honorableKills, u32 deaths, u32 honor, u32 statCount and that many words, of which eight are kept.
The count is not clamped to 80. Each row asks the name cache; a miss adds one to 0xb6ebd4 and the callback 0x4a9ef0
rebuilds when the count reaches zero. 0x4aa200 returns while names are pending; else it sets each row's team (0 for a race
whose faction template has flag 0x4, 1 for flag 0x2, else -1), counts the rows of the filter's team, or all rows for -1,
sorts the array and signals UPDATE_BATTLEFIELD_SCORE.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- CDataStore::GetGuid base
- RebuildBattlefieldScores ui
- DBCache::NameCache::GetRecord dbcache
- DBCache::NameCache::CancelCallback dbcache
Calls and jumps by a bare address, from tables/calls.tsv.