RSS

Пятница, 29.03.2024, 04:12
Главная » WoW API » API Виджеты » Скриптовый объект »

hasScript = ScriptObject:HasScript("scriptType")

[ править ]
Returns whether the widget supports a script handler.
[клоны]
Returns whether the widget supports a script handler.


Signature:
Code
hasScript = ScriptObject:HasScript("scriptType")

Arguments:
  • scriptType - A script type; see scripts reference for details (string)

Returns:
  • hasScript - 1 if the widget can handle the script, otherwise nil (1nil)

Также смотрите: Скриптовый объект
Ссылки: http://wowprogramming.com/docs/widgets/ScriptObject/HasScript