Script::GetAuctionItemSubClasses
function · ui · primitive
- Address
0x4cf9c0· 225 bytes, up to0x4cfaa0- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the names of the filterable subclasses of an auction item class
- 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 6
- __ftol crt
- lua_checkstack lua
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.