C_TransmogCollection.GetValidAppearanceSourcesForClass

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

sources = C_TransmogCollection.GetValidAppearanceSourcesForClass(appearanceID, classID [, categoryType, transmogLocation])

Arguments

appearanceID
number
classID
number
categoryType
Enum.TransmogCollectionType?
Value Field Description
0 None Added in 9.1.0
1 Head
2 Shoulder
3 Back
4 Chest
5 Shirt
6 Tabard
7 Wrist
8 Hands
9 Waist
10 Legs
11 Feet
12 Wand
13 OneHAxe
14 OneHSword
15 OneHMace
16 Dagger
17 Fist
18 Shield
19 Holdable
20 TwoHAxe
21 TwoHSword
22 TwoHMace
23 Staff
24 Polearm
25 Bow
26 Gun
27 Crossbow
28 Warglaives
29 Paired
transmogLocation
TransmogLocation?🔗

Returns

sources
AppearanceSourceInfo[]
Field Type Description
visualID number AppearanceID
sourceID number
isCollected boolean Whether the item has been collected
itemID number
itemModID number 0=Normal, 1=Heroic, 3=Mythic/Elite, 4=Raid Finder (TransmogSetID)
invType number?🔗 = 0
categoryID Enum.TransmogCollectionType?🔗 default=None
inventorySlot number?
sourceType number? Appearance Source Type
name string?
quality number?
useError string? Reason that meetsTransmogPlayerCondition == false.
useErrorType Enum.TransmogUseErrorType?
meetsTransmogPlayerCondition boolean? false if player doesn't meet transmog requirement, else nil
isHideVisual boolean? Whether the item is a hidden visual, e.g.  [Hidden Helm]
Enum.TransmogUseErrorType
Value Key
0 None
1 PlayerCondition
2 Skill
3 Ability
4 Faction
5 Holiday
6 HotRecheckFailed