benilla-re systems structs docs

VoteOnLootRoll

function · objectlayer · orchestration

Address
0x61bdf0 · 425 bytes, up to 0x61bf98
Signature
void __fastcall (uint32_t id, uint32_t type, int confirm)
Meaning
Asks to confirm a bind-on-pickup vote, else sends CMSG_LOOT_ROLL and closes the roll
Confidence
verified, proof one
Finding
objectlayer/lootroll#voting

Finding: Voting in objectlayer: loot rolls

0x61bdf0(id, type, confirm) is the vote, called by RollOnLoot and ConfirmLootRoll. A closed or unknown roll does nothing. A vote other than pass with confirm false and an item that binds when picked up (record +0x194 equals 1) signals CONFIRM_LOOT_ROLL(id, type) and stops. Otherwise it sends CMSG_LOOT_ROLL, 0x2a0: the roll's GUID, slot and the type byte. It sets the voted flag, signals CANCEL_LOOT_ROLL(id), closes the roll, lowers the open count and promotes a queued one.

The derivation is in the doc.

Callers 2

Callees 7

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