benilla-re systems structs docs

Script::IsAuctionSortReversed

function · ui · primitive

Address
0x4d0030 · 548 bytes, up to 0x4d0253
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 when a sort column's reversed flag is set in the list's key stack, else nil; nothing for an unknown sort
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#reversed-flag

Finding: Reversed flag in ui: auction lists, sorting and deposits

IsAuctionSortReversed("type", "sort") pushes the number 1 when the reversed flag of the sort column in that list's key stack is set, else nil, and returns one value. The sort name is matched first, with the names and columns of SortAuctionItems, and one that matches none returns nothing. A type that matches none returns nil. An argument that is neither a string nor a number raises Usage: IsAuctionSortReversed("type", "sort"). The sort state lives only in the three key stacks.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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