RSS

Воскресенье, 22.12.2024, 16:07
Главная » WoW API » API Виджеты » Область »

canChange = ScrollingMessageFrame:CanChangeProtectedState()

[ править ]
Returns whether protected properties of the region can be changed by non-secure scripts.
[клоны]
Returns whether protected properties of the region can be changed by non-secure scripts. Addon scripts are allowed to change protected properties for non-secure frames, or for secure frames while the player is not in combat.


Signature:
Code
canChange = Region:CanChangeProtectedState()

Returns:
  • canChange - 1 if addon scripts are currently allowed to change protected properties of the region (e.g. showing or hiding it, changing its position, or altering frame attributes); otherwise nil (value, 1nil)

Также смотрите: Область
Ссылки: http://wowprogramming.com/docs/widgets/Region/CanChangeProtectedState