Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This is no longer a part of the World of Warcraft API.
|
Gets a list of the Auction House item classes.
class1, class2, class3, ... = GetAuctionItemClasses()
Returns[]
- class1, class2, class3, ...
- String - The localized item class.
Example[]
local itemClasses = { GetAuctionItemClasses() }; if #itemClasses > 0 then local itemClass; for _, itemClass in pairs(itemClasses) do DEFAULT_CHAT_FRAME:AddMessage(itemClass); end end
Result
This will give you the names of every category, in the client's language. As of 5.4.8 on an English client, the results are:
- "Weapon"
- "Armor"
- "Container"
- "Consumable"
- "Glyph"
- "Trade Goods"
- "Recipe"
- "Gem"
- "Miscallaneous"
- "Quest"
- "Battle Pets"