Files
wow_Meta/api/GetAuctionItemSubClasses.lua
2024-12-16 13:13:08 +01:00

6 lines
646 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param classIndex number
---@return list ...
---Returns a list of localized subclass names for a given item class. Item subclasses are the second level of hierarchy seen when browsing item classes (categories) at the Auction House: One-Handed Axes, Two-Handed Axes, Bows, Guns, et al for Weapon; Cloth, Leather, Plate, Shields, et al for Armor; Food & Drink, Potion, Elixir et al for Consumable; Red, Blue, Yellow, et al for Gem; etc. This function still returns valid information if the player is not interacting with an auctioneer.
function GetAuctionItemSubClasses(classIndex) end