World of Warcraft Forever API · C_HouseExterior.md, for your AI
C_HouseExterior
20 functions, 12 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_HouseExterior.CancelActiveExteriorEditing()
Cancels all in-progress editing of house exterior fixtures, which will deselect any active targets
coreFixtureOptionsInfo = C_HouseExterior.GetCoreFixtureOptionsInfo(coreFixtureType)
Arguments
Returns
houseExteriorSize = C_HouseExterior.GetCurrentHouseExteriorSize()
Returns
houseExteriorTypeID, houseExteriorTypeName = C_HouseExterior.GetCurrentHouseExteriorType()
Returns
houseExteriorTypeID | number may be nil | |
|---|
houseExteriorTypeName | cstring may be nil | |
|---|
options = C_HouseExterior.GetHouseExteriorSizeOptions()
Returns
options = C_HouseExterior.GetHouseExteriorTypeOptions()
Returns
fixturePointInfo = C_HouseExterior.GetSelectedFixturePointInfo()
Returns
anyHoveredFixture = C_HouseExterior.HasHoveredFixture()
Returns
anySelectedFixturePoint = C_HouseExterior.HasSelectedFixturePoint()
Returns
anySelectedFixturePoint | bool | |
|---|
anyAttachedDecor = C_HouseExterior.IsAnyDecorAttachedToCoreFixture(coreFixtureType)
Returns true if any decor is attached to the specified core fixture type, OR any child fixtures attached to it; Will also return false if the type provided is not a core fixture type, or if not in Exterior Customization mode on an owned plot
Arguments
Returns
anyAttachedDecor = C_HouseExterior.IsAnyDecorAttachedToDoor()
Returns true if any decor is attached to the current House Exterior's door; Will also return false if not in Exterior Customization mode on an owned plot
Returns
anyAttachedDecor = C_HouseExterior.IsAnyDecorAttachedToHouseExterior()
Returns true if any decor is attached to any component of the current House Exterior; Will also return false if not in House Exterior Customization mode on an owned Plot
Returns
anyAttachedDecor = C_HouseExterior.IsAnyDecorAttachedToSelectedFixturePoint()
Returns true if any decor is attached to the Fixture occupying the currently selected fixture point; Will also return false if no point is currently selected, or if there is currently no Fixture there
Returns
decorHidden = C_HouseExterior.IsExteriorDecorHidden()
Returns
C_HouseExterior.RemoveFixtureFromSelectedPoint([attachedDecorAction])
Arguments
C_HouseExterior.SelectCoreFixtureOption(fixtureID, [attachedDecorAction])
Arguments
fixtureID | number | |
|---|
attachedDecorAction | HousingFixtureDecorAction default "Store" | What to do with any decor attached to the old core fixture; If the fixture being swapped is a variant (ie recolor) of the existing one, attached decor will always be reparented directly to the new one |
|---|
C_HouseExterior.SelectFixtureOption(fixtureID, [attachedDecorAction])
Arguments
fixtureID | number | |
|---|
attachedDecorAction | HousingFixtureDecorAction default "Store" | If this fixture choice is replacing an existing one that has decor attached, what to do with any decor attached to the old one |
|---|
C_HouseExterior.SetExteriorDecorHidden(decorHidden)
Arguments
C_HouseExterior.SetHouseExteriorSize(size, [attachedDecorAction])
Arguments
C_HouseExterior.SetHouseExteriorType(houseExteriorTypeID, [attachedDecorAction])
Arguments
houseExteriorTypeID | number | |
|---|
attachedDecorAction | HousingFixtureDecorAction default "Store" | What to do with decor attached to any of the house's existing exterior components |
|---|
Events
pointFrame | HousingFixturePointFrame | |
|---|
pointFrame | HousingFixturePointFrame | |
|---|