v0.13.8

C_HousingCatalog

namespaceavailable in: camelot

Status in wowlua

35 functions: 1 implemented, 0 recorded, 34 guessed. 8 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
CreateCatalogSearcherCreates a new instance of a HousingCatalog searcher; This can be used to asynchronously search/filter the HousingCatalog without affecting/being restricted by the filter state of other Housing Catalog UI displays
(): HousingCatalogSearcher
implemented
DeletePreviewCartDecorRemoves previewed decor from the cart. · by wowlua
(decorGUID: string)
guessed
DestroyEntryAttempt to delete the entry from storage
(entryVariantID: HousingCatalogEntryVariantID, destroyAll: boolean)
guessed
GetAllFilterTagGroupsReturns the groups of filter tags of the housing catalog. · by wowlua
(): HousingCatalogFilterTagGroupInfo[]
guessed
GetAllVariantInfosForEntryReturns variant info for all variants of a given catalog entry; Variants represent different visual modifications of the same base entry (ex: dyed versions)
(entryID: HousingCatalogEntryID): HousingCatalogEntryVariantInfo[]
guessed
GetBundleInfoReturns information about a housing bundle in the shop, or nothing. · by wowlua
(bundleCatalogShopProductID: number): HousingBundleInfo?
guessed
GetCartSizeLimitReturns the most items the housing market cart can hold. · by wowlua
(): number
guessed
GetCatalogCategoryAndSubcategoryNamesIf found, returns the names of the parent category and the specified subcategory
(subcategoryID: number): (string?, string?)
guessed
GetCatalogCategoryInfoReturns information about a housing catalog category, or nothing. · by wowlua
(categoryID: number): HousingCatalogCategoryInfo?
guessed
GetCatalogEntryDebugInfoForIDReturns debug information about a housing catalog entry, by its ID. · by wowlua
not in Blizzard's documentation
guessed
GetCatalogEntryInfoReturns information about a housing catalog entry, or nothing. · by wowlua
(entryID: HousingCatalogEntryID): HousingCatalogEntryInfo?
guessed
GetCatalogEntryInfoByItemReturns the housing catalog entry of an item, or nothing. · by wowlua
(itemInfo: ItemInfo): HousingCatalogEntryInfo?
guessed
GetCatalogEntryInfoByRecordIDReturns the housing catalog entry of a record, or nothing. · by wowlua
(entryType: HousingCatalogEntryType, recordID: number): HousingCatalogEntryInfo?
guessed
GetCatalogEntryRefundTimeStampByRecordIDReturns the time until which a housing catalog entry can be refunded, or nothing. · by wowlua
(entryType: HousingCatalogEntryType, recordID: number): number?
guessed
GetCatalogEntryVariantInfoReturns information about a variant of a housing catalog entry, or nothing. · by wowlua
(entryVariantID: HousingCatalogEntryVariantID): HousingCatalogEntryVariantInfo?
guessed
GetCatalogSubcategoryInfoReturns information about a housing catalog subcategory, or nothing. · by wowlua
(subcategoryID: number): HousingCatalogSubcategoryInfo?
guessed
GetDecorMaxOwnedCountReturns the maximum total number of decor that can be in storage/in the house chest; Note that not all decor entries in storage count towards this limit (see GetDecorTotalOwnedCount)
(): number
guessed
GetDecorTotalOwnedCountReturns two counts of the decor the player owns. · by wowlua
(): (number, number)
guessed
GetDestroyableInstanceCountReturns the number of instances that can be to be destroyed in storage; These instances count towards the max storage limit
(entryVariantID: HousingCatalogEntryVariantID): number
guessed
GetFeaturedBundlesReturns the featured housing bundles. · by wowlua
(): HousingBundleInfo[]
guessed
GetFeaturedSmallProductsReturns the featured small housing products. · by wowlua
(): HousingFeaturedSmallProductInfo[]
guessed
GetMarketInfoForDecorReturns market info for a specific decor. This is decor-only for now but should be extended to support entry type and recordID generically
(decorID: number): HousingMarketInfo?
guessed
HasFeaturedEntriesWhether the housing catalog has featured entries. · by wowlua
(): boolean
guessed
HousingMarketActionAddToCartAdds a product to the housing market cart. · by wowlua
(productID: number, withPreview: boolean)
guessed
HousingMarketActionClearCartEmpties the housing market cart. · by wowlua
()
guessed
HousingMarketActionRemoveFromCartRemoves a product from the housing market cart. · by wowlua
(productID: number)
guessed
HousingMarketActionViewBundleShows a bundle of the housing market. · by wowlua
(productID: number)
guessed
HousingMarketActionViewInStoreShows a housing market product in the shop. · by wowlua
(productID: number)
guessed
IsPreviewCartItemShownWhether previewed decor from the cart is shown. · by wowlua
(decorGUID: string): boolean
guessed
PromotePreviewDecorTurns previewed decor into placed decor and returns whether it succeeded. · by wowlua
(decorID: number, previewDecorGUID: string): boolean
guessed
RequestHousingMarketInfoRefreshRequests fresh housing market information from the server. · by wowlua
()
guessed
RequestHousingMarketRefundInfoRequests the housing market's refund information from the server. · by wowlua
()
guessed
SearchCatalogCategoriesReturns the IDs of the housing catalog categories that match the search. · by wowlua
(searchParams: HousingCategorySearchInfo): number[]
guessed
SearchCatalogSubcategoriesReturns the IDs of the housing catalog subcategories that match the search. · by wowlua
(searchParams: HousingCategorySearchInfo): number[]
guessed
SetPreviewCartItemShownShows or hides previewed decor from the cart. · by wowlua
(decorGUID: string, shown: boolean)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
HOUSING_CATALOG_CATEGORY_UPDATEDcategoryID: numbernot implemented
HOUSING_CATALOG_SUBCATEGORY_UPDATEDsubcategoryID: numbernot implemented
HOUSING_DECOR_ADD_TO_PREVIEW_LISTpreviewItemData: HousingPreviewItemDatanot implemented
HOUSING_DECOR_PREVIEW_LIST_REMOVE_FROM_WORLDdecorGUID: stringnot implemented
HOUSING_DECOR_PREVIEW_LIST_UPDATEDno payloadnot implemented
HOUSING_REFUND_LIST_UPDATEDno payloadnot implemented
HOUSING_STORAGE_ENTRY_UPDATEDentryVariantID: HousingCatalogEntryVariantIDnot implemented
HOUSING_STORAGE_UPDATEDno payloadnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("HOUSING_CATALOG_CATEGORY_UPDATED").

