C_HousingDecor. GetSelectedDecorInfo
functionguessedavailable in: camelot
Returns info for the placed decor instance that's currently selected, if there is one
function C_HousingDecor.GetSelectedDecorInfo(): HousingDecorInstanceInfo?Returns
info · HousingDecorInstanceInfo?
| field | type | description |
|---|---|---|
decorGUID | string | |
decorID | number | |
name | string | |
isLocked | boolean | True if this decor is already being edited by someone else |
canBeCustomized | boolean | True if this decor can be customized, namely by applying Dyes |
canBeRemoved | boolean | False if this decor must remain placed in the house and cannot be placed back into house chest storage |
isAllowedOutdoors | boolean | |
isAllowedIndoors | boolean | |
isRefundable | boolean | |
canAttachPet | boolean | |
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 |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (HousingDecorUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.