v0.13.8

C_HousingBasicMode

namespaceavailable in: camelot

Status in wowlua

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

Functions

functionwhat it doesstatus
CancelActiveEditingCancels all in-progress editing of the selected target, which will reset any unsaved changes and deselect the active target; Un-placed decor will be returned to the house chest
()
guessed
CommitDecorMovementAttempt to save the changes made to the currently selected decor instance
()
guessed
CommitHouseExteriorPositionAttempt to save the changes made to the House Exterior's position within the plot
()
guessed
FinishPlacingNewDecorFinishes placing the new decor. · by wowlua
()
guessed
GetHoveredDecorInfoReturns info for the placed decor instance currently being hovered, if there is one
(): HousingDecorInstanceInfo?
guessed
GetSelectedDecorInfoReturns info for the decor instance that's currently selected, if there is one
(): HousingDecorInstanceInfo?
guessed
IsDecorSelectedReturns true if a decor instance is currently selected and being dragged
(): boolean
guessed
IsFreePlaceEnabledWhen free place is enabled, collision checks while dragging decor/the house exterior are ignored
(): boolean
guessed
IsGridSnapEnabledWhether decor snaps to the grid. · by wowlua
(): boolean
guessed
IsGridVisibleWhether the placement grid is shown. · by wowlua
(): boolean
guessed
IsHouseExteriorHoveredReturns true if the house's exterior is currently being hovered
(): boolean
guessed
IsHouseExteriorSelectedReturns true if the house's exterior is currently selected and being moved
(): boolean
guessed
IsHoveringDecorReturns true if a placed decor instance is currently being hovered
(): boolean
guessed
IsPlacingNewDecorWhether the player is placing new decor. · by wowlua
(): boolean
guessed
RemoveSelectedDecorAttempt to return the currently selected decor instance back to the house chest
()
guessed
RotateDecorRotates the currently selected decor along a single axis; For wall decor, rotates such that the object stays flat against its current wall; For all other decor, rotates around the Z (vertical) axis
(rotDegrees: number)
guessed
RotateHouseExteriorRotates the House Exterior around the Z (vertical) axis
(rotDegrees: number)
guessed
SetFreePlaceEnabledSet whether free place is enabled; When free place is enabled, collision checks while dragging decor/the house exterior are ignored
(freePlaceEnabled: boolean)
guessed
SetGridSnapEnabledSets whether decor snaps to the grid. · by wowlua
(isGridSnapEnabled: boolean)
guessed
SetGridVisibleShows or hides the placement grid. · by wowlua
(gridVisible: boolean)
guessed
StartPlacingNewDecorStarts placing new decor from the catalog. · by wowlua
(catalogEntryVariantID: HousingCatalogEntryVariantID)
guessed
StartPlacingPreviewDecorStarts placing decor as a preview. · by wowlua
(decorRecordID: number, bundleCatalogShopProductID: number?)
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_BASIC_MODE_HOVERED_TARGET_CHANGEDhasHoveredTarget: boolean, targetType: HousingBasicModeTargetTypenot implemented
HOUSING_BASIC_MODE_PLACEMENT_FLAGS_UPDATEDtargetType: HousingBasicModeTargetType, activeFlags: HousingDecorPlacementRestrictionnot implemented
HOUSING_BASIC_MODE_SELECTED_TARGET_CHANGEDhasSelectedTarget: boolean, targetType: HousingBasicModeTargetType, isPreview: booleannot implemented
HOUSING_DECOR_FREE_PLACE_STATUS_CHANGEDisFreePlaceEnabled: booleannot implemented
HOUSING_DECOR_GRID_SNAP_OCCURREDno payloadnot implemented
HOUSING_DECOR_GRID_SNAP_STATUS_CHANGEDisGridSnapEnabled: booleannot implemented

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

sources

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