C_TransmogSets .GetSourcesForSlot
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 7.2.0 |
Returns sources for a transmog set's slot. Only returns valid data for the current class (proficiency).
sources = C_TransmogSets.GetSourcesForSlot(transmogSetID, slot)
Arguments
- transmogSetID
- number
- slot
- number - InventorySlotId
Returns
- sources
- structure - 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] |
Value | Key |
---|---|
0 | None |
1 | PlayerCondition |
2 | Skill |
3 | Ability |
4 | Faction |
5 | Holiday |
6 | HotRecheckFailed |
Patch changes
Patch 7.2.0 (2017-03-28): Added.