RSS

Суббота, 21.12.2024, 18:44
Главная » WoW API » API Функции » Строка меню »

GetActionBarToggles

[ править ]
Returns the current visibility settings for the four secondary action bars.
[клоны]
Returns the current visibility settings for the four secondary action bars.

Signature:
Code
showBar1, showBar2, showBar3, showBar4 = GetActionBarToggles()

Returns:
  • showBar1 - 1 if the interface option is set to show the Bottom Left ActionBar, otherwise nil (1nil)
  • showBar2 - 1 if the interface option is set to show the Bottom Right ActionBar, otherwise nil (1nil)
  • showBar3 - 1 if the interface option is set to show the Right ActionBar, otherwise nil (1nil)
  • showBar4 - 1 if the interface option is set to show the Right ActionBar 2, otherwise nil (1nil)

Также смотрите: Строка меню , ActionBar functions
Ссылки: http://wowprogramming.com/docs/api/GetActionBarToggles