World of Warcraft Forever API · C_HousingInspectMode.md, for your AI
C_HousingInspectMode
5 functions, 2 events, 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_HousingInspectMode.EnterInspectMode
C_HousingInspectMode.EnterInspectMode()
Enters inspect mode, enabling decor inspection
C_HousingInspectMode.ExitInspectMode
C_HousingInspectMode.ExitInspectMode()
Exits inspect mode, disabling decor inspection
C_HousingInspectMode.GetHoveredDecorGUID
decorGUID = C_HousingInspectMode.GetHoveredDecorGUID()
Returns the GUID of the decor instance currently being hovered, if there is one
Returns
decorGUID | WOWGUID |
|---|
C_HousingInspectMode.IsHoveringDecor
isHoveringDecor = C_HousingInspectMode.IsHoveringDecor()
Returns true if a decor instance is currently being hovered in inspect mode
Returns
isHoveringDecor | bool |
|---|
C_HousingInspectMode.IsInInspectMode
isInInspectMode = C_HousingInspectMode.IsInInspectMode()
Returns true if the player is currently in inspect mode
Returns
isInInspectMode | bool |
|---|
Events
HOUSING_INSPECT_MODE_DECOR_HOVERED_CHANGED
No payload.
HOUSING_INSPECT_MODE_STATE_UPDATED
No payload.