WowAddons

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

HousingCatalogSearcherAPI (widget methods)

46 functions, 1 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

GetAllSearchItems

matchingEntryVariantIDs = self:GetAllSearchItems()

Returns all catalog entries being searched (note these are NOT search results, this is the source collection of what's being searched)

Returns

matchingEntryVariantIDsHousingCatalogEntryVariantID[]

GetCatalogSearchResults

matchingEntryVariantIDs = self:GetCatalogSearchResults()

Returns the most recent search result entries

Returns

matchingEntryVariantIDsHousingCatalogEntryVariantID[]

GetEditorModeContext

editorModeContext = self:GetEditorModeContext()

Returns

editorModeContextHouseEditorMode may be nil

GetFilterTagStatus

active = self:GetFilterTagStatus(groupID, tagID)

Arguments

groupIDnumber
tagIDnumber

Returns

activebool

GetFilteredCategoryID

categoryID = self:GetFilteredCategoryID()

Returns

categoryIDnumber may be nil

GetFilteredSubcategoryID

subcategoryID = self:GetFilteredSubcategoryID()

Returns

subcategoryIDnumber may be nil

GetNumSearchItems

numSearchItems = self:GetNumSearchItems()

Returns the total number of entries being searched through

Returns

numSearchItemsnumber

GetSearchCount

searchCount = self:GetSearchCount()

Returns the total number of owned instances across all most recent search result entries

Returns

searchCountnumber

GetSearchText

searchText = self:GetSearchText()

Returns

searchTextstring may be nil

GetSortType

sortType = self:GetSortType()

Returns

sortTypeHousingCatalogSortType

IsAllowedIndoorsActive

isActive = self:IsAllowedIndoorsActive()

Returns

isActivebool

IsAllowedOutdoorsActive

isActive = self:IsAllowedOutdoorsActive()

Returns

isActivebool

IsBaseVariantOnlyActive

isActive = self:IsBaseVariantOnlyActive()

Returns

isActivebool

IsCollectedActive

isActive = self:IsCollectedActive()

Returns

isActivebool

IsCustomizableOnlyActive

isActive = self:IsCustomizableOnlyActive()

Returns

isActivebool

IsFirstAcquisitionBonusOnlyActive

isActive = self:IsFirstAcquisitionBonusOnlyActive()

Returns

isActivebool

IsSearchInProgress

isSearchInProgress = self:IsSearchInProgress()

Returns

isSearchInProgressbool

IsStoredOnlyActive

isActive = self:IsStoredOnlyActive()

Returns

isActivebool

IsUncollectedActive

isActive = self:IsUncollectedActive()

Returns

isActivebool

RunSearch

self:RunSearch()

Run search with all current param values

SetAllInFilterTagGroup

self:SetAllInFilterTagGroup(groupID, active)

Set the toggle state of all filter tags within a specific group; If active, only entries that match Any of the tags in the group will be included in search results

Arguments

groupIDnumber
activebool

SetAllowedIndoors

self:SetAllowedIndoors(isActive)

Search parameter; If true, entries that can be placed in house interiors will be included in the search; Note many decor objects can be placed both indoors and outdoors, so having only this toggled on may still include decor that can also be placed outdoors

Arguments

isActivebool

SetAllowedOutdoors

self:SetAllowedOutdoors(isActive)

Search parameter; If true, entries that can be placed outside in plots will be included in the search; Note many decor objects can be placed both indoors and outdoors, so having only this toggled on may still include decor that can also be placed indoors

Arguments

isActivebool

SetAutoUpdateOnParamChanges

self:SetAutoUpdateOnParamChanges(autoUpdateActive)

If true, searcher automatically updates results whenever search param values are changed

Arguments

autoUpdateActivebool

SetBaseVariantOnly

self:SetBaseVariantOnly(isActive)

Search parameter; If true, only the base variant of each decor entry will be included

Arguments

isActivebool

SetCollected

self:SetCollected(isActive)

Search parameter; If true, includes all owned entries, including those that are in storage OR placed in an owned house or plot; See IsStoredOnlyActive for a more exclusive toggle

Arguments

isActivebool

SetCustomizableOnly

self:SetCustomizableOnly(isActive)

Search parameter; If true, catalog entries that cannot be customized (ie dyed) will be excluded from the search

Arguments

isActivebool

SetEditorModeContext

self:SetEditorModeContext([editorModeContext])

Search parameter; If set, limits search results to only entries that are used/valid in the specified editor mode

Arguments

editorModeContextHouseEditorMode may be nil

SetFilterTagStatus

self:SetFilterTagStatus(groupID, tagID, active)

Set the toggle state of a single filter tag within a specific group

Arguments

groupIDnumber
tagIDnumber
activebool

SetFilteredCategoryID

self:SetFilteredCategoryID([categoryID])

Search parameter; If set, limits search results to only those within the specified category

Arguments

categoryIDnumber may be nil

SetFilteredSubcategoryID

self:SetFilteredSubcategoryID([subcategoryID])

Search parameter; If set, limits search results to only those within the specified subcategory

Arguments

subcategoryIDnumber may be nil

SetFirstAcquisitionBonusOnly

self:SetFirstAcquisitionBonusOnly(isActive)

Search parameter; If true, excludes any entries that do not reward house xp when acquired for the first time

Arguments

isActivebool

SetResultsUpdatedCallback

self:SetResultsUpdatedCallback(callback)

Arguments

callbackHousingCatalogSearchResultsUpdatedCallback

SetSearchText

self:SetSearchText([searchText])

Search parameter; If set, multiple text fields are checked for instances of the text, including name, category, subcategory, and data tags

Arguments

searchTextstring may be nilSupports advanced search tokens ('"' '-' and '|'), case and accent insensitive; Set nil to clear out the search text

SetSortType

self:SetSortType(sortType)

Arguments

sortTypeHousingCatalogSortType

SetStoredOnly

self:SetStoredOnly(isActive)

Search parameter; If true, only entries that you have instances of available in storage will be included; This does not include entries that you own but have all been placed in a house; See IsCollectedActive for param that includes placed entries

Arguments

isActivebool

SetUncollected

self:SetUncollected(isActive)

Search parameter; If true, includes entries that are not owned, meaning not available in storage nor placed in any owned houses or plots

Arguments

isActivebool

ToggleAllowedIndoors

self:ToggleAllowedIndoors()

ToggleAllowedOutdoors

self:ToggleAllowedOutdoors()

ToggleBaseVariantOnly

self:ToggleBaseVariantOnly()

ToggleCollected

self:ToggleCollected()

ToggleCustomizableOnly

self:ToggleCustomizableOnly()

ToggleFilterTag

self:ToggleFilterTag(groupID, tagID)

Arguments

groupIDnumber
tagIDnumber

ToggleFirstAcquisitionBonusOnly

self:ToggleFirstAcquisitionBonusOnly()

ToggleStoredOnly

self:ToggleStoredOnly()

ToggleUncollected

self:ToggleUncollected()

Tables

HousingCatalogSearchResultsUpdatedCallback callbacktype

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows