World of Warcraft Forever API · C_HousingCleanupMode.md, for your AI
C_HousingCleanupMode
3 functions, 2 events, 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
C_HousingCleanupMode.GetHoveredDecorInfo
info = C_HousingCleanupMode.GetHoveredDecorInfo()
Returns
info | HousingDecorInstanceInfo may be nil |
|---|
C_HousingCleanupMode.IsHoveringDecor
isHoveringDecor = C_HousingCleanupMode.IsHoveringDecor()
Returns
isHoveringDecor | bool |
|---|
C_HousingCleanupMode.RemoveSelectedDecor
C_HousingCleanupMode.RemoveSelectedDecor()
Events
HOUSING_CLEANUP_MODE_HOVERED_TARGET_CHANGED
hasHoveredTarget | bool | |
|---|---|---|
targetType | HousingCleanupModeTargetType |
HOUSING_CLEANUP_MODE_TARGET_SELECTED
No payload.
Tables
Enum.HousingCleanupModeTargetType enumeration
None | 0 |
|---|---|
Decor | 1 |
HouseExterior | 2 |