C_TransmogCollection .GetAppearanceSources
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 7.0.3 |
Returns the sources for an appearance.
sources = C_TransmogCollection.GetAppearanceSources(appearanceID [, categoryType, transmogLocation])
Arguments
- appearanceID
- number : AppearanceID
- categoryType
- Enum.TransmogCollectionType?🔗
- transmogLocation
- TransmogLocationMixin?🔗
Returns
- sources
- AppearanceSourceInfo[]? - Only returns valid data for the class proficiency, otherwise returns nil.
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] |
Value | Key |
---|---|
0 | None |
1 | PlayerCondition |
2 | Skill |
3 | Ability |
4 | Faction |
5 | Holiday |
6 | HotRecheckFailed |
Patch changes
Patch 9.2.5 (2022-05-31): Added transmogLocation
argument.
Patch 9.1.5 (2021-11-02): Added categoryType
argument.
Patch 9.1.0 (2021-06-29): Removed categoryID
argument.
Patch 9.0.1 (2020-10-13): Added categoryID
argument.
Patch 7.0.3 (2016-07-19): Added.