Returns the sources for an appearance.
sources = C_TransmogCollection.GetAppearanceSources(appearanceID [, categoryType, transmogLocation])
Arguments
- appearanceID
- number : AppearanceID
- categoryType
- Enum.TransmogCollectionType?
- transmogLocation
- TransmogLocationMixin?
Enum.TransmogCollectionType
Value |
Key |
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 |
|
Returns
- sources
- AppearanceSourceInfo[] - Only returns valid data for the class proficiency, otherwise returns nil.
Key |
Type |
Description
|
categoryID |
number |
Enum.TransmogCollectionType
|
invType |
number |
Enum.InventoryType
|
isCollected |
boolean |
Whether the item has been collected
|
isHideVisual |
boolean? |
Whether the item is a hidden visual, e.g. [Hidden Helm]
|
itemID |
number |
|
itemModID |
number |
0=Normal, 1=Heroic, 3=Mythic/Elite, 4=Raid Finder[1]
|
name |
string? |
|
quality |
number? |
Enum.ItemQuality
|
sourceID |
number |
|
sourceType |
number? |
Appearance Source Type
|
visualID |
number |
AppearanceID
|
meetsTransmogPlayerCondition |
boolean? |
false if player doesn't meet transmog requirement, else nil
|
useError |
string? |
Reason that meetsTransmogPlayerCondition == false.
|
useErrorType |
number? |
Enum.TransmogUseErrorType
|
Patch changes