HandleLootRollWon
function · objectlayer · orchestration
- Address
0x61b870· 294 bytes, up to0x61b995- Signature
int __thiscall (CDataStore *this)- Meaning
- Reads SMSG_LOOT_ROLL_WON and writes the winner's line once the item and name are known
- Confidence
- verified, proof one
- Finding
- objectlayer/lootroll#the-result
Finding: The result in objectlayer: loot rolls
SMSG_LOOT_ROLL_WON (0x61b870) reads the GUID, slot, item id, property words, the winner's GUID
and two bytes (the roll number and the type). 0x61b9e0 then writes the winner's line, closes an
open roll, and promotes a queued one. With showLootSpam nonzero (0x61ba43, 0x61bb07) the line is LOOT_ROLL_YOU_WON or
LOOT_ROLL_WON, without the roll number. With the variable 0 or missing, the line is the
_NO_SPAM_NEED form when the type is 1, else _NO_SPAM_GREED, and carries the number. A null variable is
shown by 0x61c0b0 (0x61c0c3) but takes the _NO_SPAM line here (0x61ba41, 0x61ba8a).
The derivation is in the doc.
Callers 1
- HandleLootMessage objectlayer
Callees 8
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CDataStore::GetGuid base
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- ClearLootRollState objectlayer
- FindLootRoll objectlayer
- AskWinnerName objectlayer
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.