v0.13.8

C_HousingDecor

namespaceavailable in: camelot

Status in wowlua

38 functions: 0 implemented, 0 recorded, 38 guessed. 11 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AnyDecorPlacedInRoomReturns true if any decor objects are placed in a given room
(roomGUID: string): boolean
guessed
CancelActiveEditingCancels all in-progress editing of the selected target, which will reset any unsaved changes and deselect the active target
()
guessed
CommitDecorMovementAttempt to save the changes made to the currently selected decor instance
()
guessed
EnterPreviewStateStarts previewing decor. · by wowlua
()
guessed
ExitPreviewStateStops previewing decor. · by wowlua
()
guessed
GetAllMaxPlacementBudgetsReturns the interior and exterior max decor placement budgets for the current owned house interior or plot; Can be increased via house level
(): (number[]?, number[]?)
guessed
GetAllPlacedDecorPlaced Decor List APIs currently restricted due to being potentially very expensive operations, may be reworked & opened up in the future
(): HousingDecorInstanceListEntry[]
guessed
GetAllSpentPlacementBudgetsReturns how much of the interior and exterior placement budgets for the current owned house interior or plot's decor budget have been spent
(): (number[]?, number[]?)
guessed
GetDecorAssignedPetNameReturns pet name for the placed decor instance associated with the passed Decor GUID, if there is one
(decorGUID: string): string?
guessed
GetDecorCanAttachPetWhether a pet can be attached to the decor. · by wowlua
(decorID: number): boolean
guessed
GetDecorDebugInfoForGUIDReturns debug information about a placed decor item, by its GUID. · by wowlua
not in Blizzard's documentation
guessed
GetDecorHyperlinkReturns a chat link to the decor, or nothing. · by wowlua
(decorID: number): string?
guessed
GetDecorIconReturns the decor's icon file ID, or nothing. · by wowlua
(decorID: number): number?
guessed
GetDecorInstanceInfoForGUIDReturns info for the placed decor instance associated with the passed Decor GUID, if there is one
(decorGUID: string): HousingDecorInstanceInfo?
guessed
GetDecorNameReturns the decor's name, or nothing. · by wowlua
(decorID: number): string?
guessed
GetHoveredDecorDebugInfoReturns debug information about the decor item under the cursor, or nil if there is none. Blizzard's PTR feedback tooltips use it. · by wowlua
not in Blizzard's documentation
guessed
GetHoveredDecorInfoReturns info for the placed decor instance currently being hovered, if there is one
(): HousingDecorInstanceInfo?
guessed
GetMaxPetPlacementBudgetReturns the max pet decor placement budget for the current owned house interior or plot
(): number?
guessed
GetMaxPlacementBudgetReturns the max decor placement budget for the current owned house interior or plot; Can be increased via house level
(): number?
guessed
GetNumDecorPlacedReturns the number of individual decor objects placed in the current house or plot; This is NOT the value used in placement budget calculations, see GetSpentPlacementBudget for that
(): number
guessed
GetNumPreviewDecorReturns the number of previewed decor items. · by wowlua
(): number
guessed
GetSelectedDecorDebugInfoReturns debug information about the selected decor item. · by wowlua
not in Blizzard's documentation
guessed
GetSelectedDecorInfoReturns info for the placed decor instance that's currently selected, if there is one
(): HousingDecorInstanceInfo?
guessed
GetSpentPetPlacementBudgetReturns how much of the current owned house interior or plot's pet decor placement budget has been spent
(): number?
guessed
GetSpentPlacementBudgetReturns how much of the current owned house interior or plot's decor placement budget has been spent; Different kinds of decor take up different budget amounts, so this value isn't an individual decor count, see GetNumDecorPlaced for that
(): number?
guessed
HasMaxPlacementBudgetReturns whether there's a max decor placement budget available and active for the current player, in the current house interior or plot
(): boolean
guessed
IsDecorSelectedReturns true if a placed decor instance is currently selected
(): boolean
guessed
IsGridVisibleWhether the placement grid is shown. · by wowlua
(): boolean
guessed
IsHouseExteriorDoorHoveredReturns true if the entry door of the house's exterior is currently being hovered
(): boolean
guessed
IsHouseExteriorHoveredReturns true if the house's exterior is currently being hovered
(): boolean
guessed
IsHoveringDecorReturns true if a placed decor instance is currently being hovered
(): boolean
guessed
IsModeDisabledForPreviewStateWhether the house editor mode is unavailable while previewing decor. · by wowlua
(mode: HouseEditorMode): boolean
guessed
IsPreviewStateWhether decor is being previewed. · by wowlua
(): boolean
guessed
RemovePlacedDecorEntryPlaced Decor List APIs currently restricted due to being potentially very expensive operations, may be reworked & opened up in the future
(decorGUID: string)
guessed
RemoveSelectedDecorAttempt to return the currently selected decor instance back to the house chest
()
guessed
SetGridVisibleShows or hides the placement grid. · by wowlua
(gridVisible: boolean)
guessed
SetPlacedDecorEntryHoveredPlaced Decor List APIs currently restricted due to being potentially very expensive operations, may be reworked & opened up in the future
(decorGUID: string, hovered: boolean)
guessed
SetPlacedDecorEntrySelectedPlaced Decor List APIs currently restricted due to being potentially very expensive operations, may be reworked & opened up in the future
(decorGUID: string, selected: 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
HOUSE_DECOR_ADDED_TO_CHESTdecorGUID: string, decorID: numbernot implemented
HOUSE_EXTERIOR_POSITION_FAILUREhousingResult: HousingResultnot implemented
HOUSE_EXTERIOR_POSITION_SUCCESSno payloadnot implemented
HOUSING_DECOR_GRID_VISIBILITY_STATUS_CHANGEDisGridVisible: booleannot implemented
HOUSING_DECOR_PLACE_FAILUREhousingResult: HousingResultnot implemented
HOUSING_DECOR_PLACE_SUCCESSdecorGUID: string, size: HousingCatalogEntrySize, isNew: boolean, isPreview: booleannot implemented
HOUSING_DECOR_PREVIEW_STATE_CHANGEDisPreviewState: booleannot implemented
HOUSING_DECOR_REMOVEDdecorGUID: stringnot implemented
HOUSING_DECOR_SELECT_RESPONSEresult: HousingResultnot implemented
HOUSING_NEW_DECOR_PLACE_COMPLETEdecorGUID: stringnot implemented
HOUSING_NUM_DECOR_PLACED_CHANGEDno payloadnot implemented

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

Structures

  • HousingDecorInstanceListEntry · decorGUID, name

sources

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