Script::GetLootRollItemLink
function · ui · orchestration
- Address
0x4c31f0· 215 bytes, up to0x4c32c6- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the item link of a loot roll
- 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 9
- __ftol crt
- FormatItemLink ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- FormatItemName objectlayer
- FindLootRollById objectlayer
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.