WowAddons

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

namecstring
iconfileID

C_TransmogOutfitInfo.CanPlayerTransmogSlot

valid = C_TransmogOutfitInfo.CanPlayerTransmogSlot(slot)

Arguments

slotTransmogOutfitSlot

Returns

validbool

C_TransmogOutfitInfo.ChangeDisplayedOutfit

C_TransmogOutfitInfo.ChangeDisplayedOutfit(outfitID, trigger, toggleLock, allowRemoveOutfit)

Arguments

outfitIDnumber
triggerTransmogSituationTrigger
toggleLockbool
allowRemoveOutfitbool

C_TransmogOutfitInfo.ChangeToOutfit

C_TransmogOutfitInfo.ChangeToOutfit(playerFacingOutfitIndex, allowRemoveOutfit)

Arguments

playerFacingOutfitIndexnumber
allowRemoveOutfitbool

C_TransmogOutfitInfo.ChangeViewedOutfit

C_TransmogOutfitInfo.ChangeViewedOutfit(outfitID)

Arguments

outfitIDnumber

C_TransmogOutfitInfo.ClearAllPendingSituations

C_TransmogOutfitInfo.ClearAllPendingSituations()

C_TransmogOutfitInfo.ClearAllPendingTransmogs

C_TransmogOutfitInfo.ClearAllPendingTransmogs()

C_TransmogOutfitInfo.ClearDisplayedOutfit

C_TransmogOutfitInfo.ClearDisplayedOutfit(trigger, toggleLock)

Arguments

triggerTransmogSituationTrigger
toggleLockbool

C_TransmogOutfitInfo.ClearOutfit

C_TransmogOutfitInfo.ClearOutfit()

C_TransmogOutfitInfo.CommitAndApplyAllPending

C_TransmogOutfitInfo.CommitAndApplyAllPending(useAvailableDiscount)

Arguments

useAvailableDiscountbool

C_TransmogOutfitInfo.CommitOutfitInfo

C_TransmogOutfitInfo.CommitOutfitInfo(outfitID, name, icon)

Arguments

outfitIDnumber
namecstring
iconfileID

C_TransmogOutfitInfo.CommitPendingSituations

C_TransmogOutfitInfo.CommitPendingSituations()

C_TransmogOutfitInfo.GetActiveOutfitID

outfitID = C_TransmogOutfitInfo.GetActiveOutfitID()

Returns

outfitIDnumber

C_TransmogOutfitInfo.GetAllSlotLocationInfo

appearanceSlotInfo, illusionSlotInfo = C_TransmogOutfitInfo.GetAllSlotLocationInfo()

May return nothing.

Returns

appearanceSlotInfoTransmogOutfitSlotInfo[]
illusionSlotInfoTransmogOutfitSlotInfo[]

C_TransmogOutfitInfo.GetAllTransmogOutfitOptionSheatheCategoryInfo

categoryInfo = C_TransmogOutfitInfo.GetAllTransmogOutfitOptionSheatheCategoryInfo(imaID)

May return nothing.

Arguments

imaIDnumber

Returns

categoryInfoTransmogOutfitOptionSheatheCategoryInfo[]

C_TransmogOutfitInfo.GetCollectionInfoForSlotAndOption

collectionInfo = C_TransmogOutfitInfo.GetCollectionInfoForSlotAndOption(slot, option, collectionType)

May return nothing.

Arguments

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption
collectionTypeTransmogCollectionType

Returns

collectionInfoTransmogOutfitCollectionInfo

C_TransmogOutfitInfo.GetCurrentlyViewedOutfitID

outfitID = C_TransmogOutfitInfo.GetCurrentlyViewedOutfitID()

Returns

outfitIDnumber

C_TransmogOutfitInfo.GetEquippedSlotOptionFromTransmogSlot

option = C_TransmogOutfitInfo.GetEquippedSlotOptionFromTransmogSlot(slot)

May return nothing.

Arguments

slotTransmogOutfitSlot

Returns

optionTransmogOutfitSlotOption

C_TransmogOutfitInfo.GetIllusionDefaultIMAIDForCollectionType

imaID = C_TransmogOutfitInfo.GetIllusionDefaultIMAIDForCollectionType(collectionType)

May return nothing.

Arguments

collectionTypeTransmogCollectionType

Returns

imaIDnumber

C_TransmogOutfitInfo.GetItemModifiedAppearanceEffectiveCategory

categoryID = C_TransmogOutfitInfo.GetItemModifiedAppearanceEffectiveCategory(imaID)

Arguments

imaIDnumber

Returns

categoryIDTransmogCollectionType

C_TransmogOutfitInfo.GetLinkedSlotInfo

