World of Warcraft Forever API · HousingDecorShared.md, for your AI
HousingDecorShared (types and enums)
3 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.
Tables
Enum.HousingDecorPlacementRestriction enumeration
TooFarAway | 1 |
|---|---|
OutsideRoomBounds | 2 |
OutsidePlotBounds | 4 |
ChildOutsideBounds | 8 |
InvalidTarget | 16 |
InvalidCollision | 32 |
InvalidLightOverlap | 64 |
HousingDecorDyeSlot structure
ID | number | |
|---|---|---|
dyeColorCategoryID | number | What category of dye colors this slot is for; This currently has no functional useage as slots accept colors of any category, but may be used for things like labeling in the future |
orderIndex | number | Display sort order |
channel | number | The specific shader channel that this slot affects when a dye color is applied |
dyeColorID | number may be nil | What dye color (if any) is currently applied to this slot |
dyeColorName | cstring may be nil | The name of the dye color (if any) that is currently applied to this slot |
HousingDecorInstanceInfo structure
Info for an instance of Housing Decor that has been/is being placed within a House or its exterior Plot
decorGUID | WOWGUID | |
|---|---|---|
decorID | number | |
name | cstring | |
isLocked | bool | True if this decor is already being edited by someone else |
canBeCustomized | bool | True if this decor can be customized, namely by applying Dyes |
canBeRemoved | bool | False if this decor must remain placed in the house and cannot be placed back into house chest storage |
isAllowedOutdoors | bool | |
isAllowedIndoors | bool | |
isRefundable | bool | |
canAttachPet | bool | |
dyeSlots | HousingDecorDyeSlot[] | Empty for decor that can't be dyed (see canBeCustomized) |
dataTagsByID | LuaValueVariant | Simple localized 'tag' strings that are primarily used for things like categorization and filtering |
size | HousingCatalogEntrySize |