>wowhelm_
~/forever/addon-api/function/C_HousingCustomizeMode.ApplyDyeToSelectedDecor

C_HousingCustomizeMode.ApplyDyeToSelectedDecor

documented function · HousingCustomizeModeUI
C_HousingCustomizeMode.ApplyDyeToSelectedDecor(dyeSlotID, dyeColorID?)

If a dyeable decor is selected, applies a specific dye color in a specific slot as a preview; See CommitDyesForSelectedDecor to actually save applied dye changes

──ARGUMENTS
dyeSlotID
number
dyeColorID
number, optional (If not provided, clears the dye from the specified dye slot, returning that part of the decor asset to its default color)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.