RSS

Пятница, 19.04.2024, 13:22
Главная » WoW API » API Функции » Парикмахерская »

GetBarberShopStyleInfo

[ править ]
Returns information about the selected barber shop style option.
[клоны]
Returns information about the selected barber shop style option.

Signature:
Code
name, unused, cost, isCurrent = GetBarberShopStyleInfo(styleIndex)

Arguments:
  • styleIndex - Index of a style option (number)
      1 - Hair (or Horn) Style
    • 2 - Hair (or Horn) Color
    • 3 - Varies by race and gender: Facial Hair, Earrings, Features, Hair, Horns, Markings, Normal, Piercings, or Tusks

Returns:
  • name - Name of the style option, or nil if the style is not named (string)
  • unused - Currently unused (string)
  • cost - Price of applying the style option, not including changes to other style options (in copper) (number)
  • isCurrent - 1 if the style option matches the character's existing style; otherwise nil (1nil)

Также смотрите: Парикмахерская , Barbershop functions
Ссылки: http://wowprogramming.com/docs/api/GetBarberShopStyleInfo