C_TransmogOutfitInfo
namespaceavailable in: camelotStatus in wowlua
69 functions: 3 implemented, 4 recorded, 62 guessed. 8 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AddNewOutfit | Adds a new transmog outfit with the given name and icon. · by wowlua(name: string, icon: number) | guessed |
CanPlayerTransmogSlot | Whether the player can transmogrify the outfit slot. · by wowlua(slot: TransmogOutfitSlot): boolean | guessed |
ChangeDisplayedOutfit | Changes the outfit shown on the character. · by wowlua(outfitID: number, trigger: TransmogSituationTrigger, toggleLock: boolean, allowRemoveOutfit: boolean) | guessed |
ChangeToOutfit | Changes to the outfit at the given position in the player's outfit list. · by wowlua(playerFacingOutfitIndex: number, allowRemoveOutfit: boolean) | guessed |
ChangeViewedOutfit | Changes the outfit viewed in the transmogrify window. · by wowlua(outfitID: number) | guessed |
ClearAllPendingSituations | Clears all pending changes to the outfits' situations. · by wowlua() | guessed |
ClearAllPendingTransmogs | Clears all pending transmog changes to the outfits. · by wowlua() | guessed |
ClearDisplayedOutfit | Stops showing an outfit on the character. · by wowlua(trigger: TransmogSituationTrigger, toggleLock: boolean) | guessed |
ClearOutfit | Clears the appearances of the viewed outfit. · by wowlua() | guessed |
CommitAndApplyAllPending | Saves and applies all pending outfit changes. · by wowlua(useAvailableDiscount: boolean) | guessed |
CommitOutfitInfo | Saves the outfit's name and icon. · by wowlua(outfitID: number, name: string, icon: number) | guessed |
CommitPendingSituations | Saves the pending changes to the outfits' situations. · by wowlua() | guessed |
GetActiveOutfitID | Returns the ID of the active outfit. · by wowlua(): number | recorded |
GetAllSlotLocationInfo | Returns information about every outfit slot, as two lists. · by wowlua(): (TransmogOutfitSlotInfo[]?, TransmogOutfitSlotInfo[]?) | recorded |
GetAllTransmogOutfitOptionSheatheCategoryInfo | Returns the sheathe categories available for the appearance source. · by wowlua(imaID: number): TransmogOutfitOptionSheatheCategoryInfo[]? | guessed |
GetCollectionInfoForSlotAndOption | Returns collection information for the outfit slot, slot option and collection category. · by wowlua(slot: TransmogOutfitSlot, option: TransmogOutfitSlotOption, collectionType: TransmogCollectionType): TransmogOutfitCollectionInfo? | guessed |
GetCurrentlyViewedOutfitID | Returns the ID of the outfit viewed in the transmogrify window. · by wowlua(): number | guessed |
GetEquippedSlotOptionFromTransmogSlot | Returns the slot option of the item equipped in the outfit slot. · by wowlua(slot: TransmogOutfitSlot): TransmogOutfitSlotOption? | guessed |
GetIllusionDefaultIMAIDForCollectionType | Returns the default appearance source used to show illusions for the collection category. · by wowlua(collectionType: TransmogCollectionType): number? | guessed |
GetItemModifiedAppearanceEffectiveCategory | Returns the collection category that applies to the appearance source. · by wowlua(imaID: number): TransmogCollectionType | guessed |
GetLinkedSlotInfo | Returns the primary and secondary slot of a slot that has a secondary appearance, such as the shoulders; nothing for other slots. · by wowlua(slot: TransmogOutfitSlot): TransmogOutfitLinkedSlotInfo? | implemented |
GetMaxNumberOfTotalOutfitsForSource | Returns the most outfits the given source can unlock. · by wowlua(source: TransmogOutfitEntrySource): number | guessed |
GetMaxNumberOfUsableOutfits | Returns the most outfits the player can use. · by wowlua(): number | guessed |
GetNextOutfitCost | Returns the cost of unlocking the next outfit. · by wowlua(): number | guessed |
GetNumberOfOutfitsUnlockedForSource | Returns how many outfits the given source has unlocked. · by wowlua(source: TransmogOutfitEntrySource): number | guessed |
GetOptionsForSlot | Returns the options available for the outfit slot, as two lists. · by wowlua(slot: TransmogOutfitSlot): (TransmogOutfitOptionInfo[]?, TransmogOutfitOptionInfo[]?) | guessed |
GetOutfitInfo | Returns information about the outfit. · by wowlua(outfitID: number): TransmogOutfitEntryInfo? | guessed |
GetOutfitInfoByName | Returns information about the outfit with the given name. · by wowlua(name: string): TransmogOutfitEntryInfo? | guessed |
GetOutfitInfoByPlayerFacingIndex | Returns information about the outfit at the given position in the player's outfit list. · by wowlua(playerFacingOutfitIndex: number): TransmogOutfitEntryInfo? | guessed |
GetOutfitSituation | Whether the situation option is enabled for the outfit. · by wowlua(option: TransmogSituationOption): boolean | guessed |
GetOutfitSituationsEnabled | Whether outfit situations are enabled. · by wowlua(): boolean | guessed |
GetOutfitsInfo | Returns information about every outfit. · by wowlua(): TransmogOutfitEntryInfo[]? | recorded |
GetPendingTransmogCost | Returns the cost of the pending transmog changes. · by wowlua(): (number?, number?) | guessed |
GetSecondarySlotState | Whether the outfit slot's secondary appearance is turned on. · by wowlua(slot: TransmogOutfitSlot): boolean | guessed |
GetSetSourcesForSlot | Returns the appearance sources of the transmog set for the outfit slot. · by wowlua(transmogSetID: number, slot: TransmogOutfitSlot): AppearanceSourceInfo[]? | guessed |
GetSlotGroupInfo | Returns the outfit slots grouped as the transmogrify window shows them, in three columns. · by wowlua(): TransmogOutfitSlotGroup[]? | implemented |
GetSourceIDsForSlot | Returns the IDs of the transmog set's appearance sources for the outfit slot. · by wowlua(transmogSetID: number, slot: TransmogOutfitSlot): number[]? | guessed |
GetTransmogOutfitSlotForInventoryType | Returns the outfit slot for the item inventory type. · by wowlua(inventoryType: number): TransmogOutfitSlot? | guessed |
GetTransmogOutfitSlotFromInventorySlot | Returns the outfit slot for the inventory slot. · by wowlua(inventorySlot: InventorySlots): TransmogOutfitSlot? | implemented |
GetUISituationCategoriesAndOptions | Returns the situation categories and their options as the outfit UI shows them. · by wowlua(): TransmogSituationCategory[]? | guessed |
GetUnassignedAtlasForSlot | Returns the atlas shown for the outfit slot when it has no appearance. · by wowlua(slot: TransmogOutfitSlot): string? | guessed |
GetUnassignedDisplayAtlasForSlot | Returns the display atlas shown for the outfit slot when it has no appearance. · by wowlua(slot: TransmogOutfitSlot): string? | guessed |
GetViewedOutfitSlotInfo | Returns information about a slot of the viewed outfit. · by wowlua(slot: TransmogOutfitSlot, type: TransmogType, option: TransmogOutfitSlotOption): ViewedTransmogOutfitSlotInfo? | guessed |
GetWeaponOptionsForSlot | Returns the weapon options available for the outfit slot, as two lists. · by wowluanot in Blizzard's documentation | guessed |
HasPendingOutfitSituations | Whether there are pending changes to the outfits' situations. · by wowlua(): boolean | guessed |
HasPendingOutfitTransmogs | Whether there are pending transmog changes to the outfits. · by wowlua(): boolean | guessed |
InTransmogEvent | Whether a transmog event is active. · by wowlua(): boolean | guessed |
IsEquippedGearOutfitDisplayed | Whether the character shows its equipped gear instead of an outfit. · by wowlua(): boolean | guessed |
IsEquippedGearOutfitLocked | Whether showing the equipped gear is locked. · by wowlua(): boolean | guessed |
IsLockedOutfit | Whether the outfit is locked. · by wowlua(outfitID: number): boolean | guessed |
IsSlotWeaponSlot | Whether the outfit slot is a weapon slot. · by wowlua(slot: TransmogOutfitSlot): boolean | guessed |
IsTransmogEnabled | Whether transmogrification is enabled. · by wowlua(): boolean | recorded |
IsUsableDiscountAvailable | Whether a transmog discount is available to use. · by wowlua(): boolean | guessed |
IsValidTransmogOutfitName | Whether the name can be used for an outfit. · by wowlua(name: string): boolean | guessed |
PickupOutfit | Puts the outfit on the cursor, such as to drag it to an action bar. · by wowlua(outfitID: number) | guessed |
ResetOutfitSituations | Resets the outfits' situations to their defaults. · by wowlua() | guessed |
RevertPendingTransmog | Reverts the pending transmog change of the outfit slot. · by wowlua(slot: TransmogOutfitSlot, type: TransmogType, option: TransmogOutfitSlotOption) | guessed |
SetOutfitSituationsEnabled | Turns outfit situations on or off. · by wowlua(enabled: boolean) | guessed |
SetOutfitToCustomSet | Sets the viewed outfit's appearances to those of the custom set. · by wowlua(transmogCustomSetID: number) | guessed |
SetOutfitToOutfit | Sets the viewed outfit's appearances to those of another outfit. · by wowlua(outfitID: number) | guessed |
SetOutfitToSet | Sets the viewed outfit's appearances to those of the transmog set. · by wowlua(transmogSetID: number) | guessed |
SetPendingTransmog | Sets a pending transmog change for the outfit slot. · by wowlua(slot: TransmogOutfitSlot, type: TransmogType, option: TransmogOutfitSlotOption, transmogID: number, displayType: TransmogOutfitDisplayType) | guessed |
SetPendingTransmogSheatheCategory | Sets a pending sheathe category for the weapon in the outfit slot. · by wowlua(slot: TransmogOutfitSlot, option: TransmogOutfitSlotOption, category: TransmogOutfitSlotOptionSheatheCategory) | guessed |
SetSecondarySlotState | Turns the outfit slot's secondary appearance on or off. · by wowlua(slot: TransmogOutfitSlot, state: boolean) | guessed |
SetViewedOptionForSlot | Sets the slot option viewed for the outfit slot. · by wowlua(slot: TransmogOutfitSlot, option: TransmogOutfitSlotOption) | guessed |
SetViewedWeaponOptionForSlot | Sets the weapon option viewed for the outfit slot. · by wowluanot in Blizzard's documentation | guessed |
SlotHasSecondary | Whether the outfit slot can have a secondary appearance, as the shoulders can. · by wowlua(slot: TransmogOutfitSlot): boolean | guessed |
TransmogEventActive | Whether a transmog event is active. · by wowlua(): boolean | guessed |
UpdatePendingSituation | Sets a pending change to an outfit situation option. · by wowlua(option: TransmogSituationOption, value: boolean) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
TRANSMOG_DISPLAYED_OUTFIT_CHANGED | no payload | not implemented |
TRANSMOG_OUTFITS_CHANGED | newOutfitID: number? | not implemented |
VIEWED_TRANSMOG_OUTFIT_CHANGED | no payload | not implemented |
VIEWED_TRANSMOG_OUTFIT_SECONDARY_SLOTS_CHANGED | no payload | not implemented |
VIEWED_TRANSMOG_OUTFIT_SITUATIONS_CHANGED | no payload | not implemented |
VIEWED_TRANSMOG_OUTFIT_SLOT_OPTION_CHANGED | slot: TransmogOutfitSlot, option: TransmogOutfitSlotOption | not implemented |
VIEWED_TRANSMOG_OUTFIT_SLOT_REFRESH | no payload | not implemented |
VIEWED_TRANSMOG_OUTFIT_SLOT_SAVE_SUCCESS | slot: TransmogOutfitSlot, type: TransmogType, option: TransmogOutfitSlotOption | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("TRANSMOG_DISPLAYED_OUTFIT_CHANGED").
Structures
TransmogOutfitCollectionInfo· name, isWeapon, canHaveIllusionsTransmogOutfitEntryInfo· outfitID, name, situationCategories, icon, isEventOutfit, isDisabled, playerFacingOutfitIndexTransmogOutfitLinkedSlotInfo· primarySlotInfo, secondarySlotInfoTransmogOutfitOptionInfo· type, name, enabledTransmogOutfitOptionSheatheCategoryInfo· sheatheCategory, categoryNameTransmogOutfitSlotGroup· position, appearanceSlotInfo, illusionSlotInfoTransmogOutfitSlotInfo· slot, type, collectionType, slotName, isSecondaryTransmogSituationCategory· triggerID, name, description, isRadioButton, groupDataTransmogSituationGroup· groupID, secondaryID, optionDataTransmogSituationOption· situationID, specID, loadoutID, equipmentSetIDTransmogSituationOptionData· name, value, optionViewedTransmogOutfitSlotInfo· transmogID, displayType, isTransmogrified, hasPending, isPendingCollected, canTransmogrify, warning, warningText, error, errorText, texture?, sheatheCategory
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TransmogOutfitInfo system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.