Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 8.3.0

Needs summary.

subClasses = C_AuctionHouse.GetAuctionItemSubClasses(classID)

Arguments

classID 
number - Item classID

Returns

subClasses 
number[]

Example

Prints all subclass IDs for the Consumables category.

local classID = LE_ITEM_CLASS_CONSUMABLE
for _, subClassID in pairs(C_AuctionHouse.GetAuctionItemSubClasses(classID)) do
	print(subClassID, (GetItemSubClassInfo(classID, subClassID)))
end
0, Explosives and Devices
1, Potion
2, Elixir
3, Flask
5, Food & Drink
7, Bandage
9, Vantus Runes
8, Other

Values

Enum classID subClasses
LE_ITEM_CLASS_CONSUMABLE
0
{0, 1, 2, 3, 5, 7, 9, 8}
LE_ITEM_CLASS_CONTAINER
1
{0, 2, 3, 4, 5, 6, 7, 8, 9, 10}
LE_ITEM_CLASS_WEAPON
2
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 18, 19, 20}
LE_ITEM_CLASS_GEM
3
{11, 0, 1, 2, 3, 5, 6, 7, 8, 9, 10}
LE_ITEM_CLASS_ARMOR
4
{0, 1, 2, 3, 4, 5, 6}
LE_ITEM_CLASS_REAGENT
5
{0, 1}
LE_ITEM_CLASS_PROJECTILE
6
{}
LE_ITEM_CLASS_TRADEGOODS
7
{5, 6, 7, 8, 9, 12, 16, 4, 1, 10, 11}
LE_ITEM_CLASS_ITEM_ENHANCEMENT
8
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}
LE_ITEM_CLASS_RECIPE
9
{0, 1, 2, 3, 4, 6, 8, 10, 11, 5, 7, 9}
(Money)
10
{0}
LE_ITEM_CLASS_QUIVER
11
{}
LE_ITEM_CLASS_QUESTITEM
12
{0}
LE_ITEM_CLASS_KEY
13
{0, 1}
(Permanent)
14
{0}
LE_ITEM_CLASS_MISCELLANEOUS
15
{0, 1, 2, 3, 5, 6, 4}
LE_ITEM_CLASS_GLYPH
16
{1, 2, 3, 4, 5, 7, 8, 9, 11, 6, 10, 12}
LE_ITEM_CLASS_BATTLEPET
17
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
LE_ITEM_CLASS_WOW_TOKEN
18
{0}

Patch changes

See also


Advertisement