C_ItemUpgrade
namespaceavailable in: camelotStatus in wowlua
16 functions: 0 implemented, 0 recorded, 16 guessed. 3 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanUpgradeItem | Whether the item can be upgraded. · by wowlua(baseItem: ItemLocationMixin): boolean | guessed |
ClearItemUpgrade | Removes the item from the item upgrade frame. · by wowlua() | guessed |
CloseItemUpgrade | Closes the item upgrade frame. · by wowlua() | guessed |
GetHighWatermarkForItem | Returns the highest item levels reached for the item's slot. · by wowlua(itemInfo: ItemInfo): (number?, number?) | guessed |
GetHighWatermarkForSlot | Returns the highest item levels reached for an equipment slot. · by wowlua(itemRedundancySlot: number): (number?, number?) | guessed |
GetHighWatermarkSlotForItem | Returns the item redundancy slot the item's highest item level is tracked under. · by wowlua(itemInfo: ItemInfo): number? | guessed |
GetItemHyperlink | Returns an itemLink of the anticipated result from applying item upgrading using the ItemUpgradeFrame.(): string? | guessed |
GetItemUpgradeCurrentLevel | Returns the upgrade level of the item in the upgrade frame. · by wowlua(): (number?, boolean?) | guessed |
GetItemUpgradeEffect | Returns the effect of upgrading an item on one of its effects.(effectIndex: number, numUpgradeLevels: number?): (string?, string?) | guessed |
GetItemUpgradeItemInfo | Returns information about the item in the upgrade frame. · by wowlua(): ItemUpgradeItemInfo? | guessed |
GetItemUpgradePvpItemLevelDeltaValues | Returns how much the item's PvP item level changes over a number of upgrade levels. · by wowlua(numUpgradeLevels: number): (number?, number?) | guessed |
GetNumItemUpgradeEffects | Returns the number of item effects affected by upgrading the current item.(): number | guessed |
IsItemBound | Whether the item in the upgrade frame is bound. · by wowlua(): boolean | guessed |
SetItemUpgradeFromCursorItem | Places the cursor's item in the item upgrade frame. · by wowlua() | guessed |
SetItemUpgradeFromLocation | Places the item at a location in the item upgrade frame. · by wowlua(itemToSet: ItemLocationMixin) | guessed |
UpgradeItem | Upgrades the item in the upgrade frame. · by wowlua(numUpgrades: number) | 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 |
|---|---|---|
ITEM_UPGRADE_FAILED | no payload | not implemented |
ITEM_UPGRADE_MASTER_SET_ITEM | no payload | not implemented |
ITEM_UPGRADE_MASTER_UPDATE | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ITEM_UPGRADE_FAILED").
Structures
ItemUpgradeCostDiscountInfo· isDiscounted, discountHighWatermark, isPartialTwoHandDiscount, isAccountWideDiscount, doesCurrentCharacterMeetHighWatermarkItemUpgradeCurrencyCost· cost, currencyID, discountInfoItemUpgradeItemCost· cost, itemID, discountInfoItemUpgradeItemInfo· iconID, name, itemUpgradeable, displayQuality, highWatermarkSlot, currUpgrade, maxUpgrade, minItemLevel, maxItemLevel, upgradeLevelInfos, customUpgradeString?, upgradeCostTypesForSeasonItemUpgradeLevelInfo· upgradeLevel, displayQuality, itemLevelIncrement, levelStats, currencyCostsToUpgrade, itemCostsToUpgrade, moneyCost?, failureMessage?ItemUpgradeSeasonalCostType· itemID?, currencyID?, orderIndex, sourceString?ItemUpgradeStat· displayString, statValue, active
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ItemUpgrade system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.