v0.13.8

C_HousingCustomizeMode

namespaceavailable in: camelot

Status in wowlua

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

Functions

functionwhat it doesstatus
ApplyDyeToSelectedDecorIf a dyeable decor is selected, applies a specific dye color in a specific slot as a preview; See CommitDyesForSelectedDecor to actually save applied dye changes
(dyeSlotID: number, dyeColorID: number?)
guessed
ApplyPetToSelectedDecorIf a decor is selected that supports pets, applies a specific petID to be shown on that decor
(petID: string?, petBehavior: HousingPetBehaviorType)
guessed
ApplyThemeToRoomAttempt to apply a specific theme set (aka style) to all applicable room components in the current room
(themeSetID: number)
guessed
ApplyThemeToSelectedRoomComponentAttempt to apply a specific theme set (aka style) to the currently selected room component only
(themeSetID: number)
guessed
ApplyWallpaperToAllWallsAttempt to apply a specific wallpaper (aka material/texture) to all applicable room components in the current room
(roomComponentTextureRecID: number)
guessed
ApplyWallpaperToSelectedRoomComponentAttempt to apply a specific wallpaper (aka material/texture) to the currently selected room component only
(roomComponentTextureRecID: number)
guessed
CancelActiveEditingCancels all in-progress editing of the selected target, which will reset any unapplied customization changes and deselect the active target
()
guessed
ClearDyesForSelectedDecorClears all previewed dye changes on the selected decor; Does not clear any already saved dyes that were previously applied
()
guessed
ClearTargetRoomComponentDeselect the currently selected room component, if there is one
()
guessed
CommitDyesForSelectedDecorAttempt to save all previewed dye changes made to the selected decor
(): boolean
guessed
GetHoveredDecorInfoReturns info for the placed decor instance currently being hovered, if there is one
(): HousingDecorInstanceInfo?
guessed
GetHoveredRoomComponentInfoReturns info for the room component currently being hovered, if there is one
(): HousingRoomComponentInstanceInfo?
guessed
GetNumDyesToRemoveOnSelectedDecorIf a dyeable decor instance is selected, returns how many dye slots would be cleared on applying all currently previewed dye changes
(): number
guessed
GetNumDyesToSpendOnSelectedDecorIf a dyeable decor instance is selected, returns how many dye items would be spent on applying all currently previewed dye changes
(): number
guessed
GetPreviewDyesOnSelectedDecorIf a dyeable decor instance is selected, returns info structs for each new/changed dye currently being previewed
(): PreviewDyeSlotInfo[]
guessed
GetRecentlyUsedDyesReturns a list of ids for the dyes most recently applied by the player, if any
(): number[]
guessed
GetRecentlyUsedThemeSetsReturns a list of ids for the theme sets (aka styles) most recently applied by the player, if any
(): number[]
guessed
GetRecentlyUsedWallpapersReturns a list of ids for the wallpapers most recently applied by the player, if any
(): number[]
guessed
GetSelectedDecorInfoReturns info for the decor instance that's currently selected, if there is one
(): HousingDecorInstanceInfo?
guessed
GetSelectedDecorPetInfoIf a decor is selected that supports pets, gets petID and behavior type from decor
(): (string?, HousingPetBehaviorType)
guessed
GetSelectedRoomComponentInfoReturns info for the currently selected room component, if there is one
(): HousingRoomComponentInstanceInfo?
guessed
GetThemeSetInfoReturns the name of the specified theme set (aka style) if it exists
(themeSetID: number): string?
guessed
GetWallpapersForRoomComponentTypeGet all wallpapers (aka materials/textures) available for the selected room component type, if any
(type: HousingRoomComponentType): RoomComponentWallpaper[]
guessed
IsDecorSelectedReturns true if a decor instance is currently selected for customization
(): boolean
guessed
IsHouseExteriorDoorHoveredReturns true if the entry door of the house's exterior is currently being hovered
(): boolean
guessed
IsHoveringDecorReturns true if a placed decor instance is currently being hovered
(): boolean
guessed
IsHoveringRoomComponentReturns true if a room component is currently being hovered
(): boolean
guessed
IsRoomComponentSelectedReturns true if a room component is currently selected for customization
(): boolean
guessed
RoomComponentSupportsVariantCheck whether a specific room component supports a particular variant; What kind of id or enum 'variant' equates to is complicated, as it depends on the component type
(componentID: number, variant: number): boolean
guessed
RoomConnectionSupportsDoorTypeCheck whether a specific room component, within a specific room, supports a particular doorType
(roomGUID: string, componentID: number, newDoortype: HousingRoomComponentDoorType): boolean
guessed
SetRoomComponentCeilingTypeAttempt to set a specific ceiling component, within a specific room, to a specific new ceiling type
(roomGUID: string, componentID: number, ceilingType: HousingRoomComponentCeilingType)
guessed
SetRoomComponentDoorTypeAttempt to set a specific door component, within a specific room, to a specific new door type
(roomGUID: string, componentID: number, newDoortype: HousingRoomComponentDoorType)
guessed

Events

eventpayloadfired by the emulator
HOUSING_CUSTOMIZE_MODE_HOVERED_TARGET_CHANGEDhasHoveredTarget: boolean, targetType: HousingCustomizeModeTargetTypenot implemented
HOUSING_CUSTOMIZE_MODE_SELECTED_TARGET_CHANGEDhasSelectedTarget: boolean, targetType: HousingCustomizeModeTargetTypenot implemented
HOUSING_DECOR_CUSTOMIZATION_CHANGEDdecorGUID: stringnot implemented
HOUSING_DECOR_DYE_FAILUREdecorGUID: string, housingResult: HousingResultnot implemented
HOUSING_ROOM_COMPONENT_CUSTOMIZATION_CHANGEDroomGUID: string, componentID: numbernot implemented
HOUSING_ROOM_COMPONENT_CUSTOMIZATION_CHANGE_FAILEDroomGUID: string, componentID: number, housingResult: HousingResultnot implemented

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

Structures

  • HousingRoomComponentInstanceInfo · roomGUID, type, componentID, canBeCustomized, currentThemeSet?, availableThemeSets, currentWallpaper?, currentRoomComponentTextureRecID?, ceilingType, doorType
  • PreviewDyeSlotInfo · dyeColorID, dyeSlotID
  • RoomComponentWallpaper · name, roomComponentTextureRecID

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (HousingCustomizeModeUI system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.