benilla-re systems structs docs

Script::GetNumAuctionItems

function · ui · orchestration

Address
0x4ced20 · 283 bytes, up to 0x4cee3a
Signature
int __fastcall (lua_State *L)
Meaning
Returns the count and total of the owner, bidder or browse list
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#list-reads

Finding: List reads in ui: auction lists, sorting and deposits

GetNumAuctionItems("type") is 0x4ced20; the type is owner, bidder or list, matched without case in that order. It returns two numbers, the list's count and its total. A type that is none of them returns a count of 2 with nothing pushed, so Lua takes the two values already on the stack, the called function and its argument. A non-string raises Usage: GetNumAuctionItems("type"). The functions that take an index (1-based, truncated) all take ("type", index), raise their usage line for a bad argument, and treat an unknown type like an index outside the list.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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