linkedSlotInfo = C_TransmogOutfitInfo.GetLinkedSlotInfo(slot)

May return nothing.

Arguments

slotTransmogOutfitSlot

Returns

linkedSlotInfoTransmogOutfitLinkedSlotInfo

C_TransmogOutfitInfo.GetMaxNumberOfTotalOutfitsForSource

maxOutfitCount = C_TransmogOutfitInfo.GetMaxNumberOfTotalOutfitsForSource(source)

Arguments

sourceTransmogOutfitEntrySource

Returns

maxOutfitCountnumber

C_TransmogOutfitInfo.GetMaxNumberOfUsableOutfits

maxOutfitCount = C_TransmogOutfitInfo.GetMaxNumberOfUsableOutfits()

Returns

maxOutfitCountnumber

C_TransmogOutfitInfo.GetNextOutfitCost

outfitCost = C_TransmogOutfitInfo.GetNextOutfitCost()

Returns

outfitCostBigUInteger

C_TransmogOutfitInfo.GetNumberOfOutfitsUnlockedForSource

unlockedOutfitCount = C_TransmogOutfitInfo.GetNumberOfOutfitsUnlockedForSource(source)

Arguments

sourceTransmogOutfitEntrySource

Returns

unlockedOutfitCountnumber

C_TransmogOutfitInfo.GetOptionsForSlot

options, artifactOptions = C_TransmogOutfitInfo.GetOptionsForSlot(slot)

May return nothing.

Arguments

slotTransmogOutfitSlot

Returns

optionsTransmogOutfitOptionInfo[]
artifactOptionsTransmogOutfitOptionInfo[] may be nil

C_TransmogOutfitInfo.GetOutfitInfo

outfitInfo = C_TransmogOutfitInfo.GetOutfitInfo(outfitID)

May return nothing.

Arguments

outfitIDnumber

Returns

outfitInfoTransmogOutfitEntryInfo

C_TransmogOutfitInfo.GetOutfitInfoByName

outfitInfo = C_TransmogOutfitInfo.GetOutfitInfoByName(name)

May return nothing.

Arguments

namecstringCase-insensitive outfit name to search for. If multiple exist with the same name, it is unspecified which outfit will be returned.

Returns

outfitInfoTransmogOutfitEntryInfo

C_TransmogOutfitInfo.GetOutfitInfoByPlayerFacingIndex

outfitInfo = C_TransmogOutfitInfo.GetOutfitInfoByPlayerFacingIndex(playerFacingOutfitIndex)

May return nothing.

Arguments

playerFacingOutfitIndexnumber

Returns

outfitInfoTransmogOutfitEntryInfo

C_TransmogOutfitInfo.GetOutfitSituation

value = C_TransmogOutfitInfo.GetOutfitSituation(option)

Arguments

optionTransmogSituationOption

Returns

valuebool

C_TransmogOutfitInfo.GetOutfitSituationsEnabled

enabled = C_TransmogOutfitInfo.GetOutfitSituationsEnabled()

Returns

enabledbool

C_TransmogOutfitInfo.GetOutfitsInfo

outfitsInfo = C_TransmogOutfitInfo.GetOutfitsInfo()

May return nothing.

Returns

outfitsInfoTransmogOutfitEntryInfo[]

C_TransmogOutfitInfo.GetPendingTransmogCost

cost, modifierFlags = C_TransmogOutfitInfo.GetPendingTransmogCost()

May return nothing.

Returns

costBigUInteger
modifierFlagsnumber

C_TransmogOutfitInfo.GetSecondarySlotState

state = C_TransmogOutfitInfo.GetSecondarySlotState(slot, option)

Arguments

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption

Returns

statebool

C_TransmogOutfitInfo.GetSetSourcesForSlot

sources = C_TransmogOutfitInfo.GetSetSourcesForSlot(transmogSetID, slot)

May return nothing.

Arguments

transmogSetIDnumber
slotTransmogOutfitSlot

Returns

sourcesAppearanceSourceInfo[]

C_TransmogOutfitInfo.GetSlotGroupInfo

slotGroups = C_TransmogOutfitInfo.GetSlotGroupInfo()

May return nothing.

Returns

slotGroupsTransmogOutfitSlotGroup[]

C_TransmogOutfitInfo.GetSourceIDsForSlot

sources = C_TransmogOutfitInfo.GetSourceIDsForSlot(transmogSetID, slot)

May return nothing.

Arguments

transmogSetIDnumber
slotTransmogOutfitSlot

Returns

sourcesnumber[]

C_TransmogOutfitInfo.GetTransmogOutfitSlotForInventoryType

slot = C_TransmogOutfitInfo.GetTransmogOutfitSlotForInventoryType(inventoryType)

