WoW:API GetHairCustomization: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Returns the type of haircut customization available to the character. cType = GetHairCustomization(); == Returns == ; cType : String - Race-dependent, globalized nam…') |
m (Move page script moved page API GetHairCustomization to API GetHairCustomization without leaving a redirect) |
Latest revision as of 04:45, 15 August 2023
← WoW API < GetHairCustomization
Returns the type of haircut customization available to the character.
cType = GetHairCustomization();
Returns
- cType
- String - Race-dependent, globalized name of haircut customization available to the character:
- "NORMAL"
- "HORNS"
Details
- 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_STYLEandHAIR_cType_COLORglobal variables.
print("You may customize your...",
_G["HAIR_" .. GetFacialHairCustomization() .. "_STYLE"],
_G["HAIR_" .. GetFacialHairCustomization() .. "_COLOR"]);