Structures

  • HousingBundleDecorEntryInfo · decorID, quantity
  • HousingBundleInfo · productID, price, originalPrice?, nonDecorProducts, decorEntries, canPreview
  • HousingCatalogCategoryInfo · ID, orderIndex, name?, icon?, subcategoryIDs, anyStoredEntries
  • HousingCatalogEntryInfo · recordID, entryType, itemID?, name, asset?, iconTexture?, iconAtlas?, uiModelSceneID?, categoryIDs, subcategoryIDs, dataTagsByID, size, placementCost, totalNumStored, remainingRedeemable, totalNumPlaced, destroyableInstanceCount, isUniqueTrophy, isAllowedOutdoors, isAllowedIndoors, canCustomize, isPrefab, quality?, firstAcquisitionBonus, sourceText
  • HousingCatalogEntryVariantInfo · entryVariantID, numStored, dyeSlots
  • HousingCatalogSubcategoryInfo · ID, orderIndex, parentCategoryID, name?, icon?, anyStoredEntries
  • HousingCategorySearchInfo · withStoredEntriesOnly, includeFeaturedCategory, editorModeContext?
  • HousingFeaturedSmallProductInfo · entryVariantID?, productID, price, originalPrice?, canPreview
  • HousingMarketInfo · price, productID, bundleIDs
  • HousingPreviewItemData · decorGUID?, productID?, bundleCatalogShopProductID?, isBundleParent, isBundleChild, id, decorID, name, icon, price, salePrice?

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (HousingCatalogUI 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.