May return nothing.

Arguments

inventoryTypeluaIndex

Returns

slotTransmogOutfitSlot

C_TransmogOutfitInfo.GetTransmogOutfitSlotFromInventorySlot

slot = C_TransmogOutfitInfo.GetTransmogOutfitSlotFromInventorySlot(inventorySlot)

May return nothing.

Arguments

inventorySlotInventorySlots

Returns

slotTransmogOutfitSlot

C_TransmogOutfitInfo.GetUISituationCategoriesAndOptions

categoryData = C_TransmogOutfitInfo.GetUISituationCategoriesAndOptions()

May return nothing.

Returns

categoryDataTransmogSituationCategory[]

C_TransmogOutfitInfo.GetUnassignedAtlasForSlot

atlas = C_TransmogOutfitInfo.GetUnassignedAtlasForSlot(slot)

May return nothing.

Arguments

slotTransmogOutfitSlot

Returns

atlastextureAtlas

C_TransmogOutfitInfo.GetUnassignedDisplayAtlasForSlot

atlas = C_TransmogOutfitInfo.GetUnassignedDisplayAtlasForSlot(slot)

May return nothing.

Arguments

slotTransmogOutfitSlot

Returns

atlastextureAtlas

C_TransmogOutfitInfo.GetViewedOutfitSlotInfo

slotInfo = C_TransmogOutfitInfo.GetViewedOutfitSlotInfo(slot, type, option)

May return nothing.

Arguments

slotTransmogOutfitSlot
typeTransmogType
optionTransmogOutfitSlotOption

Returns

slotInfoViewedTransmogOutfitSlotInfo

C_TransmogOutfitInfo.HasPendingOutfitSituations

hasPending = C_TransmogOutfitInfo.HasPendingOutfitSituations()

Returns

hasPendingbool

C_TransmogOutfitInfo.HasPendingOutfitTransmogs

hasPending = C_TransmogOutfitInfo.HasPendingOutfitTransmogs()

Returns

hasPendingbool

C_TransmogOutfitInfo.InTransmogEvent

inTransmogEvent = C_TransmogOutfitInfo.InTransmogEvent()

Returns

inTransmogEventbool

C_TransmogOutfitInfo.IsEquippedGearOutfitDisplayed

isDisplayed = C_TransmogOutfitInfo.IsEquippedGearOutfitDisplayed()

Returns

isDisplayedbool

C_TransmogOutfitInfo.IsEquippedGearOutfitLocked

isLocked = C_TransmogOutfitInfo.IsEquippedGearOutfitLocked()

Returns

isLockedbool

C_TransmogOutfitInfo.IsLockedOutfit

isLocked = C_TransmogOutfitInfo.IsLockedOutfit(outfitID)

Arguments

outfitIDnumber

Returns

isLockedbool

C_TransmogOutfitInfo.IsSlotWeaponSlot

isWeaponSlot = C_TransmogOutfitInfo.IsSlotWeaponSlot(slot)

Arguments

slotTransmogOutfitSlot

Returns

isWeaponSlotbool

C_TransmogOutfitInfo.IsTransmogEnabled

enabled = C_TransmogOutfitInfo.IsTransmogEnabled()

Returns

enabledbool

C_TransmogOutfitInfo.IsUsableDiscountAvailable

isAvailable = C_TransmogOutfitInfo.IsUsableDiscountAvailable()

Returns

isAvailablebool

C_TransmogOutfitInfo.IsValidTransmogOutfitName

isApproved = C_TransmogOutfitInfo.IsValidTransmogOutfitName(name)

Arguments

namecstring

Returns

isApprovedbool

C_TransmogOutfitInfo.PickupOutfit

C_TransmogOutfitInfo.PickupOutfit(outfitID)

Arguments

outfitIDnumber

C_TransmogOutfitInfo.ResetOutfitSituations

C_TransmogOutfitInfo.ResetOutfitSituations()

C_TransmogOutfitInfo.RevertPendingTransmog

C_TransmogOutfitInfo.RevertPendingTransmog(slot, type, option)

Arguments

slotTransmogOutfitSlot
typeTransmogType
optionTransmogOutfitSlotOption

C_TransmogOutfitInfo.SetOutfitSituationsEnabled

C_TransmogOutfitInfo.SetOutfitSituationsEnabled(enabled)

Arguments

enabledbool

C_TransmogOutfitInfo.SetOutfitToCustomSet

C_TransmogOutfitInfo.SetOutfitToCustomSet(transmogCustomSetID)

Arguments

transmogCustomSetIDnumber

C_TransmogOutfitInfo.SetOutfitToOutfit

C_TransmogOutfitInfo.SetOutfitToOutfit(outfitID)

Arguments

