# HousingBlueprintConstants (types and enums): 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/HousingBlueprintConstants

## Tables

### Enum.HousingBlueprintContentType (enumeration)

- `None` = 0
- `HouseType` = 1
- `Room` = 2
- `Decor` = 3
- `Dye` = 4
- `Fixture` = 5
- `Other` = 6

### Enum.HousingBlueprintUnmetRequirementFlags (enumeration)

- `InsufficientBudget` = 1
- `MissingRoom` = 2
- `MissingFixture` = 4
- `MissingDecor` = 8
- `MissingDye` = 16
- `MismatchedExteriorFaction` = 32
- `HouseTypeLocked` = 64
- `HouseSizeLocked` = 128

### HousingBlueprintBudgetEntry (structure)

- `budgetType`: HousingBudgetType
- `cost`: number
- `max`: number, may be nil. Will be nil if there is no target house or information for it is unavailable
- `current`: number, may be nil. Will be nil if there is no target house or information for it is unavailable

### HousingBlueprintBudgetInfo (structure)

- `exteriorBudgets`: HousingBlueprintBudgetEntry[]. Map of budget type to budget entry
- `interiorBudgets`: HousingBlueprintBudgetEntry[]. Map of budget type to budget entry

### HousingBlueprintCollection (structure)

List of Blueprints, separated into like groups

- `groups`: HousingBlueprintGroup[]

### HousingBlueprintContentEntry (structure)

A single specific object that makes up a Blueprint's contents

- `contentType`: HousingBlueprintContentType
- `recordID`: number
- `name`: string
- `total`: number, default 0. Total instances of the object contained within or required by the Blueprint
- `numMissing`: number, default 0. The number of instances of this item that the player doesn't own, or have unlocked, or have available for use (depending on the type of content)
- `invalid`: bool, default false. True for content that isn't valid for use whether it's owned or not, for example exterior types of the opposite faction than the house's neighborhood
- `tooltip`: string, may be nil

### HousingBlueprintContentGroup (structure)

Group of entries of one specific type of object within a Blueprint

- `contentType`: HousingBlueprintContentType
- `entries`: HousingBlueprintContentEntry[]

### HousingBlueprintContentInfo (structure)

- `shareCode`: string
- `targetHouseGUID`: WOWGUID, may be nil
- `budgetInfo`: HousingBlueprintBudgetInfo
- `contentGroups`: HousingBlueprintContentGroup[]
- `unmetRequirementFlags`: HousingBlueprintUnmetRequirementFlags
- `blockingRequirementFlags`: HousingBlueprintUnmetRequirementFlags

### HousingBlueprintGroup (structure)

Group of Blueprints of the same or similar types

- `name`: cstring
- `entries`: HousingBlueprintInfo[]

### HousingBlueprintInfo (structure)

List of entries of one specific type of object within a Blueprint

- `blueprintID`: BigUInteger
- `shareCode`: string
- `name`: string
- `blueprintType`: HousingBlueprintType
- `creationTime`: time_t
- `isAutoSave`: bool. True if this blueprint is an automatically saved backup, rather than a manually player-saved blueprint

---
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."
