Fandom

WoWWiki

API GetAuctionInvTypes

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetAuctionInvTypes

GetAuctionInvTypes(classIndex,subClassIndex)

Parameters: Edit

major category index and sub category index

Returns: Edit

n return values, each of which is a string representing a type in that category. I am not sure how to make it work, it seems to only return something under armor misc to armor plate (2,1 to 2,5) and returns "INVTYPE_HEAD", "INVTYPE_NECK", "INVTYPE_SHOULDER", "INVTYPE_BODY", "INVTYPE_CHEST", "INVTYPE_WAIST", "INVTYPE_LEGS", "INVTYPE_FEET", "INVTYPE_WRIST", "INVTYPE_HAND", "INVTYPE_FINGER", "INVTYPE_TRINKET", "INVTYPE_CLOAK", "INVTYPE_HOLDABLE" I found many other types looking at the executable in a hex editor: "INVTYPE_RANGEDRIGHT", "INVTYPE_THROWN", "INVTYPE_AMMO", "INVTYPE_HOLDABLE", "INVTYPE_WEAPONOFFHAND", "INVTYPE_WEAPONMAINHAND", "INVTYPE_ROBE", "INVTYPE_TABARD", "INVTYPE_BAG", "INVTYPE_2HWEAPON", "INVTYPE_CLOAK", "INVTYPE_RANGED", "INVTYPE_SHIELD", "INVTYPE_WEAPON"

Also on Fandom

Random Wiki