WowAddons

World of Warcraft Forever API · C_HouseEditor.md, for your AI

C_HouseEditor

10 functions, 3 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_HouseEditor.ActivateHouseEditorMode

result = C_HouseEditor.ActivateHouseEditorMode(editMode)

Attempts switch the House Editor to a specific House Editor mode

Arguments

editModeHouseEditorMode

Returns

resultHousingResultThe initial result of the attempt to activate the mode; If Success, mode is either already active, or we've succesfully started making required requests to server; Listen for MODE_CHANGED or MODE_CHANGE_FAILURE events for ultimate end result after server calls

C_HouseEditor.EnterHouseEditor

result = C_HouseEditor.EnterHouseEditor()

Attempts to open the House Editor to the default House Editor mode

Returns

resultHousingResultThe initial result of the attempt to open the Editor; If Success, Editor is either already active, or we've succesfully started making required requests to server; Listen for MODE_CHANGED or MODE_CHANGE_FAILURE events for ultimate end result after server calls

C_HouseEditor.GetActiveHouseEditorMode

editMode = C_HouseEditor.GetActiveHouseEditorMode()

Returns

editModeHouseEditorMode

C_HouseEditor.GetHouseEditorAvailability

result = C_HouseEditor.GetHouseEditorAvailability()

Returns the availability state of the House Editor overall

Returns

resultHousingResult

C_HouseEditor.GetHouseEditorModeAvailability

result = C_HouseEditor.GetHouseEditorModeAvailability(editMode)

Returns the availability of a specific House Editor mode

Arguments

editModeHouseEditorMode

Returns

resultHousingResult

C_HouseEditor.GetHouseEditorPlayerType

playerType = C_HouseEditor.GetHouseEditorPlayerType()

Returns

playerTypeHouseEditorPlayerType

C_HouseEditor.IsHouseEditorActive

isEditorActive = C_HouseEditor.IsHouseEditorActive()

Returns whether the House Editor is active, in any mode

Returns

isEditorActivebool

C_HouseEditor.IsHouseEditorModeActive

isModeActive = C_HouseEditor.IsHouseEditorModeActive(editMode)

Returns whether the specific House Editor mode is active

Arguments

editModeHouseEditorMode

Returns

isModeActivebool

C_HouseEditor.IsHouseEditorStatusAvailable

editorStatusAvailable = C_HouseEditor.IsHouseEditorStatusAvailable()

Returns true if the HouseEditor currently able process mode availability and switching; May be false if not in a house or plot, or while waiting to get house settings back from the server

Returns

editorStatusAvailablebool

C_HouseEditor.LeaveHouseEditor

C_HouseEditor.LeaveHouseEditor()

Events

HOUSE_EDITOR_AVAILABILITY_CHANGED

No payload.

HOUSE_EDITOR_MODE_CHANGE_FAILURE

resultHousingResult

HOUSE_EDITOR_MODE_CHANGED

currentEditModeHouseEditorMode

Tables

Enum.HouseEditorPlayerType enumeration

None0
Owner1
Visitor2

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows