← WoW API < GetHairCustomization
Returns the type of haircut customization available to the character.
cType = GetHairCustomization();
Returns[edit | edit source]
- cType
- String - Race-dependent, globalized name of haircut customization available to the character:
- "NORMAL"
- "HORNS"
Details[edit | edit source]
- Both hair and style of the character's haircut may be customized. You can get a localized description of the available customization types by looking up the value of
HAIR_cType_STYLE
andHAIR_cType_COLOR
global variables.
print("You may customize your...", _G["HAIR_" .. GetFacialHairCustomization() .. "_STYLE"], _G["HAIR_" .. GetFacialHairCustomization() .. "_COLOR"]);
Community content is available under CC-BY-SA unless otherwise noted.