# C_HouseExterior: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_HouseExterior

## Functions

### C_HouseExterior.CancelActiveExteriorEditing

```lua
C_HouseExterior.CancelActiveExteriorEditing()
```

Cancels all in-progress editing of house exterior fixtures, which will deselect any active targets

### C_HouseExterior.GetCoreFixtureOptionsInfo

```lua
coreFixtureOptionsInfo = C_HouseExterior.GetCoreFixtureOptionsInfo(coreFixtureType)
```

Arguments:
- `coreFixtureType`: HousingFixtureType

Returns:
- `coreFixtureOptionsInfo`: HousingCoreFixtureInfo, may be nil

### C_HouseExterior.GetCurrentHouseExteriorSize

```lua
houseExteriorSize = C_HouseExterior.GetCurrentHouseExteriorSize()
```

Returns:
- `houseExteriorSize`: HousingFixtureSize, may be nil

### C_HouseExterior.GetCurrentHouseExteriorType

```lua
houseExteriorTypeID, houseExteriorTypeName = C_HouseExterior.GetCurrentHouseExteriorType()
```

Returns:
- `houseExteriorTypeID`: number, may be nil
- `houseExteriorTypeName`: cstring, may be nil

### C_HouseExterior.GetHouseExteriorSizeOptions

```lua
options = C_HouseExterior.GetHouseExteriorSizeOptions()
```

Returns:
- `options`: HouseExteriorSizeOptionsInfo, may be nil

### C_HouseExterior.GetHouseExteriorTypeOptions

```lua
options = C_HouseExterior.GetHouseExteriorTypeOptions()
```

Returns:
- `options`: HouseExteriorTypeOptionsInfo, may be nil

### C_HouseExterior.GetSelectedFixturePointInfo

```lua
fixturePointInfo = C_HouseExterior.GetSelectedFixturePointInfo()
```

Returns:
- `fixturePointInfo`: HousingFixturePointInfo, may be nil

### C_HouseExterior.HasHoveredFixture

```lua
anyHoveredFixture = C_HouseExterior.HasHoveredFixture()
```

Returns:
- `anyHoveredFixture`: bool

### C_HouseExterior.HasSelectedFixturePoint

```lua
anySelectedFixturePoint = C_HouseExterior.HasSelectedFixturePoint()
```

Returns:
- `anySelectedFixturePoint`: bool

### C_HouseExterior.IsAnyDecorAttachedToCoreFixture

```lua
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:
- `coreFixtureType`: HousingFixtureType

Returns:
- `anyAttachedDecor`: bool

### C_HouseExterior.IsAnyDecorAttachedToDoor

```lua
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`: bool

### C_HouseExterior.IsAnyDecorAttachedToHouseExterior

```lua
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`: bool

### C_HouseExterior.IsAnyDecorAttachedToSelectedFixturePoint

```lua
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:
- `anyAttachedDecor`: bool

### C_HouseExterior.IsExteriorDecorHidden

```lua
decorHidden = C_HouseExterior.IsExteriorDecorHidden()
```

Returns:
- `decorHidden`: bool

### C_HouseExterior.RemoveFixtureFromSelectedPoint

```lua
C_HouseExterior.RemoveFixtureFromSelectedPoint([attachedDecorAction])
```

Arguments:
- `attachedDecorAction`: HousingFixtureDecorAction, default "Store". What to do with any decor currently attached to the fixture

### C_HouseExterior.SelectCoreFixtureOption

```lua
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

```lua
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

```lua
C_HouseExterior.SetExteriorDecorHidden(decorHidden)
```

Arguments:
- `decorHidden`: bool

### C_HouseExterior.SetHouseExteriorSize

```lua
C_HouseExterior.SetHouseExteriorSize(size, [attachedDecorAction])
```

Arguments:
- `size`: HousingFixtureSize
- `attachedDecorAction`: HousingFixtureDecorAction, default "Store". What to do with decor attached to any of the house's existing exterior components

### C_HouseExterior.SetHouseExteriorType

```lua
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

### HOUSE_EXTERIOR_DECOR_HIDDEN_CHANGED

Payload, after the event's name:
- `isDecorHidden`: bool

### HOUSE_EXTERIOR_TYPE_UNLOCKED

Payload, after the event's name:
- `fixtureID`: number

### HOUSING_CORE_FIXTURE_CHANGED

Payload, after the event's name:
- `coreFixtureType`: HousingFixtureType

### HOUSING_FIXTURE_HOVER_CHANGED

Payload, after the event's name:
- `anyHovered`: bool

### HOUSING_FIXTURE_POINT_FRAME_ADDED

Payload, after the event's name:
- `pointFrame`: HousingFixturePointFrame

### HOUSING_FIXTURE_POINT_FRAME_RELEASED

Payload, after the event's name:
- `pointFrame`: HousingFixturePointFrame

### HOUSING_FIXTURE_POINT_FRAMES_RELEASED

No payload.

### HOUSING_FIXTURE_POINT_SELECTION_CHANGED

Payload, after the event's name:
- `hasSelection`: bool

### HOUSING_FIXTURE_UNLOCKED

Payload, after the event's name:
- `fixtureID`: number

### HOUSING_SET_EXTERIOR_HOUSE_SIZE_RESPONSE

Payload, after the event's name:
- `result`: HousingResult

### HOUSING_SET_EXTERIOR_HOUSE_TYPE_RESPONSE

Payload, after the event's name:
- `result`: HousingResult

### HOUSING_SET_FIXTURE_RESPONSE

Payload, after the event's name:
- `result`: HousingResult

---
Make an addon with your 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."
