v0.13.7

C_HousingCustomizeMode.GetSelectedDecorInfo

functionguessedavailable in: camelot

Returns info for the decor instance that's currently selected, if there is one

signaturewowlua
function C_HousingCustomizeMode.GetSelectedDecorInfo(): HousingDecorInstanceInfo?

Returns

info · HousingDecorInstanceInfo?

HousingDecorInstanceInfo
fieldtypedescription
decorGUIDstring
decorIDnumber
namestring
isLockedbooleanTrue if this decor is already being edited by someone else
canBeCustomizedbooleanTrue if this decor can be customized, namely by applying Dyes
canBeRemovedbooleanFalse if this decor must remain placed in the house and cannot be placed back into house chest storage
isAllowedOutdoorsboolean
isAllowedIndoorsboolean
isRefundableboolean
canAttachPetboolean
dyeSlotsHousingDecorDyeSlot[]Empty for decor that can't be dyed (see canBeCustomized)
dataTagsByIDLuaValueVariantSimple localized 'tag' strings that are primarily used for things like categorization and filtering
sizeHousingCatalogEntrySize

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) (HousingCustomizeModeUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.