Script::RollOnLoot
function · ui · orchestration
- Address
0x4c3370· 104 bytes, up to0x4c33d7- Signature
int __fastcall (lua_State *L)- Meaning
- Votes on a loot roll without confirming
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/tradelootverbs#loot-rolls
Finding: Loot rolls in ui: trade window and loot roll verbs
GetLootRollItemInfo(id) returns five values for the open roll with that id: the icon path, the item name with its
random suffix, the number 1, the quality, and 1 when the item binds when picked up (record field +0x194 equal to 1), else nil. An unknown roll or
uncached item gives nil, nil, 1, 1, nil. GetLootRollItemLink(id) returns the roll's item link or no value. GetLootRollTimeLeft(id) returns
the milliseconds until the roll's deadline (+0x28) minus the clock, or 0 for an unknown roll. RollOnLoot(id, type) calls the vote
with confirm 0 and ConfirmLootRoll(id, type) with confirm 1. Each raises Usage: <Verb>(id) or (id, rollType) for non-numbers.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- __ftol crt
- VoteOnLootRoll objectlayer
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.