World of Warcraft Forever API · C_TransmogOutfitInfo.md, for your AI
C_TransmogOutfitInfo
67 functions, 8 events, 12 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_TransmogOutfitInfo.AddNewOutfit
C_TransmogOutfitInfo.AddNewOutfit(name, icon)
Arguments
name | cstring | |
|---|---|---|
icon | fileID |
C_TransmogOutfitInfo.CanPlayerTransmogSlot
valid = C_TransmogOutfitInfo.CanPlayerTransmogSlot(slot)
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
valid | bool |
|---|
C_TransmogOutfitInfo.ChangeDisplayedOutfit
C_TransmogOutfitInfo.ChangeDisplayedOutfit(outfitID, trigger, toggleLock, allowRemoveOutfit)
Arguments
outfitID | number | |
|---|---|---|
trigger | TransmogSituationTrigger | |
toggleLock | bool | |
allowRemoveOutfit | bool |
C_TransmogOutfitInfo.ChangeToOutfit
C_TransmogOutfitInfo.ChangeToOutfit(playerFacingOutfitIndex, allowRemoveOutfit)
Arguments
playerFacingOutfitIndex | number | |
|---|---|---|
allowRemoveOutfit | bool |
C_TransmogOutfitInfo.ChangeViewedOutfit
C_TransmogOutfitInfo.ChangeViewedOutfit(outfitID)
Arguments
outfitID | number |
|---|
C_TransmogOutfitInfo.ClearAllPendingSituations
C_TransmogOutfitInfo.ClearAllPendingSituations()
C_TransmogOutfitInfo.ClearAllPendingTransmogs
C_TransmogOutfitInfo.ClearAllPendingTransmogs()
C_TransmogOutfitInfo.ClearDisplayedOutfit
C_TransmogOutfitInfo.ClearDisplayedOutfit(trigger, toggleLock)
Arguments
trigger | TransmogSituationTrigger | |
|---|---|---|
toggleLock | bool |
C_TransmogOutfitInfo.ClearOutfit
C_TransmogOutfitInfo.ClearOutfit()
C_TransmogOutfitInfo.CommitAndApplyAllPending
C_TransmogOutfitInfo.CommitAndApplyAllPending(useAvailableDiscount)
Arguments
useAvailableDiscount | bool |
|---|
C_TransmogOutfitInfo.CommitOutfitInfo
C_TransmogOutfitInfo.CommitOutfitInfo(outfitID, name, icon)
Arguments
outfitID | number | |
|---|---|---|
name | cstring | |
icon | fileID |
C_TransmogOutfitInfo.CommitPendingSituations
C_TransmogOutfitInfo.CommitPendingSituations()
C_TransmogOutfitInfo.GetActiveOutfitID
outfitID = C_TransmogOutfitInfo.GetActiveOutfitID()
Returns
outfitID | number |
|---|
C_TransmogOutfitInfo.GetAllSlotLocationInfo
appearanceSlotInfo, illusionSlotInfo = C_TransmogOutfitInfo.GetAllSlotLocationInfo()
May return nothing.
Returns
appearanceSlotInfo | TransmogOutfitSlotInfo[] | |
|---|---|---|
illusionSlotInfo | TransmogOutfitSlotInfo[] |
C_TransmogOutfitInfo.GetAllTransmogOutfitOptionSheatheCategoryInfo
categoryInfo = C_TransmogOutfitInfo.GetAllTransmogOutfitOptionSheatheCategoryInfo(imaID)
May return nothing.
Arguments
imaID | number |
|---|
Returns
categoryInfo | TransmogOutfitOptionSheatheCategoryInfo[] |
|---|
C_TransmogOutfitInfo.GetCollectionInfoForSlotAndOption
collectionInfo = C_TransmogOutfitInfo.GetCollectionInfoForSlotAndOption(slot, option, collectionType)
May return nothing.
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption | |
collectionType | TransmogCollectionType |
Returns
collectionInfo | TransmogOutfitCollectionInfo |
|---|
C_TransmogOutfitInfo.GetCurrentlyViewedOutfitID
outfitID = C_TransmogOutfitInfo.GetCurrentlyViewedOutfitID()
Returns
outfitID | number |
|---|
C_TransmogOutfitInfo.GetEquippedSlotOptionFromTransmogSlot
option = C_TransmogOutfitInfo.GetEquippedSlotOptionFromTransmogSlot(slot)
May return nothing.
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
option | TransmogOutfitSlotOption |
|---|
C_TransmogOutfitInfo.GetIllusionDefaultIMAIDForCollectionType
imaID = C_TransmogOutfitInfo.GetIllusionDefaultIMAIDForCollectionType(collectionType)
May return nothing.
Arguments
collectionType | TransmogCollectionType |
|---|
Returns
imaID | number |
|---|
C_TransmogOutfitInfo.GetItemModifiedAppearanceEffectiveCategory
categoryID = C_TransmogOutfitInfo.GetItemModifiedAppearanceEffectiveCategory(imaID)
Arguments
imaID | number |
|---|
Returns
categoryID | TransmogCollectionType |
|---|
C_TransmogOutfitInfo.GetLinkedSlotInfo
linkedSlotInfo = C_TransmogOutfitInfo.GetLinkedSlotInfo(slot)
May return nothing.
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
linkedSlotInfo | TransmogOutfitLinkedSlotInfo |
|---|
C_TransmogOutfitInfo.GetMaxNumberOfTotalOutfitsForSource
maxOutfitCount = C_TransmogOutfitInfo.GetMaxNumberOfTotalOutfitsForSource(source)
Arguments
source | TransmogOutfitEntrySource |
|---|
Returns
maxOutfitCount | number |
|---|
C_TransmogOutfitInfo.GetMaxNumberOfUsableOutfits
maxOutfitCount = C_TransmogOutfitInfo.GetMaxNumberOfUsableOutfits()
Returns
maxOutfitCount | number |
|---|
C_TransmogOutfitInfo.GetNextOutfitCost
outfitCost = C_TransmogOutfitInfo.GetNextOutfitCost()
Returns
outfitCost | BigUInteger |
|---|
C_TransmogOutfitInfo.GetNumberOfOutfitsUnlockedForSource
unlockedOutfitCount = C_TransmogOutfitInfo.GetNumberOfOutfitsUnlockedForSource(source)
Arguments
source | TransmogOutfitEntrySource |
|---|
Returns
unlockedOutfitCount | number |
|---|
C_TransmogOutfitInfo.GetOptionsForSlot
options, artifactOptions = C_TransmogOutfitInfo.GetOptionsForSlot(slot)
May return nothing.
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
options | TransmogOutfitOptionInfo[] | |
|---|---|---|
artifactOptions | TransmogOutfitOptionInfo[] may be nil |
C_TransmogOutfitInfo.GetOutfitInfo
outfitInfo = C_TransmogOutfitInfo.GetOutfitInfo(outfitID)
May return nothing.
Arguments
outfitID | number |
|---|
Returns
outfitInfo | TransmogOutfitEntryInfo |
|---|
C_TransmogOutfitInfo.GetOutfitInfoByName
outfitInfo = C_TransmogOutfitInfo.GetOutfitInfoByName(name)
May return nothing.
Arguments
name | cstring | Case-insensitive outfit name to search for. If multiple exist with the same name, it is unspecified which outfit will be returned. |
|---|
Returns
outfitInfo | TransmogOutfitEntryInfo |
|---|
C_TransmogOutfitInfo.GetOutfitInfoByPlayerFacingIndex
outfitInfo = C_TransmogOutfitInfo.GetOutfitInfoByPlayerFacingIndex(playerFacingOutfitIndex)
May return nothing.
Arguments
playerFacingOutfitIndex | number |
|---|
Returns
outfitInfo | TransmogOutfitEntryInfo |
|---|
C_TransmogOutfitInfo.GetOutfitSituation
value = C_TransmogOutfitInfo.GetOutfitSituation(option)
Arguments
option | TransmogSituationOption |
|---|
Returns
value | bool |
|---|
C_TransmogOutfitInfo.GetOutfitSituationsEnabled
enabled = C_TransmogOutfitInfo.GetOutfitSituationsEnabled()
Returns
enabled | bool |
|---|
C_TransmogOutfitInfo.GetOutfitsInfo
outfitsInfo = C_TransmogOutfitInfo.GetOutfitsInfo()
May return nothing.
Returns
outfitsInfo | TransmogOutfitEntryInfo[] |
|---|
C_TransmogOutfitInfo.GetPendingTransmogCost
cost, modifierFlags = C_TransmogOutfitInfo.GetPendingTransmogCost()
May return nothing.
Returns
cost | BigUInteger | |
|---|---|---|
modifierFlags | number |
C_TransmogOutfitInfo.GetSecondarySlotState
state = C_TransmogOutfitInfo.GetSecondarySlotState(slot, option)
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption |
Returns
state | bool |
|---|
C_TransmogOutfitInfo.GetSetSourcesForSlot
sources = C_TransmogOutfitInfo.GetSetSourcesForSlot(transmogSetID, slot)
May return nothing.
Arguments
transmogSetID | number | |
|---|---|---|
slot | TransmogOutfitSlot |
Returns
sources | AppearanceSourceInfo[] |
|---|
C_TransmogOutfitInfo.GetSlotGroupInfo
slotGroups = C_TransmogOutfitInfo.GetSlotGroupInfo()
May return nothing.
Returns
slotGroups | TransmogOutfitSlotGroup[] |
|---|
C_TransmogOutfitInfo.GetSourceIDsForSlot
sources = C_TransmogOutfitInfo.GetSourceIDsForSlot(transmogSetID, slot)
May return nothing.
Arguments
transmogSetID | number | |
|---|---|---|
slot | TransmogOutfitSlot |
Returns
sources | number[] |
|---|
C_TransmogOutfitInfo.GetTransmogOutfitSlotForInventoryType
slot = C_TransmogOutfitInfo.GetTransmogOutfitSlotForInventoryType(inventoryType)
May return nothing.
Arguments
inventoryType | luaIndex |
|---|
Returns
slot | TransmogOutfitSlot |
|---|
C_TransmogOutfitInfo.GetTransmogOutfitSlotFromInventorySlot
slot = C_TransmogOutfitInfo.GetTransmogOutfitSlotFromInventorySlot(inventorySlot)
May return nothing.
Arguments
inventorySlot | InventorySlots |
|---|
Returns
slot | TransmogOutfitSlot |
|---|
C_TransmogOutfitInfo.GetUISituationCategoriesAndOptions
categoryData = C_TransmogOutfitInfo.GetUISituationCategoriesAndOptions()
May return nothing.
Returns
categoryData | TransmogSituationCategory[] |
|---|
C_TransmogOutfitInfo.GetUnassignedAtlasForSlot
atlas = C_TransmogOutfitInfo.GetUnassignedAtlasForSlot(slot)
May return nothing.
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
atlas | textureAtlas |
|---|
C_TransmogOutfitInfo.GetUnassignedDisplayAtlasForSlot
atlas = C_TransmogOutfitInfo.GetUnassignedDisplayAtlasForSlot(slot)
May return nothing.
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
atlas | textureAtlas |
|---|
C_TransmogOutfitInfo.GetViewedOutfitSlotInfo
slotInfo = C_TransmogOutfitInfo.GetViewedOutfitSlotInfo(slot, type, option)
May return nothing.
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
type | TransmogType | |
option | TransmogOutfitSlotOption |
Returns
slotInfo | ViewedTransmogOutfitSlotInfo |
|---|
C_TransmogOutfitInfo.HasPendingOutfitSituations
hasPending = C_TransmogOutfitInfo.HasPendingOutfitSituations()
Returns
hasPending | bool |
|---|
C_TransmogOutfitInfo.HasPendingOutfitTransmogs
hasPending = C_TransmogOutfitInfo.HasPendingOutfitTransmogs()
Returns
hasPending | bool |
|---|
C_TransmogOutfitInfo.InTransmogEvent
inTransmogEvent = C_TransmogOutfitInfo.InTransmogEvent()
Returns
inTransmogEvent | bool |
|---|
C_TransmogOutfitInfo.IsEquippedGearOutfitDisplayed
isDisplayed = C_TransmogOutfitInfo.IsEquippedGearOutfitDisplayed()
Returns
isDisplayed | bool |
|---|
C_TransmogOutfitInfo.IsEquippedGearOutfitLocked
isLocked = C_TransmogOutfitInfo.IsEquippedGearOutfitLocked()
Returns
isLocked | bool |
|---|
C_TransmogOutfitInfo.IsLockedOutfit
isLocked = C_TransmogOutfitInfo.IsLockedOutfit(outfitID)
Arguments
outfitID | number |
|---|
Returns
isLocked | bool |
|---|
C_TransmogOutfitInfo.IsSlotWeaponSlot
isWeaponSlot = C_TransmogOutfitInfo.IsSlotWeaponSlot(slot)
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
isWeaponSlot | bool |
|---|
C_TransmogOutfitInfo.IsTransmogEnabled
enabled = C_TransmogOutfitInfo.IsTransmogEnabled()
Returns
enabled | bool |
|---|
C_TransmogOutfitInfo.IsUsableDiscountAvailable
isAvailable = C_TransmogOutfitInfo.IsUsableDiscountAvailable()
Returns
isAvailable | bool |
|---|
C_TransmogOutfitInfo.IsValidTransmogOutfitName
isApproved = C_TransmogOutfitInfo.IsValidTransmogOutfitName(name)
Arguments
name | cstring |
|---|
Returns
isApproved | bool |
|---|
C_TransmogOutfitInfo.PickupOutfit
C_TransmogOutfitInfo.PickupOutfit(outfitID)
Arguments
outfitID | number |
|---|
C_TransmogOutfitInfo.ResetOutfitSituations
C_TransmogOutfitInfo.ResetOutfitSituations()
C_TransmogOutfitInfo.RevertPendingTransmog
C_TransmogOutfitInfo.RevertPendingTransmog(slot, type, option)
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
type | TransmogType | |
option | TransmogOutfitSlotOption |
C_TransmogOutfitInfo.SetOutfitSituationsEnabled
C_TransmogOutfitInfo.SetOutfitSituationsEnabled(enabled)
Arguments
enabled | bool |
|---|
C_TransmogOutfitInfo.SetOutfitToCustomSet
C_TransmogOutfitInfo.SetOutfitToCustomSet(transmogCustomSetID)
Arguments
transmogCustomSetID | number |
|---|
C_TransmogOutfitInfo.SetOutfitToOutfit
C_TransmogOutfitInfo.SetOutfitToOutfit(outfitID)
Arguments
outfitID | number |
|---|
C_TransmogOutfitInfo.SetOutfitToSet
C_TransmogOutfitInfo.SetOutfitToSet(transmogSetID)
Arguments
transmogSetID | number |
|---|
C_TransmogOutfitInfo.SetPendingTransmog
C_TransmogOutfitInfo.SetPendingTransmog(slot, type, option, transmogID, displayType)
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
type | TransmogType | |
option | TransmogOutfitSlotOption | |
transmogID | number | |
displayType | TransmogOutfitDisplayType |
C_TransmogOutfitInfo.SetPendingTransmogSheatheCategory
C_TransmogOutfitInfo.SetPendingTransmogSheatheCategory(slot, option, category)
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption | |
category | TransmogOutfitSlotOptionSheatheCategory |
C_TransmogOutfitInfo.SetSecondarySlotState
C_TransmogOutfitInfo.SetSecondarySlotState(slot, option, state)
May return nothing.
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption | |
state | bool |
C_TransmogOutfitInfo.SetViewedOptionForSlot
C_TransmogOutfitInfo.SetViewedOptionForSlot(slot, option)
Arguments
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption |
C_TransmogOutfitInfo.SlotHasSecondary
hasSecondary = C_TransmogOutfitInfo.SlotHasSecondary(slot)
Arguments
slot | TransmogOutfitSlot |
|---|
Returns
hasSecondary | bool |
|---|
C_TransmogOutfitInfo.TransmogEventActive
transmogEventActive = C_TransmogOutfitInfo.TransmogEventActive()
Returns
transmogEventActive | bool |
|---|
C_TransmogOutfitInfo.UpdatePendingSituation
C_TransmogOutfitInfo.UpdatePendingSituation(option, value)
May return nothing.
Arguments
option | TransmogSituationOption | |
|---|---|---|
value | bool |
Events
TRANSMOG_DISPLAYED_OUTFIT_CHANGED
No payload.
TRANSMOG_OUTFITS_CHANGED
newOutfitID | number may be nil |
|---|
VIEWED_TRANSMOG_OUTFIT_CHANGED
No payload.
VIEWED_TRANSMOG_OUTFIT_SECONDARY_SLOTS_CHANGED
No payload.
VIEWED_TRANSMOG_OUTFIT_SITUATIONS_CHANGED
No payload.
VIEWED_TRANSMOG_OUTFIT_SLOT_OPTION_CHANGED
slot | TransmogOutfitSlot | |
|---|---|---|
option | TransmogOutfitSlotOption |
VIEWED_TRANSMOG_OUTFIT_SLOT_REFRESH
No payload.
VIEWED_TRANSMOG_OUTFIT_SLOT_SAVE_SUCCESS
slot | TransmogOutfitSlot | |
|---|---|---|
type | TransmogType | |
option | TransmogOutfitSlotOption |
Tables
TransmogOutfitCollectionInfo structure
name | cstring | |
|---|---|---|
isWeapon | bool | |
canHaveIllusions | bool |
TransmogOutfitEntryInfo structure
outfitID | number | |
|---|---|---|
name | string | |
situationCategories | cstring[] | |
icon | fileID | |
isEventOutfit | bool | |
isDisabled | bool | |
playerFacingOutfitIndex | number |
TransmogOutfitLinkedSlotInfo structure
primarySlotInfo | TransmogOutfitSlotInfo | |
|---|---|---|
secondarySlotInfo | TransmogOutfitSlotInfo |
TransmogOutfitOptionInfo structure
type | TransmogOutfitSlotOption | |
|---|---|---|
name | cstring | |
enabled | bool |
TransmogOutfitOptionSheatheCategoryInfo structure
sheatheCategory | TransmogOutfitSlotOptionSheatheCategory | |
|---|---|---|
categoryName | cstring |
TransmogOutfitSlotGroup structure
position | TransmogOutfitSlotPosition | |
|---|---|---|
appearanceSlotInfo | TransmogOutfitSlotInfo[] | |
illusionSlotInfo | TransmogOutfitSlotInfo[] |
TransmogOutfitSlotInfo structure
slot | TransmogOutfitSlot | |
|---|---|---|
type | TransmogType | |
collectionType | TransmogCollectionType | |
slotName | cstring | |
isSecondary | bool |
TransmogSituationCategory structure
triggerID | number | |
|---|---|---|
name | cstring | |
description | cstring | |
isRadioButton | bool | |
groupData | TransmogSituationGroup[] |
TransmogSituationGroup structure
groupID | number | |
|---|---|---|
secondaryID | number | |
optionData | TransmogSituationOptionData[] |
TransmogSituationOption structure
situationID | number | |
|---|---|---|
specID | number | |
loadoutID | number | |
equipmentSetID | number |
TransmogSituationOptionData structure
name | cstring | |
|---|---|---|
value | bool | |
option | TransmogSituationOption |
ViewedTransmogOutfitSlotInfo structure
transmogID | number | |
|---|---|---|
displayType | TransmogOutfitDisplayType | |
isTransmogrified | bool | |
hasPending | bool | |
isPendingCollected | bool | |
canTransmogrify | bool | |
warning | TransmogOutfitSlotWarning | |
warningText | cstring | |
error | TransmogOutfitSlotError | |
errorText | cstring | |
texture | fileID may be nil | |
sheatheCategory | TransmogOutfitSlotOptionSheatheCategory |