benilla-re systems structs docs

Script::GetAuctionItemInfo

function · ui · primitive

Address
0x4cee40 · 1097 bytes, up to 0x4cf288
Signature
int __fastcall (lua_State *L)
Meaning
Returns the 12 values of an auction row, or a canned tuple when there is none
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#auction-item-info

Finding: Auction item info in ui: auction lists, sorting and deposits

GetAuctionItemInfo("type", index) is 0x4cee40 and returns 12 values: name, icon path, stack count, quality, usable (1 or nil), required level (at least 1), minimum bid, minimum increment, buyout, current bid, high bidder and owner. The name carries the random suffix; the icon path is built as in ui/portraittextures#bag-portrait. On the owner list, for a row the player owns, the high bidder is the bidder's cached name (nil with no bidder or no name yet); elsewhere it is 1 when the bidder is the player, else nil. The owner is a name or nil. With no row, no cached item record or an unknown type it returns nil, nil, 1, -1, nil, 0, 0, 0, 0, 0, nil, nil.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 20

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