benilla-re systems structs docs

Script::GetAuctionItemClasses

function · ui · primitive

Address
0x4cf970 · 79 bytes, up to 0x4cf9be
Signature
int __fastcall (lua_State *L)
Meaning
Pushes the localized names of the auction item classes
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/auctionlists#filter-menus

Finding: Filter menus in ui: auction lists, sorting and deposits

GetAuctionItemClasses() pushes the localized name (locale column at +0xc of the ItemClass.dbc row) of each class of the table 0x807060 in order: weapon (2), armor (4), container (1), consumable (0), trade goods (7), projectile (6), quiver (11), recipe (9), reagent (5), miscellaneous (15). GetAuctionItemSubClasses(index) takes a 1-based index into that table; for 10 or more, or a class without subclasses, it returns nothing, else it pushes the name (+0x4c of the ItemSubClass.dbc row, or +0x28 when empty) of each row of the class whose DisplayFlags bit 0x2 is clear. GetAuctionInvTypes(classIndex, subClassIndex) pushes up to 14 inventory type keys, not localized text.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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