outfitIDnumber

C_TransmogOutfitInfo.SetOutfitToSet

C_TransmogOutfitInfo.SetOutfitToSet(transmogSetID)

Arguments

transmogSetIDnumber

C_TransmogOutfitInfo.SetPendingTransmog

C_TransmogOutfitInfo.SetPendingTransmog(slot, type, option, transmogID, displayType)

Arguments

slotTransmogOutfitSlot
typeTransmogType
optionTransmogOutfitSlotOption
transmogIDnumber
displayTypeTransmogOutfitDisplayType

C_TransmogOutfitInfo.SetPendingTransmogSheatheCategory

C_TransmogOutfitInfo.SetPendingTransmogSheatheCategory(slot, option, category)

Arguments

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption
categoryTransmogOutfitSlotOptionSheatheCategory

C_TransmogOutfitInfo.SetSecondarySlotState

C_TransmogOutfitInfo.SetSecondarySlotState(slot, option, state)

May return nothing.

Arguments

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption
statebool

C_TransmogOutfitInfo.SetViewedOptionForSlot

C_TransmogOutfitInfo.SetViewedOptionForSlot(slot, option)

Arguments

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption

C_TransmogOutfitInfo.SlotHasSecondary

hasSecondary = C_TransmogOutfitInfo.SlotHasSecondary(slot)

Arguments

slotTransmogOutfitSlot

Returns

hasSecondarybool

C_TransmogOutfitInfo.TransmogEventActive

transmogEventActive = C_TransmogOutfitInfo.TransmogEventActive()

Returns

transmogEventActivebool

C_TransmogOutfitInfo.UpdatePendingSituation

C_TransmogOutfitInfo.UpdatePendingSituation(option, value)

May return nothing.

Arguments

optionTransmogSituationOption
valuebool

Events

TRANSMOG_DISPLAYED_OUTFIT_CHANGED

No payload.

TRANSMOG_OUTFITS_CHANGED

newOutfitIDnumber 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

slotTransmogOutfitSlot
optionTransmogOutfitSlotOption

VIEWED_TRANSMOG_OUTFIT_SLOT_REFRESH

No payload.

VIEWED_TRANSMOG_OUTFIT_SLOT_SAVE_SUCCESS

slotTransmogOutfitSlot
typeTransmogType
optionTransmogOutfitSlotOption

Tables

TransmogOutfitCollectionInfo structure

namecstring
isWeaponbool
canHaveIllusionsbool

TransmogOutfitEntryInfo structure

outfitIDnumber
namestring
situationCategoriescstring[]
iconfileID
isEventOutfitbool
isDisabledbool
playerFacingOutfitIndexnumber

TransmogOutfitLinkedSlotInfo structure

primarySlotInfoTransmogOutfitSlotInfo
secondarySlotInfoTransmogOutfitSlotInfo

TransmogOutfitOptionInfo structure

typeTransmogOutfitSlotOption
namecstring
enabledbool

TransmogOutfitOptionSheatheCategoryInfo structure

sheatheCategoryTransmogOutfitSlotOptionSheatheCategory
categoryNamecstring

TransmogOutfitSlotGroup structure

positionTransmogOutfitSlotPosition
appearanceSlotInfoTransmogOutfitSlotInfo[]
illusionSlotInfoTransmogOutfitSlotInfo[]

TransmogOutfitSlotInfo structure

slotTransmogOutfitSlot
typeTransmogType
collectionTypeTransmogCollectionType
slotNamecstring
isSecondarybool

TransmogSituationCategory structure

triggerIDnumber
namecstring
descriptioncstring
isRadioButtonbool
groupDataTransmogSituationGroup[]

TransmogSituationGroup structure

groupIDnumber
secondaryIDnumber
optionDataTransmogSituationOptionData[]

TransmogSituationOption structure

situationIDnumber
specIDnumber
loadoutIDnumber
equipmentSetIDnumber

TransmogSituationOptionData structure

namecstring
valuebool
optionTransmogSituationOption

ViewedTransmogOutfitSlotInfo structure

transmogIDnumber
displayTypeTransmogOutfitDisplayType
isTransmogrifiedbool
hasPendingbool
isPendingCollectedbool
canTransmogrifybool
warningTransmogOutfitSlotWarning
warningTextcstring
errorTransmogOutfitSlotError
errorTextcstring
texturefileID may be nil
sheatheCategoryTransmogOutfitSlotOptionSheatheCategory

Нужен WowAddons

Бесплатно, для Windows, macOS и Linux: ставит аддон в игру в один клик и сам его обновляет. Открой его один раз и снова нажми «Установить».

WowAddons работает на компьютере: открой wowaddons.gg там.

Скачать для Windows