C_BarberShop.GetAvailableCustomizations

From Warcraft Wiki
Jump to navigation Jump to search

Needs summary.

categories = C_BarberShop.GetAvailableCustomizations()

Returns

categories
CharCustomizationCategory[]
Field Type Description
id number
orderIndex number
name string
icon string : textureAtlas
selectedIcon string : textureAtlas
undressModel boolean
subcategory boolean
cameraZoomLevel number
cameraDistanceOffset number
spellShapeshiftFormID number?
chrModelID number?
options CharCustomizationOption[]
hasNewChoices boolean
needsNativeFormCategory boolean
CharCustomizationOption
Field Type Description
id number
name string
orderIndex number
optionType Enum.ChrCustomizationOptionType
choices CharCustomizationChoice[]
currentChoiceIndex number?
hasNewChoices boolean
isSound boolean
Enum.ChrCustomizationOptionType
Value Field Description
0 SelectionPopout
1 Checkbox
2 Slider
CharCustomizationChoice
Field Type Description
id number
name string
ineligibleChoice boolean
isNew boolean Added in 9.1.5
swatchColor1 colorRGB?🔗
swatchColor2 colorRGB?🔗
soundKit number? Added in 10.1.0
isLocked boolean Added in 10.0.2
lockedText string? Added in 10.0.2

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Added.