WowAddons

World of Warcraft Forever API · C_CatalogShop.md, for your AI

C_CatalogShop

38 functions, 18 events, 13 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_CatalogShop.BulkPurchaseProducts

canPurchaseProducts = C_CatalogShop.BulkPurchaseProducts(productIDs)

Arguments

productIDsnumber[]

Returns

canPurchaseProductsbool

C_CatalogShop.BulkRefundDecors

C_CatalogShop.BulkRefundDecors(decorGUIDs)

Arguments

decorGUIDsWOWGUID[]

C_CatalogShop.CloseCatalogShopInteraction

C_CatalogShop.CloseCatalogShopInteraction()

C_CatalogShop.ConfirmHousingPurchase

C_CatalogShop.ConfirmHousingPurchase(productIDs)

Arguments

productIDsnumber[]

C_CatalogShop.FindBestCurrencyProductForNeededAmount

vcProductID = C_CatalogShop.FindBestCurrencyProductForNeededAmount(vcCurrencyCode, amountNeeded)

Arguments

vcCurrencyCodestring
amountNeedednumber

Returns

vcProductIDnumber may be nil

C_CatalogShop.GetAvailableCategoryIDs

categoryIDs = C_CatalogShop.GetAvailableCategoryIDs()

Returns

categoryIDsnumber[]

C_CatalogShop.GetAvailableTransmogRaceInfos

raceIDs = C_CatalogShop.GetAvailableTransmogRaceInfos()

Returns

raceIDsAvailableRaceInfo[]

C_CatalogShop.GetCatalogShopProductDisplayInfo

item = C_CatalogShop.GetCatalogShopProductDisplayInfo(catalogShopProductID)

Arguments

catalogShopProductIDnumber

Returns

itemCatalogShopProductDisplayInfo

C_CatalogShop.GetCategoryInfo

categoryInfo = C_CatalogShop.GetCategoryInfo(categoryID)

Arguments

categoryIDnumber

Returns

categoryInfoCatalogShopCategoryInfo

C_CatalogShop.GetCategorySectionInfo

sectionInfo = C_CatalogShop.GetCategorySectionInfo(categoryID, sectionID)

Arguments

categoryIDnumber
sectionIDnumber

Returns

sectionInfoCatalogShopSectionInfo

C_CatalogShop.GetFailureInfo

errorResultEnum, errorResultRaw = C_CatalogShop.GetFailureInfo()

Returns

errorResultEnumStoreError may be nil
errorResultRawnumber may be nil

C_CatalogShop.GetFirstCategoryByProductID

categoryInfo = C_CatalogShop.GetFirstCategoryByProductID(productID)

Arguments

productIDnumber

Returns

categoryInfoCatalogShopCategoryInfo may be nil

C_CatalogShop.GetNewProducts

newProducts = C_CatalogShop.GetNewProducts()

Returns

newProductsnumber[]

C_CatalogShop.GetProductAvailabilityTimeRemainingSecs

timeRemainingSecs = C_CatalogShop.GetProductAvailabilityTimeRemainingSecs(catalogShopProductID)

Arguments

catalogShopProductIDnumber

Returns

timeRemainingSecsnumber may be nil

C_CatalogShop.GetProductIDsForBundle

childIDs = C_CatalogShop.GetProductIDsForBundle(bundleProductID)

Arguments

bundleProductIDnumber

Returns

childIDsCatalogShopBundleChildInfo[]

C_CatalogShop.GetProductIDsForCategory

productIDs = C_CatalogShop.GetProductIDsForCategory(categoryID)

Arguments

categoryIDnumber

Returns

productIDsnumber[]

C_CatalogShop.GetProductIDsForCategorySection

productIDs = C_CatalogShop.GetProductIDsForCategorySection(categoryID, sectionID)

Arguments

categoryIDnumber
sectionIDnumber

Returns

productIDsnumber[]

C_CatalogShop.GetProductInfo

productInfo = C_CatalogShop.GetProductInfo(productID)

Arguments

productIDnumber

Returns

productInfoCatalogShopProductInfo may be nil

C_CatalogShop.GetProductSortOrder

sortOrder = C_CatalogShop.GetProductSortOrder(categoryID, sectionID, productID)

Arguments

categoryIDnumber
sectionIDnumber
productIDnumber

Returns

sortOrdernumber may be nil

C_CatalogShop.GetRefundableDecors

refundableDecorInfos, minTimeRemainingSeconds = C_CatalogShop.GetRefundableDecors([productIdFilterOpt])

Arguments

productIdFilterOptnumber may be nil

Returns

refundableDecorInfosRefundableDecorInfo[]
minTimeRemainingSecondstime_t

C_CatalogShop.GetSectionIDsForCategory

sectionIDs = C_CatalogShop.GetSectionIDsForCategory(categoryID)

Arguments

categoryIDnumber

Returns

sectionIDsnumber[]

