TransmogLocationMixin

Source: FrameXML/TransmogUtil.lua

API

 * TransmogUtil.GetInfoForEquippedSlot( transmogLocation ) : appliedSourceID, appliedVisualID, selectedSourceID, selectedVisualID, itemSubclass
 * TransmogUtil.CanEnchantSource( sourceID ) : boolean
 * TransmogUtil.GetWeaponInfoForEnchant( transmogLocation ) : sourceID, visualID
 * TransmogUtil.GetBestWeaponInfoForIllusionDressup : weaponSlotName, weaponSourceID
 * TransmogUtil.GetSlotID( slotName ) : slotID
 * TransmogUtil.GetSlotName( slotID ) : slotName
 * TransmogUtil.CreateTransmogLocation( slotDescriptor, transmogType, modification ) : transmogLocation - Creates an object from a inventorySlotName, Enum.TransmogType and Enum.TransmogModification.
 * TransmogUtil.GetTransmogLocation( slotDescriptor, transmogType, modification ) : transmogLocation
 * TransmogUtil.GetCorrespondingHandTransmogLocation( transmogLocation ) : transmogLocation
 * TransmogUtil.GetTransmogLocationLookupKey( slotID, transmogType, modification ) : lookupKey
 * TransmogUtil.GetSetIcon( setID ) : setIcon

Methods

 * TransmogLocationMixin:Set( slotID, transmogType, modification )
 * TransmogLocationMixin:IsAppearance : boolean
 * TransmogLocationMixin:IsIllusion : boolean
 * TransmogLocationMixin:GetSlotID : slotID
 * TransmogLocationMixin:GetSlotName : slotName
 * TransmogLocationMixin:IsEitherHand : boolean
 * TransmogLocationMixin:IsMainHand : boolean
 * TransmogLocationMixin:IsOffHand : boolean
 * TransmogLocationMixin:IsEqual( transmogLocation ) : boolean
 * TransmogLocationMixin:GetArmorCategoryID : armorCategoryID
 * TransmogLocationMixin:GetLookupKey : lookupKey
 * TransmogLocationMixin:IsRightShoulderModification : boolean

Example
Prints transmog info for the player's head slot. The internal lookup key used in TRANSMOG_SLOTS is 100, from