benilla-re systems structs docs

s_auctionOwnerSelected

global · ui

Address
0x84905c · 4 bytes, up to 0x84905f
Type
uint32_t
Meaning
Holds the selected owner auction id, -1 when none
Confidence
verified, proof one
Finding
ui/auctionlists#selection

Finding: Selection in ui: auction lists, sorting and deposits

SetSelectedAuctionItem("type", index) stores the id of the indexed record in a cell per list (0x849058 browse, 0x84905c owner, 0x849060 bidder), or -1 when the index is outside the list, and returns nothing. GetSelectedAuctionItem("type") scans the list for that id and returns its 1-based position, or 0 when it is gone, so sorting never moves the selection. The cells start at -1 and the reset sets them to -1: a cell below 0 skips the scan, so the getter answers 0 until a selection is made. A type that is none of the three makes the getter return the number 1.

The derivation is in the doc.