C_CatalogShop.GetSpellVisualInfoForMount

spellVisualInfo = C_CatalogShop.GetSpellVisualInfoForMount(spellVisualID)

Arguments

spellVisualIDnumber

Returns

spellVisualInfoCatalogShopSpellVisualInfo

C_CatalogShop.GetVCProductInfos

vcProductInfos = C_CatalogShop.GetVCProductInfos()

Returns

vcProductInfosCatalogShopVCProductInfo[]

C_CatalogShop.GetVirtualCurrencyBalance

balance = C_CatalogShop.GetVirtualCurrencyBalance(currencyCode)

Arguments

currencyCodestring

Returns

balancestring may be nil

C_CatalogShop.HasNewProducts

hasNewProducts = C_CatalogShop.HasNewProducts()

Returns

hasNewProductsbool

C_CatalogShop.IsProductIncludedInAnyBundle

isIncludedInAnyBundle = C_CatalogShop.IsProductIncludedInAnyBundle(productID)

Arguments

productIDnumber

Returns

isIncludedInAnyBundlebool

C_CatalogShop.IsShop2Enabled

value = C_CatalogShop.IsShop2Enabled()

Returns

valuebool may be nil

C_CatalogShop.OnLegalDisclaimerClicked

C_CatalogShop.OnLegalDisclaimerClicked(catalogShopProductID)

Arguments

catalogShopProductIDnumber

C_CatalogShop.OnLegalPersonalizedOptOutClicked

C_CatalogShop.OnLegalPersonalizedOptOutClicked()

C_CatalogShop.OpenCatalogShopInteractionFromHouse

shoppingSessionUUIDStr = C_CatalogShop.OpenCatalogShopInteractionFromHouse()

Returns

shoppingSessionUUIDStrstring

C_CatalogShop.OpenCatalogShopInteractionFromShop

shoppingSessionUUIDStr = C_CatalogShop.OpenCatalogShopInteractionFromShop()

Returns

shoppingSessionUUIDStrstring

C_CatalogShop.ProductDisplayedTelemetry

C_CatalogShop.ProductDisplayedTelemetry(categoryId, sectionId, catalogShopProductID)

Arguments

categoryIdnumber
sectionIdnumber
catalogShopProductIDnumber

C_CatalogShop.ProductSelectedTelemetry

C_CatalogShop.ProductSelectedTelemetry(categoryId, sectionId, catalogShopProductID, wasCodeSelection)

Arguments

categoryIdnumber
sectionIdnumber
catalogShopProductIDnumber
wasCodeSelectionbool

C_CatalogShop.PurchaseProduct

canPurchase = C_CatalogShop.PurchaseProduct(productID)

Arguments

productIDnumber

Returns

canPurchasebool

C_CatalogShop.RefreshRefundableDecors

C_CatalogShop.RefreshRefundableDecors()

C_CatalogShop.RefreshVirtualCurrencyBalance

C_CatalogShop.RefreshVirtualCurrencyBalance(currencyCode)

Arguments

currencyCodestring

C_CatalogShop.ShouldShowHousingWarning

shouldShowHousingWarning = C_CatalogShop.ShouldShowHousingWarning()

Returns

shouldShowHousingWarningbool

C_CatalogShop.StartHousingVCPurchaseConfirmation

C_CatalogShop.StartHousingVCPurchaseConfirmation(productID)

Arguments

productIDnumber

Events

BULK_PURCHASE_RESULT_RECEIVED

resultBulkPurchaseResult
productResultsBulkPurchaseIndividualProductResult[]
bestTopUpProductIDnumber may be nil
totalCostnumber may be nil

BULK_REFUND_RESULT_RECEIVED

resultBulkRefundResult

CATALOG_SHOP_ADD_PENDING_PRODUCT

productIDnumber

CATALOG_SHOP_DATA_REFRESH

shoppingSessionUUIDStrstring may be nil

CATALOG_SHOP_DISABLED

No payload.

CATALOG_SHOP_FETCH_FAILURE

shoppingSessionUUIDStrstring may be nil

CATALOG_SHOP_FETCH_SUCCESS

shoppingSessionUUIDStrstring may be nil

CATALOG_SHOP_OPEN_SIMPLE_CHECKOUT

checkoutIDnumber

CATALOG_SHOP_PURCHASE_SUCCESS

productIDnumber

CATALOG_SHOP_REBUILD_SCROLL_BOX

No payload.

CATALOG_SHOP_REFUNDABLE_DECORS_UPDATED

No payload.

CATALOG_SHOP_REMOVE_PENDING_PRODUCT

productIDnumber

CATALOG_SHOP_RESULT_ERROR

No payload.

CATALOG_SHOP_SPECIFIC_PRODUCT_REFRESH

productIDnumber

CATALOG_SHOP_VIRTUAL_CURRENCY_BALANCE_UPDATE

currencyCodestring
balancestring

