Wowpedia
Advertisement
Wowpedia
240,452
pages

Source: FrameXML/TransmogUtil.lua

API

Methods

Example

Prints transmog info for the player's head slot. The internal lookup key used in TRANSMOG_SLOTS is 100, from 1*100 + 0*10 + 0

local transmogLoc = TransmogUtil.CreateTransmogLocation("HEADSLOT", Enum.TransmogType.Appearance, Enum.TransmogModification.None)

local slotID = transmogLoc:GetSlotID()
local slotName = transmogLoc:GetSlotName()
local isAppearance = transmogLoc:IsAppearance()
local lookupKey = transmogLoc:GetLookupKey()
print(slotID, slotName, isAppearance, lookupKey) -- 1, "HEADSLOT", true, 100
print(C_Transmog.GetSlotInfo(transmogLoc)) -- true, false, false, true, 0, false, false, 133195

Patch changes

External links

Wowpedia: WhatLinksHere
Advertisement