wowpedia
Main Menu


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[]
AppearanceSourceInfo
Field Type Description
categoryID Enum.TransmogCollectionType🔗
invType 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 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 Enum.TransmogUseErrorType?
Enum.TransmogUseErrorType
Value Key
0 None
1 PlayerCondition
2 Skill
3 Ability
4 Faction
5 Holiday
6 HotRecheckFailed

Patch changes

Legion Patch 7.2.0 (2017-03-28): Added.