benilla-re systems structs docs

0x8072a8

global · ui

Address
0x8072a8 · 4 bytes, up to 0x8072ab
Type
const uint32_t
Meaning
Holds a dword that Script::GetAuctionItemTimeLeft reads; not read here
Confidence
inferred
Finding
ui/auctionlists#item-links-and-time-left

Finding: Item links and time left in ui: auction lists, sorting and deposits

GetAuctionItemLink("type", index) pushes one string, <colour>|Hitem:<entry>:<enchant>:<random>:<suffix>|h[<name>]|h|r, the colour by quality from seven fixed codes (grey, white, green, blue, purple, orange, light gold; quality 7 or more uses white), and pushes nothing on a miss. GetAuctionItemTimeLeft("type", index) pushes 1 to 4 and 0 on a miss: the number 1 when the deadline has passed, otherwise 1, 2 or 3 as the time left is under 30 minutes, 2 hours or 8 hours, else 4. A row more than 10000 ms past its deadline is also removed from the lists.

The derivation is in the doc.