CATALOG_SHOP_VIRTUAL_CURRENCY_BALANCE_UPDATE_FAILURE

currencyCodestring

SET_SEEN_PRODUCTS

productIdsnumber[]

SHOW_NEW_PRODUCT_NOTIFICATION

No payload.

Tables

AvailableRaceInfo structure

raceIDnumber
displayNamestring

BulkPurchaseIndividualProductResult structure

recordIdnumber
parentProductIdnumber may be nil
entitlementIdstring
externalTransactionIdstring
statusSimpleOrderStatus

CatalogShopBundleChildInfo structure

childProductIDnumber
displayOrdernumber
quantityInBundlenumber

CatalogShopCategoryInfo structure

IDnumber
displayNamestring
iconTexturestring
linkTagstring
isDisabledbool
showPersistentRefundButtonbool

CatalogShopProductDisplayInfo structure

defaultPreviewModelSceneIDnumber
defaultCardModelSceneIDnumber
defaultWideCardModelSceneIDnumber
itemIDnumber
overridePreviewModelSceneIDnumber may be nil
overrideCardModelSceneIDnumber may be nil
overrideWideCardModelSceneIDnumber may be nil
creatureDisplayInfoIDsnumber[]
spellVisualIDsnumber[]
mainHandItemModifiedAppearanceIDnumber may be nil
offHandItemModifiedAppearanceIDnumber may be nil
itemModifiedAppearanceIDsnumber[]
iconFileDataIDnumber may be nil
iconTextureKittextureKit may be nil
productTypestring may be nil
itemDescriptionstring may be nil
hasUnknownLicensebool
productPMTURLstring may be nil
additionalProductPMTURLsstring[]
otherProductImageAtlasNamestring may be nil
otherProductGameTitleBaseTagstring may be nil
otherProductGameTypestring may be nil
customLoopingSoundStartnumber may be nil
customLoopingSoundMiddlenumber may be nil
customLoopingSoundEndnumber may be nil
specialActorID_1string may be nil
specialActorID_2string may be nil
specialActorID_3string may be nil
specialActorID_4string may be nil
specialActorID_5string may be nil
gameFlavorIDnumber may be nil
decorFileDataIDnumber may be nil
quantitynumber may be nil
houseTextureAtlastextureAtlas may be nil

CatalogShopProductInfo structure

catalogShopProductIDnumber
namestring
typestring may be nil
descriptionstring
iconTexturestring
isFullyOwnedbool
isPurchasePendingbool
refundablebool
pricestring
originalPricestring
discountPercentagenumber
itemIDnumber
mountIDnumber
mountTypeNamestring
speciesIDnumber
transmogSetIDnumber
itemModifiedAppearanceIDnumber
subItemsCatalogShopSubItemInfo[]
subItemsLoadedbool
backgroundTexturestring
foregroundTexturestring may be nil
smallCardBGTexturestring may be nil
smallCardFGTexturestring may be nil
wideCardBGTexturestring may be nil
wideCardFGTexturestring may be nil
previewIconTexturestring may be nil
optionalWideCardBackgroundTexturestring may be nil
isBundlebool
bundleChildrenSizenumber
licenseTermTypenumber
licenseTermDurationnumber
virtualCurrenciesCatalogShopVirtualCurrency[]
isHiddenbool
isMysterybool
hasPendingOrdersbool
numBundleDetailCardsnumber
isDynamicallyDiscountedbool
shouldShowOriginalPricebool
wideCardBGOverrideProductURLstring may be nil
previewBGOverrideProductURLstring may be nil
previewSmallBGOverrideProductURLstring may be nil
decorQuantityDecorQuantity may be nil
isVCProductbool
containsHousingItembool
deferredGameTimeDaysnumber

CatalogShopSectionInfo structure

IDnumber
displayNamestring
parentCatalogShopCategoryInfoIDnumber may be nil
cardTypestring may be nil
scrollGridSizenumber may be nil
shouldShowRecommendationOptOutDisclaimerbool

CatalogShopSpellVisualInfo structure

animIDnumber may be nil
spellVisualKitIDnumber may be nil

CatalogShopSubItemInfo structure

namestring
itemIDnumber
itemAppearanceIDnumber
invTypestring
qualityItemQuality

CatalogShopVCProductInfo structure

vcProductIDnumber

CatalogShopVirtualCurrency structure

amountnumber
currencyCodestring

DecorQuantity structure

placedQuantitynumber
storedQuantitynumber

RefundableDecorInfo structure

decorGUIDWOWGUID
timeRemainingSecondstime_t
namestring
pricestring

WowAddons가 필요해요

Windows, macOS, Linux용 무료 앱: 클릭 한 번으로 애드온을 게임에 넣고 최신 상태로 유지해요. 한 번 실행한 뒤 다시 설치를 눌러요.

WowAddons는 컴퓨터에서 실행돼요. 컴퓨터에서 wowaddons.gg를 열어요.

Windows용 다운로드