benilla-re systems structs docs

WriteRollWonLine

function · objectlayer · orchestration

Address
0x61b9e0 · 665 bytes, up to 0x61bc78
Signature
void __fastcall (void *record, void *roll, void *name)
Meaning
Writes the winner line by showLootSpam and type, closes the roll and promotes a queued one
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 2

Callees 9

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